From: Yongseok Koh Date: Thu, 25 Jan 2018 21:02:45 +0000 (-0800) Subject: eal/ppc64: define coherent I/O memory barriers X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cbb3c416289916579f901b96eb4ddde3a0aacc80;p=dpdk.git eal/ppc64: define coherent I/O memory barriers Signed-off-by: Yongseok Koh --- diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h index 150810cdb3..f38618f903 100644 --- a/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_atomic.h @@ -93,6 +93,10 @@ extern "C" { #define rte_io_rmb() rte_rmb() +#define rte_cio_wmb() rte_wmb() + +#define rte_cio_rmb() rte_rmb() + /*------------------------- 16 bit atomic operations -------------------------*/ /* To be compatible with Power7, use GCC built-in functions for 16 bit * operations */