patch 'common/cnxk: fix qsize in CPT iq enable' has been queued to stable release 23.11.5
Xueming Li
xuemingl at nvidia.com
Wed Jul 30 16:56:22 CEST 2025
Hi,
FYI, your patch has been queued to stable release 23.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/10/25. 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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=05e3fe5cd1c7ea284a5eba83a16b4789d9c99730
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From 05e3fe5cd1c7ea284a5eba83a16b4789d9c99730 Mon Sep 17 00:00:00 2001
From: Nithinsen Kaithakadan <nkaithakadan at marvell.com>
Date: Mon, 9 Jun 2025 16:10:37 +0530
Subject: [PATCH] common/cnxk: fix qsize in CPT iq enable
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 8c60a3ff2367e4c1189fac431ccb046107b91357 ]
Reconfigure qsize in each CPT iq enable call.
Fixes: 3bf878395591 ("common/cnxk: move instruction queue enable to ROC")
Cc: stable at dpdk.org
Signed-off-by: Nithinsen Kaithakadan <nkaithakadan at marvell.com>
---
drivers/common/cnxk/roc_cpt.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c
index 4e23d8c135..a3925dcedf 100644
--- a/drivers/common/cnxk/roc_cpt.c
+++ b/drivers/common/cnxk/roc_cpt.c
@@ -1102,9 +1102,14 @@ roc_cpt_iq_disable(struct roc_cpt_lf *lf)
void
roc_cpt_iq_enable(struct roc_cpt_lf *lf)
{
+ union cpt_lf_q_size lf_q_size;
union cpt_lf_inprog lf_inprog;
union cpt_lf_ctl lf_ctl;
+ /* Reconfigure the QSIZE register to ensure NQ_PTR and DQ_PTR are reset */
+ lf_q_size.u = plt_read64(lf->rbase + CPT_LF_Q_SIZE);
+ plt_write64(lf_q_size.u, lf->rbase + CPT_LF_Q_SIZE);
+
/* Disable command queue */
roc_cpt_iq_disable(lf);
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-07-30 22:50:03.947869716 +0800
+++ 0013-common-cnxk-fix-qsize-in-CPT-iq-enable.patch 2025-07-30 22:50:03.012754407 +0800
@@ -1 +1 @@
-From 8c60a3ff2367e4c1189fac431ccb046107b91357 Mon Sep 17 00:00:00 2001
+From 05e3fe5cd1c7ea284a5eba83a16b4789d9c99730 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 8c60a3ff2367e4c1189fac431ccb046107b91357 ]
@@ -17 +20 @@
-index b4bf0ccd64..d1ba2b8858 100644
+index 4e23d8c135..a3925dcedf 100644
@@ -20 +23 @@
-@@ -1125,9 +1125,14 @@ roc_cpt_iq_disable(struct roc_cpt_lf *lf)
+@@ -1102,9 +1102,14 @@ roc_cpt_iq_disable(struct roc_cpt_lf *lf)
More information about the stable
mailing list