From 1a8cb9199b4e9165e8f67d3aee5504be5952fea5 Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Mon, 31 Jan 2022 18:00:27 +0530 Subject: [PATCH] common/cnxk: add ROC cache line size constant Add ROC cache line size constant. Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal --- 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.39.5