patch 'common/cnxk: fix qsize in CPT iq enable' has been queued to stable release 24.11.3
Kevin Traynor
ktraynor at redhat.com
Fri Jul 18 21:30:52 CEST 2025
Hi,
FYI, your patch has been queued to stable release 24.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 07/23/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://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/437fb19508efd7a1607fb3c8cf104b1b9cede04b
Thanks.
Kevin
---
>From 437fb19508efd7a1607fb3c8cf104b1b9cede04b 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
[ upstream commit 8c60a3ff2367e4c1189fac431ccb046107b91357 ]
Reconfigure qsize in each CPT iq enable call.
Fixes: 3bf878395591 ("common/cnxk: move instruction queue enable to ROC")
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 90433e2390..d0ea254e07 100644
--- a/drivers/common/cnxk/roc_cpt.c
+++ b/drivers/common/cnxk/roc_cpt.c
@@ -1122,7 +1122,12 @@ 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.50.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-07-18 20:29:15.126705105 +0100
+++ 0118-common-cnxk-fix-qsize-in-CPT-iq-enable.patch 2025-07-18 20:29:11.057907720 +0100
@@ -1 +1 @@
-From 8c60a3ff2367e4c1189fac431ccb046107b91357 Mon Sep 17 00:00:00 2001
+From 437fb19508efd7a1607fb3c8cf104b1b9cede04b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 8c60a3ff2367e4c1189fac431ccb046107b91357 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -17 +18 @@
-index b4bf0ccd64..d1ba2b8858 100644
+index 90433e2390..d0ea254e07 100644
@@ -20 +21 @@
-@@ -1126,7 +1126,12 @@ void
+@@ -1122,7 +1122,12 @@ void
More information about the stable
mailing list