patch 'net/nfb: stop only started queues in fail path' has been queued to stable release 24.11.5
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Fri Feb 20 15:56:17 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.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 02/22/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/41dce24b7dcdda5b1d7643df05acf47fd3c30df9
Thanks.
Luca Boccassi
---
>From 41dce24b7dcdda5b1d7643df05acf47fd3c30df9 Mon Sep 17 00:00:00 2001
From: Martin Spinler <spinler at cesnet.cz>
Date: Mon, 2 Feb 2026 20:33:30 +0100
Subject: [PATCH] net/nfb: stop only started queues in fail path
[ upstream commit 0464ec16a1a118b3092159a2fe5964e46b4c4ae7 ]
The driver should stop only running queues in case of error
inside eth_dev_start.
Fixes: 6435f9a0ac22 ("net/nfb: add new netcope driver")
Signed-off-by: Martin Spinler <spinler at cesnet.cz>
---
drivers/net/nfb/nfb_ethdev.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/net/nfb/nfb_ethdev.c b/drivers/net/nfb/nfb_ethdev.c
index 5197642f61..967f127f40 100644
--- a/drivers/net/nfb/nfb_ethdev.c
+++ b/drivers/net/nfb/nfb_ethdev.c
@@ -139,11 +139,12 @@ nfb_eth_dev_start(struct rte_eth_dev *dev)
return 0;
err_tx:
- for (i = 0; i < nb_tx; i++)
- nfb_eth_tx_queue_stop(dev, i);
+ for (; i > 0; i--)
+ nfb_eth_tx_queue_stop(dev, i - 1);
+ i = nb_rx;
err_rx:
- for (i = 0; i < nb_rx; i++)
- nfb_eth_rx_queue_stop(dev, i);
+ for (; i > 0; i--)
+ nfb_eth_rx_queue_stop(dev, i - 1);
return ret;
}
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-02-20 14:55:46.106599765 +0000
+++ 0075-net-nfb-stop-only-started-queues-in-fail-path.patch 2026-02-20 14:55:43.276192295 +0000
@@ -1 +1 @@
-From 0464ec16a1a118b3092159a2fe5964e46b4c4ae7 Mon Sep 17 00:00:00 2001
+From 41dce24b7dcdda5b1d7643df05acf47fd3c30df9 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0464ec16a1a118b3092159a2fe5964e46b4c4ae7 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index abc5c12b1e..947ee9e21d 100644
+index 5197642f61..967f127f40 100644
More information about the stable
mailing list