From: Yongseok Koh Date: Thu, 25 Jan 2018 21:02:47 +0000 (-0800) Subject: eal/arm64: define coherent I/O memory barriers X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=52bd60a5cf0b05793f66cd507df0388402499f2a;p=dpdk.git eal/arm64: define coherent I/O memory barriers Signed-off-by: Yongseok Koh Acked-by: Thomas Speier Acked-by: Jianbo Liu --- diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h index b6bbd0b323..ee0d0d15ae 100644 --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_64.h @@ -36,6 +36,10 @@ extern "C" { #define rte_io_rmb() rte_rmb() +#define rte_cio_wmb() dmb(oshst) + +#define rte_cio_rmb() dmb(oshld) + #ifdef __cplusplus } #endif