Its a RFC patch and I am not sure about the ordering behavior in tile and ppc_64 architecture so kept as rte_compiler_barrier() as existing code.
If it need changes in tile and ppc_64 then let me know, I will send the updated patch. Jerin Jacob (1): Introduce rte_smp_*mb() for memory barriers to use between lcores drivers/net/virtio/virtqueue.h | 8 +++---- drivers/net/xenvirt/rte_eth_xenvirt.c | 4 ++-- drivers/net/xenvirt/virtqueue.h | 2 +- .../common/include/arch/ppc_64/rte_atomic.h | 6 +++++ .../common/include/arch/tile/rte_atomic.h | 6 +++++ .../common/include/arch/x86/rte_atomic.h | 6 +++++ lib/librte_eal/common/include/generic/rte_atomic.h | 27 ++++++++++++++++++++++ lib/librte_ring/rte_ring.h | 8 +++---- 8 files changed, 55 insertions(+), 12 deletions(-) -- 2.1.0