patch 'bus/dpaa: accept QDMA device name in devargs' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:03:55 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.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 12/08/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/60166ab60048eaf259b5677e424bd521757924b5
Thanks.
Kevin
---
>From 60166ab60048eaf259b5677e424bd521757924b5 Mon Sep 17 00:00:00 2001
From: Hemant Agrawal <hemant.agrawal at nxp.com>
Date: Fri, 16 Oct 2026 16:49:43 +0530
Subject: [PATCH] bus/dpaa: accept QDMA device name in devargs
[ upstream commit 09f709d0946b4a441a42dfb2d9cd0b9008523433 ]
rte_dpaa_bus_parse() recognises fmX-macY, fmX-ohY, fmX-onicY and
dpaa_sec-N, but not the QDMA devices that dpaa_create_device_list()
creates as "dpaa_qdma-%d". A QDMA name therefore falls through to the
fm%u-mac%u sscanf(), which does not match, so the function returns
-EINVAL.
That makes the documented usage
-a dpaa_bus:dpaa_qdma-1,dpaa_dma_err_check=1
fail in rte_devargs_parse() with "failed to parse device" and abort EAL
initialization, so no dma/dpaa devarg can be passed at all.
Parse dpaa_qdma-N as well, bounding the index by the number of QDMA
devices the bus creates.
Fixes: a63c6426fdfd ("dma/dpaa: add option for error checks")
Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
drivers/bus/dpaa/dpaa_bus.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/bus/dpaa/dpaa_bus.c b/drivers/bus/dpaa/dpaa_bus.c
index 5aed733009..7bb6e709e7 100644
--- a/drivers/bus/dpaa/dpaa_bus.c
+++ b/drivers/bus/dpaa/dpaa_bus.c
@@ -539,4 +539,9 @@ rte_dpaa_bus_parse(const char *name, void *out)
return -EINVAL;
max_name_len = sizeof("dpaa_sec-.") - 1;
+ } else if (strncmp("dpaa_qdma", &name[delta], 9) == 0) {
+ if (sscanf(&name[delta], "dpaa_qdma-%u", &i) != 1 ||
+ i < 1 || i > RTE_DPAA_QDMA_DEVICES)
+ return -EINVAL;
+ max_name_len = sizeof("dpaa_qdma-.") - 1;
} else if (strncmp("oh", &name[dev_delta], 2) == 0) {
if (sscanf(&name[delta], "fm%u-oh%u", &i, &j) != 2 ||
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:47.957564261 +0000
+++ 0309-bus-dpaa-accept-QDMA-device-name-in-devargs.patch 2026-12-03 12:52:39.243851167 +0000
@@ -1 +1 @@
-From 09f709d0946b4a441a42dfb2d9cd0b9008523433 Mon Sep 17 00:00:00 2001
+From 60166ab60048eaf259b5677e424bd521757924b5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 09f709d0946b4a441a42dfb2d9cd0b9008523433 ]
+
@@ -23 +24,0 @@
-Cc: stable at dpdk.org
@@ -31 +32 @@
-index 6249927f8e..49f8242ac9 100644
+index 5aed733009..7bb6e709e7 100644
@@ -34 +35 @@
-@@ -491,4 +491,9 @@ rte_dpaa_bus_parse(const char *name, void *out)
+@@ -539,4 +539,9 @@ rte_dpaa_bus_parse(const char *name, void *out)
More information about the stable
mailing list