patch 'net/dpaa2: fix Rx queue count for primary process' has been queued to stable release 25.11.3
Kevin Traynor
ktraynor at redhat.com
Thu Jul 30 11:16:39 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/d1085e0e9f98fc09661efdf4210665cc8a07c8ac
Thanks.
Kevin
---
>From d1085e0e9f98fc09661efdf4210665cc8a07c8ac Mon Sep 17 00:00:00 2001
From: Maxime Leroy <maxime at leroys.fr>
Date: Fri, 10 Jul 2026 23:09:15 +0200
Subject: [PATCH] net/dpaa2: fix Rx queue count for primary process
[ upstream commit 0800fa6e31e28e734815197360f3533e70d2f000 ]
The rx_queue_count callback was only assigned on the secondary process
path of dpaa2_dev_init(), leaving eth_dev->rx_queue_count NULL for the
primary process. The fast-path rte_eth_rx_queue_count() performs an
unguarded indirect call in non-debug builds, so invoking it on a
primary-process dpaa2 port dereferences a NULL function pointer and
crashes.
Assign the callback on the primary-process path as well, so both the
primary and secondary paths set it.
Fixes: cbfc6111b557 ("ethdev: move inline device operations")
Signed-off-by: Maxime Leroy <maxime at leroys.fr>
---
drivers/net/dpaa2/dpaa2_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index a8374e717b..e4c72adf6b 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net/dpaa2/dpaa2_ethdev.c
@@ -3067,4 +3067,5 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev)
eth_dev->dev_ops = &dpaa2_ethdev_ops;
+ eth_dev->rx_queue_count = dpaa2_dev_rx_queue_count;
if (dpaa2_get_devargs(dev->devargs, DRIVER_LOOPBACK_MODE)) {
--
2.55.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-07-30 10:16:03.205023896 +0100
+++ 0060-net-dpaa2-fix-Rx-queue-count-for-primary-process.patch 2026-07-30 10:16:01.491348897 +0100
@@ -1 +1 @@
-From 0800fa6e31e28e734815197360f3533e70d2f000 Mon Sep 17 00:00:00 2001
+From d1085e0e9f98fc09661efdf4210665cc8a07c8ac Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0800fa6e31e28e734815197360f3533e70d2f000 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -25 +26 @@
-index a68404ee5e..61122b323f 100644
+index a8374e717b..e4c72adf6b 100644
@@ -28 +29 @@
-@@ -3277,4 +3277,5 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev)
+@@ -3067,4 +3067,5 @@ dpaa2_dev_init(struct rte_eth_dev *eth_dev)
More information about the stable
mailing list