Re: [dpdk-dev] [PATCH v1 1/4] net/virtio: remove unnecessary rmb barrier

2021-01-07 Thread Maxime Coquelin
On 12/21/20 3:23 PM, Joyce Kong wrote: > As desc_is_used has a load-acquire or rte_io_rmb inside > and wait for used desc in virtqueue, it is ok to remove > virtio_rmb behind it. > > Signed-off-by: Joyce Kong > Reviewed-by: Ruifeng Wang > --- > drivers/net/virtio/virtio_ethdev.c | 6 +++--- >

[dpdk-dev] [PATCH v1 1/4] net/virtio: remove unnecessary rmb barrier

2020-12-21 Thread Joyce Kong
As desc_is_used has a load-acquire or rte_io_rmb inside and wait for used desc in virtqueue, it is ok to remove virtio_rmb behind it. Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang --- drivers/net/virtio/virtio_ethdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --gi