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 3C517454A7; Mon, 24 Jun 2024 08:31:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14C2540EE3; Mon, 24 Jun 2024 08:31:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 4B8CF4027B for ; Mon, 24 Jun 2024 08:24:10 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45NMe8IS025560 for ; Sun, 23 Jun 2024 23:24:09 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pfpt0220; bh=4 S4ksnydXUEsJuuAdvroPu1vA+FAxc9EZ2KxLR9G0eU=; b=VF3A2m3SNrmDBjURy +Lz8iWaCIxp53c+ckn0Wml4L3qfw1pJZK2X3qSbPnPNfoPBrHceLU4vxraIAqq74 6oO/ZxMsyvBIlFbulCprzEGyJkrgRE+bUDd88egtCuIscgOcmVjbJVRDq2DH8hij oJFTwgO7Ra+K1wU2PYlbWzVmDx2SDwIeNdr42VBHD84lURspSoXXO+F6AU4ZNNpD 9ia1Y8FnfufOmME4MHEzzAbhFXvep/VBFUL5LK+n4szORP9Zi7pMFf21/LEgTujF Nd5hV3jVr1MnFqXO8YP6nHsNwso05LycaK/8Ci5f5U/CqSE8CVrqlCJq8HkTC9/1 pAWmw== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ywx4gbp6w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 23 Jun 2024 23:24:09 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 23 Jun 2024 23:24:08 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Sun, 23 Jun 2024 23:24:08 -0700 Received: from localhost.localdomain (unknown [10.28.36.177]) by maili.marvell.com (Postfix) with ESMTP id 05A853F7040; Sun, 23 Jun 2024 23:24:04 -0700 (PDT) From: Aakash Sasidharan To: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra CC: , , , , , Subject: [PATCH v2 01/12] common/cnxk: add comments to denote skipped entries Date: Mon, 24 Jun 2024 11:53:50 +0530 Message-ID: <20240624062401.4143606-2-asasidharan@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240624062401.4143606-1-asasidharan@marvell.com> References: <20240620145848.3461844-1-asasidharan@marvell.com> <20240624062401.4143606-1-asasidharan@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: vNIAcSMriJEQBwwVWoNo4rFFHSrDu0_b X-Proofpoint-ORIG-GUID: vNIAcSMriJEQBwwVWoNo4rFFHSrDu0_b X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-24_05,2024-06-21_01,2024-05-17_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 comments to denote unused table entries. Signed-off-by: Anoob Joseph --- drivers/common/cnxk/roc_ae.c | 6 +++--- drivers/common/cnxk/roc_ae_fpm_tables.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/common/cnxk/roc_ae.c b/drivers/common/cnxk/roc_ae.c index e6a013d7c4..7ef0efe2b3 100644 --- a/drivers/common/cnxk/roc_ae.c +++ b/drivers/common/cnxk/roc_ae.c @@ -151,9 +151,9 @@ const struct roc_ae_ec_group ae_ec_grp[ROC_AE_EC_ID_PMAX] = { 0x3F, 0x00}, .length = 66}, }, - {}, - {}, - {}, + { /* ROC_AE_EC_ID_P160 */ }, + { /* ROC_AE_EC_ID_P320 */ }, + { /* ROC_AE_EC_ID_P512 */ }, { .prime = {.data = {0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, diff --git a/drivers/common/cnxk/roc_ae_fpm_tables.c b/drivers/common/cnxk/roc_ae_fpm_tables.c index ead3128e7f..942657b56a 100644 --- a/drivers/common/cnxk/roc_ae_fpm_tables.c +++ b/drivers/common/cnxk/roc_ae_fpm_tables.c @@ -1261,9 +1261,9 @@ const struct ae_fpm_entry ae_fpm_tbl_scalar[ROC_AE_EC_ID_PMAX] = { .data = ae_fpm_tbl_p521, .len = sizeof(ae_fpm_tbl_p521) }, - {}, - {}, - {}, + { /* ROC_AE_EC_ID_P160 */ }, + { /* ROC_AE_EC_ID_P320 */ }, + { /* ROC_AE_EC_ID_P512 */ }, { .data = ae_fpm_tbl_p256_sm2, .len = sizeof(ae_fpm_tbl_p256_sm2) -- 2.25.1