patch 'common/cnxk: fix qsize in CPT iq enable' has been queued to stable release 22.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Jun 30 14:25:41 CEST 2025


Hi,

FYI, your patch has been queued to stable release 22.11.9

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/02/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/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/6a94f2661af39f22528d11f43da61c86e63b44ee

Thanks.

Luca Boccassi

---
>From 6a94f2661af39f22528d11f43da61c86e63b44ee 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 c9adfe6a02..3f73b7d7fb 100644
--- a/drivers/common/cnxk/roc_cpt.c
+++ b/drivers/common/cnxk/roc_cpt.c
@@ -966,9 +966,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.47.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-06-30 13:21:22.186958713 +0100
+++ 0011-common-cnxk-fix-qsize-in-CPT-iq-enable.patch	2025-06-30 13:21:21.747057360 +0100
@@ -1 +1 @@
-From 8c60a3ff2367e4c1189fac431ccb046107b91357 Mon Sep 17 00:00:00 2001
+From 6a94f2661af39f22528d11f43da61c86e63b44ee 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 c9adfe6a02..3f73b7d7fb 100644
@@ -20 +21 @@
-@@ -1125,9 +1125,14 @@ roc_cpt_iq_disable(struct roc_cpt_lf *lf)
+@@ -966,9 +966,14 @@ roc_cpt_iq_disable(struct roc_cpt_lf *lf)


More information about the stable mailing list