patch 'net/bonding: add log for MAC address restore failure' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:48:39 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/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/3b5aa3278d2a64e8da3f77c437aa984f54173fe9
Thanks.
Luca Boccassi
---
>From 3b5aa3278d2a64e8da3f77c437aa984f54173fe9 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 850881d0d66..d554ac14db9 100644
--- a/.mailmap
+++ b/.mailmap
@@ -447,6 +447,7 @@ Evan Swanson <evan.swanson at intel.com>
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>
Faicker Mo <faicker.mo at ucloud.cn>
diff --git a/drivers/net/bonding/rte_eth_bond_api.c b/drivers/net/bonding/rte_eth_bond_api.c
index ffc1322047c..3c435795977 100644
--- a/drivers/net/bonding/rte_eth_bond_api.c
+++ b/drivers/net/bonding/rte_eth_bond_api.c
@@ -702,8 +702,12 @@ __eth_bond_member_remove_lock_free(uint16_t bonding_port_id,
&rte_eth_devices[bonding_port_id].data->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 */
member_remove_mac_addresses(bonding_eth_dev, member_port_id);
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:54.723736158 +0000
+++ 0025-net-bonding-add-log-for-MAC-address-restore-failure.patch 2026-10-27 11:43:53.518059572 +0000
@@ -1 +1 @@
-From d513fb1fa789cd1b57d84fe2dbe90bf6b26e9754 Mon Sep 17 00:00:00 2001
+From 3b5aa3278d2a64e8da3f77c437aa984f54173fe9 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 850881d0d66..d554ac14db9 100644
@@ -25 +26 @@
-@@ -473,6 +473,7 @@ Evan Swanson <evan.swanson at intel.com>
+@@ -447,6 +447,7 @@ Evan Swanson <evan.swanson at intel.com>
@@ -34 +35 @@
-index d9b6f1c417..a4b54a71dd 100644
+index ffc1322047c..3c435795977 100644
@@ -37 +38 @@
-@@ -706,8 +706,12 @@ __eth_bond_member_remove_lock_free(uint16_t bonding_port_id,
+@@ -702,8 +702,12 @@ __eth_bond_member_remove_lock_free(uint16_t bonding_port_id,
More information about the stable
mailing list