[PATCH v3 01/12] common/cnxk: add comments to denote skipped entries
Aakash Sasidharan
asasidharan at marvell.com
Wed Jun 26 12:55:23 CEST 2024
From: Anoob Joseph <anoobj at marvell.com>
Add comments to denote unused table entries.
Signed-off-by: Anoob Joseph <anoobj at marvell.com>
---
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
More information about the dev
mailing list