eal/x86: define coherent I/O memory barriers

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
This commit is contained in:
Yongseok Koh 2018-01-25 13:02:44 -08:00 committed by Thomas Monjalon
parent cd36cc49e5
commit 0079e4fb69

View File

@ -39,6 +39,10 @@ extern "C" {
#define rte_io_rmb() rte_compiler_barrier() #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 -------------------------*/ /*------------------------- 16 bit atomic operations -------------------------*/
#ifndef RTE_FORCE_INTRINSICS #ifndef RTE_FORCE_INTRINSICS