From: Jerin Jacob <jerin.jacob@caviumnetworks.com>
To: <dev@dpdk.org>
Cc: changchun.ouyang@intel.com
Subject: [dpdk-dev] [RFC ][PATCH] Introduce rte_smp_mb(), rte_smp_wmb() and rte_smp_rmb()
Date: Wed, 4 Nov 2015 18:58:47 +0530 [thread overview]
Message-ID: <1446643728-15701-1-git-send-email-jerin.jacob@caviumnetworks.com> (raw)
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
next reply other threads:[~2015-11-04 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-04 13:28 Jerin Jacob [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1446643728-15701-1-git-send-email-jerin.jacob@caviumnetworks.com \
--to=jerin.jacob@caviumnetworks.com \
--cc=changchun.ouyang@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).