patch 'examples/ethtool: fix error message about ports limit' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Feb 26 14:10:26 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/4414126879d73220c1e0bc5d200f72f0bb6e9b8d
Thanks.
Kevin
---
>From 4414126879d73220c1e0bc5d200f72f0bb6e9b8d Mon Sep 17 00:00:00 2001
From: Thomas Monjalon <thomas at monjalon.net>
Date: Wed, 28 Jan 2026 11:33:50 +0100
Subject: [PATCH] examples/ethtool: fix error message about ports limit
[ upstream commit a3df13c880641c6eafade0f21580e35379a065e6 ]
The error message about the number of ports was swapping
the desired and maximum number of ports.
Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application")
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
examples/ethtool/ethtool-app/main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/examples/ethtool/ethtool-app/main.c b/examples/ethtool/ethtool-app/main.c
index d380f69cea..b6bbae70d2 100644
--- a/examples/ethtool/ethtool-app/main.c
+++ b/examples/ethtool/ethtool-app/main.c
@@ -289,7 +289,5 @@ int main(int argc, char **argv)
rte_exit(EXIT_FAILURE, "No available NIC ports!\n");
if (cnt_ports > MAX_PORTS) {
- printf("Info: Using only %i of %i ports\n",
- cnt_ports, MAX_PORTS
- );
+ printf("Info: Using only %i of %i ports\n", MAX_PORTS, cnt_ports);
cnt_ports = MAX_PORTS;
}
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-02-26 10:16:52.642869506 +0000
+++ 0144-examples-ethtool-fix-error-message-about-ports-limit.patch 2026-02-26 10:16:47.213460383 +0000
@@ -1 +1 @@
-From a3df13c880641c6eafade0f21580e35379a065e6 Mon Sep 17 00:00:00 2001
+From 4414126879d73220c1e0bc5d200f72f0bb6e9b8d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a3df13c880641c6eafade0f21580e35379a065e6 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list