Re: [dpdk-dev] [PATCH v1 2/4] net/virtio: replace smp barrier with IO barrier

2021-01-07 Thread Maxime Coquelin
On 12/21/20 3:23 PM, Joyce Kong wrote: > Replace rte_smp_wmb/rmb with rte_io_wmb/rmb as they are the same on x86 > and ppc platforms. Then, for function virtqueue_fetch_flags_packed/ > virtqueue_store_flags_packed, the if and else branch are still identical > for the platforms except Arm. > > S

[dpdk-dev] [PATCH v1 2/4] net/virtio: replace smp barrier with IO barrier

2020-12-21 Thread Joyce Kong
Replace rte_smp_wmb/rmb with rte_io_wmb/rmb as they are the same on x86 and ppc platforms. Then, for function virtqueue_fetch_flags_packed/ virtqueue_store_flags_packed, the if and else branch are still identical for the platforms except Arm. Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang -