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 E2A1745500; Wed, 26 Jun 2024 13:00:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A83B842EE0; Wed, 26 Jun 2024 13:00:21 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 9226740B95 for ; Wed, 26 Jun 2024 12:55:43 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45Q9jdjo020506 for ; Wed, 26 Jun 2024 03:55:42 -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=Tjp88QSKU1PGlVkLG zvKadO4864hOYxbU77NDE9ysWOzitd3gVLtjEfb3rkjcJ80QsrBS5bsPEOFpcvy8 glx4dA3HcCIAjrbxe6zCax3mhufJSnpDs4jiYhDEeojc2qpBz8D5IdYJ9vQLhQEW 7SbfC0LGcrtgkCLS9VK0/wOrRRjltBe2o6PDyhDLjp0HbpjlTfZsriwVI/kA9G4E 9fLjZSgKpdn4eMdkUZ0zxqEL23H3L+Hm8X8Wi2LxwiLE0R446yKwrpo1jnsSWIQi uuflHLZ6BZFBFir49sfBCjEmDMZqGPEVbxxgwjXSCV8/v3LllMK1RkaJnU4weguD pvwNA== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 400ftngbvv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Jun 2024 03:55:42 -0700 (PDT) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 26 Jun 2024 03:55:41 -0700 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Wed, 26 Jun 2024 03:55:41 -0700 Received: from localhost.localdomain (unknown [10.28.36.177]) by maili.marvell.com (Postfix) with ESMTP id CBBC33F7079; Wed, 26 Jun 2024 03:55:37 -0700 (PDT) From: Aakash Sasidharan To: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra CC: , , , , , Subject: [PATCH v3 01/12] common/cnxk: add comments to denote skipped entries Date: Wed, 26 Jun 2024 16:25:23 +0530 Message-ID: <20240626105534.1386528-2-asasidharan@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240626105534.1386528-1-asasidharan@marvell.com> References: <20240624062401.4143606-1-asasidharan@marvell.com> <20240626105534.1386528-1-asasidharan@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: uu6xcIHnPWgAYaTg8Duk0UA9UnN6zJLd X-Proofpoint-GUID: uu6xcIHnPWgAYaTg8Duk0UA9UnN6zJLd 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-26_05,2024-06-25_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