patch 'bus/dpaa: fix FQ query failure handling' has been queued to stable release 25.11.3
Kevin Traynor
ktraynor at redhat.com
Thu Jul 30 11:16:51 CEST 2026
Hi,
FYI, your patch has been queued to stable release 25.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 08/04/26. 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/68484adb073ceaa48151479ceceefaf8687befda
Thanks.
Kevin
---
>From 68484adb073ceaa48151479ceceefaf8687befda Mon Sep 17 00:00:00 2001
From: Hemant Agrawal <hemant.agrawal at nxp.com>
Date: Mon, 13 Jul 2026 15:47:32 +0530
Subject: [PATCH] bus/dpaa: fix FQ query failure handling
[ upstream commit 843047128c0ae86c06ac511a92896bda28f7d93b ]
Optimize error handling in qman_query() to avoid redundant
checks and properly propagate error codes.
Fixes: 06268e2cb175 ("bus/dpaa: query queue frame count support")
Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
drivers/bus/dpaa/base/qbman/qman.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/bus/dpaa/base/qbman/qman.c b/drivers/bus/dpaa/base/qbman/qman.c
index 50c4c0b248..11d4582888 100644
--- a/drivers/bus/dpaa/base/qbman/qman.c
+++ b/drivers/bus/dpaa/base/qbman/qman.c
@@ -1956,9 +1956,9 @@ int qman_query_fq(struct qman_fq *fq, struct qm_fqd *fqd)
DPAA_ASSERT((mcr->verb & QM_MCR_VERB_MASK) == QM_MCR_VERB_QUERYFQ);
res = mcr->result;
- if (res == QM_MCR_RESULT_OK)
- *fqd = mcr->queryfq.fqd;
- hw_fqd_to_cpu(fqd);
if (res != QM_MCR_RESULT_OK)
return -EIO;
+
+ *fqd = mcr->queryfq.fqd;
+ hw_fqd_to_cpu(fqd);
return 0;
}
--
2.55.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-07-30 10:16:03.538842431 +0100
+++ 0072-bus-dpaa-fix-FQ-query-failure-handling.patch 2026-07-30 10:16:01.503440257 +0100
@@ -1 +1 @@
-From 843047128c0ae86c06ac511a92896bda28f7d93b Mon Sep 17 00:00:00 2001
+From 68484adb073ceaa48151479ceceefaf8687befda Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 843047128c0ae86c06ac511a92896bda28f7d93b ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 2da1b3e3f7..d289df2d33 100644
+index 50c4c0b248..11d4582888 100644
More information about the stable
mailing list