patch 'net/bonding: add log for MAC address restore failure' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 13:59:27 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/4c2936d159c0cbb2cc198ad8d36c1cef2b717b49

Thanks.

Kevin

---
>From 4c2936d159c0cbb2cc198ad8d36c1cef2b717b49 Mon Sep 17 00:00:00 2001
From: Evgeny Sokolov <Evgeny.Sokolov at infotecs.ru>
Date: Mon, 29 Jun 2026 13:58:40 +0000
Subject: [PATCH] net/bonding: add log for MAC address restore failure

[ upstream commit d513fb1fa789cd1b57d84fe2dbe90bf6b26e9754 ]

Log an error when rte_eth_dev_default_mac_addr_set() fails while
restoring the default MAC address of a member device removed from a
bonding device.
This improves visibility of failures without changing the existing
behavior.

Fixes: aa7791ba8de0 ("net/bonding: fix setting slave MAC addresses")

Signed-off-by: Evgeny Sokolov <Evgeny.Sokolov at infotecs.ru>
---
 .mailmap                               | 1 +
 drivers/net/bonding/rte_eth_bond_api.c | 8 ++++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.mailmap b/.mailmap
index 462fcb3fb8..ec3c63f83b 100644
--- a/.mailmap
+++ b/.mailmap
@@ -469,4 +469,5 @@ Evgeny Efimov <evgeny.efimov at intel.com>
 Evgeny Im <evgeny.im at oktetlabs.com>
 Evgeny Schemeilin <evgenys at amazon.com>
+Evgeny Sokolov <Evgeny.Sokolov at infotecs.ru>
 Fabio Pricoco <fabio.pricoco at intel.com>
 Fady Bader <fady at mellanox.com>
diff --git a/drivers/net/bonding/rte_eth_bond_api.c b/drivers/net/bonding/rte_eth_bond_api.c
index 9e5df67c18..da2b538b3c 100644
--- a/drivers/net/bonding/rte_eth_bond_api.c
+++ b/drivers/net/bonding/rte_eth_bond_api.c
@@ -707,6 +707,10 @@ __eth_bond_member_remove_lock_free(uint16_t bonding_port_id,
 
 	/* Restore original MAC address of member device */
-	rte_eth_dev_default_mac_addr_set(member_port_id,
-			&internals->members[member_idx].persisted_mac_addr);
+	if (rte_eth_dev_default_mac_addr_set(member_port_id,
+			&internals->members[member_idx].persisted_mac_addr)) {
+		RTE_BOND_LOG(ERR,
+				"Failed to restore MAC address on member port %u",
+				member_port_id);
+	}
 
 	/* remove additional MAC addresses from the member */
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:40.503787586 +0000
+++ 0041-net-bonding-add-log-for-MAC-address-restore-failure.patch	2026-12-03 12:52:39.042938584 +0000
@@ -1 +1 @@
-From d513fb1fa789cd1b57d84fe2dbe90bf6b26e9754 Mon Sep 17 00:00:00 2001
+From 4c2936d159c0cbb2cc198ad8d36c1cef2b717b49 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit d513fb1fa789cd1b57d84fe2dbe90bf6b26e9754 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index bbe3d013d2..5e4a3a9d6b 100644
+index 462fcb3fb8..ec3c63f83b 100644
@@ -25 +26 @@
-@@ -474,4 +474,5 @@ Evgeny Efimov <evgeny.efimov at intel.com>
+@@ -469,4 +469,5 @@ Evgeny Efimov <evgeny.efimov at intel.com>
@@ -32 +33 @@
-index d9b6f1c417..a4b54a71dd 100644
+index 9e5df67c18..da2b538b3c 100644



More information about the stable mailing list