]> git.droids-corp.org - dpdk.git/commitdiff
eal/x86: define coherent I/O memory barriers
authorYongseok Koh <yskoh@mellanox.com>
Thu, 25 Jan 2018 21:02:44 +0000 (13:02 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 28 Jan 2018 07:30:22 +0000 (08:30 +0100)
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
lib/librte_eal/common/include/arch/x86/rte_atomic.h

index 36cfabc38f09171be11a0d4ce8d2ad826494d3fa..8fb796c635be064ee55e190d2ae11dd576875d95 100644 (file)
@@ -39,6 +39,10 @@ extern "C" {
 
 #define rte_io_rmb() rte_compiler_barrier()
 
+#define rte_cio_wmb() rte_compiler_barrier()
+
+#define rte_cio_rmb() rte_compiler_barrier()
+
 /*------------------------- 16 bit atomic operations -------------------------*/
 
 #ifndef RTE_FORCE_INTRINSICS