DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [RFC ][PATCH] Introduce rte_smp_mb(), rte_smp_wmb() and rte_smp_rmb()
@ 2015-11-04 13:28 Jerin Jacob
  2015-11-04 13:28 ` [dpdk-dev] [PATCH] Introduce rte_smp_*mb() for memory barriers to use between lcores Jerin Jacob
  0 siblings, 1 reply; 3+ messages in thread
From: Jerin Jacob @ 2015-11-04 13:28 UTC (permalink / raw)
  To: dev; +Cc: changchun.ouyang


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-04 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04 13:28 [dpdk-dev] [RFC ][PATCH] Introduce rte_smp_mb(), rte_smp_wmb() and rte_smp_rmb() Jerin Jacob
2015-11-04 13:28 ` [dpdk-dev] [PATCH] Introduce rte_smp_*mb() for memory barriers to use between lcores Jerin Jacob
2015-11-04 14:30   ` Ananyev, Konstantin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).