From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 73394A04A2; Mon, 31 Jan 2022 12:39:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F3EA41170; Mon, 31 Jan 2022 12:39:23 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 9BBE94116E for ; Mon, 31 Jan 2022 12:39:21 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20VBB477003414 for ; Mon, 31 Jan 2022 03:39:20 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=IEuzDcsgxSUK2Hl6cOuFpdy6uPT2mIs+3UFTCqcvaUs=; b=Eiioi0cGDuoa5kouBU9gIfNQI1S2YcSVFXL0Wc+z1v8ySV98WYZWQ5PQPn1CKu4wZQzn qO2Daq42DOKqy6C5Z5K/I9wIvjIcDEub75/d+u6rVrMRjdQ4QqSJgmLCNhn0vyT2X3Bf BLx8AMOOsnx+N6+DSC/uL8+OacKJQulYXxqu361PednchCN/eBEQpvcabx84pdJBevuB dxZdWDWDKvb9/A5A/e21avzqsY+LzCdYczpUQG1Ej8P/w9h0uJ15UZk4uyP4Mr9COwqC ytdn5a0yn5ahjULdNxnRcmTQelwMYKLQsyfNpHcZsUbYaJZMoWtMZ5O1KXKQlX8nt+rV eg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3dx1pa1n3x-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 31 Jan 2022 03:39:20 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 31 Jan 2022 03:39:19 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 31 Jan 2022 03:39:19 -0800 Received: from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 4FB6B5B6945; Mon, 31 Jan 2022 03:39:17 -0800 (PST) From: Tejasree Kondoj To: Akhil Goyal CC: Anoob Joseph , Ankur Dwivedi , Archana Muniganti , Tejasree Kondoj , Subject: [PATCH 3/5] common/cnxk: add ROC cache line size constant Date: Mon, 31 Jan 2022 18:00:27 +0530 Message-ID: <20220131123029.4024-4-ktejasree@marvell.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220131123029.4024-1-ktejasree@marvell.com> References: <20220131123029.4024-1-ktejasree@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: sT04ctoInYuZ-iBkfzZbBiV_zfaC51pD X-Proofpoint-GUID: sT04ctoInYuZ-iBkfzZbBiV_zfaC51pD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-31_04,2022-01-28_01,2021-12-02_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Anoob Joseph Add ROC cache line size constant. Signed-off-by: Anoob Joseph --- 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