]> git.droids-corp.org - dpdk.git/commitdiff
common/cnxk: add ROC cache line size constant
authorAnoob Joseph <anoobj@marvell.com>
Mon, 31 Jan 2022 12:30:27 +0000 (18:00 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Sat, 12 Feb 2022 09:26:38 +0000 (10:26 +0100)
Add ROC cache line size constant.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/roc_constants.h

index 5f788236427f581d09aa060c634ff18d07e740c9..38e2087a265fabbbf1cbb80b167329c1f1920010 100644 (file)
@@ -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, .) */