Thread (49 messages) 49 messages, 5 authors, 2018-01-28

Re: [PATCH v2 5/8] eal/arm64: define DMA memory barriers

From: Jianbo Liu <hidden>
Date: 2018-01-16 02:51:43

The 01/15/2018 17:10, Yongseok Koh wrote:
Cc: Thomas Speier <redacted>

Signed-off-by: Yongseok Koh <redacted>
Acked-by: Thomas Speier <redacted>
Acked-by: Jianbo Liu <redacted>
quoted hunk ↗ jump to hunk
---
 lib/librte_eal/common/include/arch/arm/rte_atomic_64.h | 4 ++++
 1 file changed, 4 insertions(+)
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 b6bbd0b32..202abda79 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_dma_wmb() dmb(oshst)
+
+#define rte_dma_rmb() dmb(oshld)
+
 #ifdef __cplusplus
 }
 #endif
--
2.11.0
--
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help