[PATCH 3/5] common/cnxk: add ROC cache line size constant
Tejasree Kondoj
ktejasree at marvell.com
Mon Jan 31 13:30:27 CET 2022
From: Anoob Joseph <anoobj at marvell.com>
Add ROC cache line size constant.
Signed-off-by: Anoob Joseph <anoobj at marvell.com>
---
drivers/common/cnxk/roc_constants.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk/roc_constants.h b/drivers/common/cnxk/roc_constants.h
index 5f78823642..38e2087a26 100644
--- a/drivers/common/cnxk/roc_constants.h
+++ b/drivers/common/cnxk/roc_constants.h
@@ -4,8 +4,9 @@
#ifndef _ROC_CONSTANTS_H_
#define _ROC_CONSTANTS_H_
-/* Alignment */
-#define ROC_ALIGN 128
+/* ROC Cache */
+#define ROC_CACHE_LINE_SZ 128
+#define ROC_ALIGN ROC_CACHE_LINE_SZ
/* LMTST constants */
/* [CN10K, .) */
--
2.27.0
More information about the dev
mailing list