patch 'common/cnxk: fix printing disabled MKEX registers' has been queued to stable release 21.11.3
Kevin Traynor
ktraynor at redhat.com
Tue Oct 25 17:06:20 CEST 2022
Hi,
FYI, your patch has been queued to stable release 21.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/01/22. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/8b3ce30416264eccc8a23f05a486164239a8c972
Thanks.
Kevin
---
>From 8b3ce30416264eccc8a23f05a486164239a8c972 Mon Sep 17 00:00:00 2001
From: Satheesh Paul <psatheesh at marvell.com>
Date: Mon, 29 Aug 2022 11:54:40 +0530
Subject: [PATCH] common/cnxk: fix printing disabled MKEX registers
[ upstream commit af45c18e909e14127c67421bc3cf7e7acfa8cc89 ]
This patch skips printing disabled MKEX registers when
dumping hardware flow MCAM entry data.
Fixes: 9869c39918 ("common/cnxk: support flow entry dump")
Signed-off-by: Satheesh Paul <psatheesh at marvell.com>
Reviewed-by: Kiran Kumar K <kirankumark at marvell.com>
---
drivers/common/cnxk/roc_npc_mcam_dump.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk/roc_npc_mcam_dump.c b/drivers/common/cnxk/roc_npc_mcam_dump.c
index 278056591e..51305b4c2c 100644
--- a/drivers/common/cnxk/roc_npc_mcam_dump.c
+++ b/drivers/common/cnxk/roc_npc_mcam_dump.c
@@ -309,6 +309,8 @@ npc_flow_print_item(FILE *file, struct npc *npc, struct npc_xtract_info *xinfo,
lflags_info = npc->prx_fxcfg[intf][ld][i].xtract;
- npc_flow_print_xtractinfo(file, lflags_info, flow, lid,
- lt);
+ if (!lflags_info->enable)
+ continue;
+
+ npc_flow_print_xtractinfo(file, lflags_info, flow, lid, lt);
}
}
--
2.37.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-10-25 14:18:59.123416256 +0100
+++ 0025-common-cnxk-fix-printing-disabled-MKEX-registers.patch 2022-10-25 14:18:58.379797976 +0100
@@ -1 +1 @@
-From af45c18e909e14127c67421bc3cf7e7acfa8cc89 Mon Sep 17 00:00:00 2001
+From 8b3ce30416264eccc8a23f05a486164239a8c972 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit af45c18e909e14127c67421bc3cf7e7acfa8cc89 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -15,2 +16,2 @@
- drivers/common/cnxk/roc_npc_mcam_dump.c | 8 +++++---
- 1 file changed, 5 insertions(+), 3 deletions(-)
+ drivers/common/cnxk/roc_npc_mcam_dump.c | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
@@ -19 +20 @@
-index 2aaf3ccd0b..16997bd38a 100644
+index 278056591e..51305b4c2c 100644
@@ -22 +23 @@
-@@ -311,6 +311,8 @@ npc_flow_print_item(FILE *file, struct npc *npc, struct npc_xtract_info *xinfo,
+@@ -309,6 +309,8 @@ npc_flow_print_item(FILE *file, struct npc *npc, struct npc_xtract_info *xinfo,
@@ -32,7 +32,0 @@
- }
-@@ -621,5 +623,5 @@ roc_npc_flow_mcam_dump(FILE *file, struct roc_npc *roc_npc,
- rc = mbox_process_msg(npc->mbox, (void *)&mcam_read_rsp);
- if (rc) {
-- plt_err("Failed to fetch MCAM entry");
-+ plt_err("Failed to fetch MCAM entry:%d", flow->mcam_id);
- return;
More information about the stable
mailing list