summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerin Jacob <jerin.jacob@caviumnetworks.com>2017-01-18 06:51:22 +0530
committerThomas Monjalon <thomas.monjalon@6wind.com>2017-01-18 16:57:11 +0100
commit2cf953cfd8cf4edba6f8417b70fcb578493fb3e8 (patch)
tree71ca8c6fb03ddc98c305cdcb8a6e1edb93c626d4
parent67ce81bd3dff58731888733f20c49c9e29cce326 (diff)
downloaddpdk-2cf953cfd8cf4edba6f8417b70fcb578493fb3e8.zip
dpdk-2cf953cfd8cf4edba6f8417b70fcb578493fb3e8.tar.gz
dpdk-2cf953cfd8cf4edba6f8417b70fcb578493fb3e8.tar.xz
eal/arm64: define I/O device memory barriers
CC: Jianbo Liu <jianbo.liu@linaro.org> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
-rw-r--r--lib/librte_eal/common/include/arch/arm/rte_atomic_64.h6
1 files changed, 6 insertions, 0 deletions
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 78ebea2..ef0efc7 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
@@ -88,6 +88,12 @@ static inline void rte_rmb(void)
#define rte_smp_rmb() dmb(ishld)
+#define rte_io_mb() rte_mb()
+
+#define rte_io_wmb() rte_wmb()
+
+#define rte_io_rmb() rte_rmb()
+
#ifdef __cplusplus
}
#endif