patch 'net/dpaa: fix Rx queue shutdown before init' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 13:59:32 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/2d4227cf60d33b6fe24e947d534d542bd6d33fc3
Thanks.
Kevin
---
>From 2d4227cf60d33b6fe24e947d534d542bd6d33fc3 Mon Sep 17 00:00:00 2001
From: Prashant Gupta <prashant.gupta_3 at nxp.com>
Date: Mon, 31 Aug 2026 12:48:25 +0530
Subject: [PATCH] net/dpaa: fix Rx queue shutdown before init
[ upstream commit ddb070d3c21e5e3b03f3c4ca749604420cdd3124 ]
The frame queue shutdown in dpaa_eth_rx_queue_setup() is too late:
the queue has already been created and initialized by dpaa_dev_init(),
so the shutdown forces a live FQ out of service and the queue no
longer receives frames.
Move the shutdown to dpaa_dev_init(), just before dpaa_rx_queue_init(),
where it cleans up a frame queue left over from a previous run as
intended.
Fixes: 0e3c389b9e4f ("bus/dpaa: do proper cleanup of frame queues on shutdown")
Signed-off-by: Prashant Gupta <prashant.gupta_3 at nxp.com>
---
drivers/net/dpaa/dpaa_ethdev.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index 12da2d17b3..1ff371271b 100644
--- a/drivers/net/dpaa/dpaa_ethdev.c
+++ b/drivers/net/dpaa/dpaa_ethdev.c
@@ -1123,7 +1123,4 @@ int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,
queue_idx, rxq->fqid);
- /* Shutdown FQ before configure */
- qman_shutdown_fq(rxq->fqid);
-
if (!fif->num_profiles) {
if (dpaa_intf->bp_info && dpaa_intf->bp_info->bp &&
@@ -2361,4 +2358,9 @@ dpaa_dev_init(struct rte_eth_dev *eth_dev)
vsp_id = dev_vspids[loop];
+ /* Clean up a frame queue left behind by a previous run
+ * before it is initialized.
+ */
+ qman_shutdown_fq(fqid);
+
if (dpaa_intf->cgr_rx)
dpaa_intf->cgr_rx[loop].cgrid = cgrid[loop];
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:40.639256964 +0000
+++ 0046-net-dpaa-fix-Rx-queue-shutdown-before-init.patch 2026-12-03 12:52:39.045938587 +0000
@@ -1 +1 @@
-From ddb070d3c21e5e3b03f3c4ca749604420cdd3124 Mon Sep 17 00:00:00 2001
+From 2d4227cf60d33b6fe24e947d534d542bd6d33fc3 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit ddb070d3c21e5e3b03f3c4ca749604420cdd3124 ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index 4dc4d1f10c..4463c56601 100644
+index 12da2d17b3..1ff371271b 100644
@@ -27 +28 @@
-@@ -1120,7 +1120,4 @@ int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,
+@@ -1123,7 +1123,4 @@ int dpaa_eth_rx_queue_setup(struct rte_eth_dev *dev, uint16_t queue_idx,
@@ -35 +36 @@
-@@ -2356,4 +2353,9 @@ dpaa_dev_init(struct rte_eth_dev *eth_dev)
+@@ -2361,4 +2358,9 @@ dpaa_dev_init(struct rte_eth_dev *eth_dev)
More information about the stable
mailing list