From: Anoob Joseph Date: Mon, 31 Jan 2022 12:30:27 +0000 (+0530) Subject: common/cnxk: add ROC cache line size constant X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1a8cb9199b4e9165e8f67d3aee5504be5952fea5;p=dpdk.git common/cnxk: add ROC cache line size constant Add ROC cache line size constant. Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal --- 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, .) */