patch 'net/nfb: stop only started queues in fail path' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Thu Feb 26 14:09:29 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/02/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/f1fbbb4af50ec6ae0ff97f26bd5beacf05e0eb61

Thanks.

Kevin

---
>From f1fbbb4af50ec6ae0ff97f26bd5beacf05e0eb61 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
@@ -140,9 +140,10 @@ nfb_eth_dev_start(struct rte_eth_dev *dev)
 
 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.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-02-26 10:16:50.507639441 +0000
+++ 0087-net-nfb-stop-only-started-queues-in-fail-path.patch	2026-02-26 10:16:47.033163421 +0000
@@ -1 +1 @@
-From 0464ec16a1a118b3092159a2fe5964e46b4c4ae7 Mon Sep 17 00:00:00 2001
+From f1fbbb4af50ec6ae0ff97f26bd5beacf05e0eb61 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