Re: [dpdk-dev] [PATCH v1 4/4] net/virtio: replace full barrier with thread fence

2021-01-07 Thread Maxime Coquelin
On 12/21/20 3:23 PM, Joyce Kong wrote: > Replace the smp barriers with atomic thread fence for synchronization > between different threads, if there are no load/store operations. > > Signed-off-by: Joyce Kong > Reviewed-by: Ruifeng Wang > --- > drivers/net/virtio/virtqueue.h | 8 >

[dpdk-dev] [PATCH v1 4/4] net/virtio: replace full barrier with thread fence

2020-12-21 Thread Joyce Kong
Replace the smp barriers with atomic thread fence for synchronization between different threads, if there are no load/store operations. Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang --- drivers/net/virtio/virtqueue.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --gi