[dpdk-dev] [PATCH] pmd_bond: fix mac address update for ACTIVE_BACKUP, TLB and ALB modes

Chas Williams 3chas3 at gmail.com
Thu Jun 18 22:32:17 CEST 2020


Yes, this does look like a typo on someone's part.

Please change use net/bonding: instead of pmd_bond:
Please add a Fixes: line
Please add a Cc: stable at dpdk.org

On 6/17/20 3:02 PM, Sergey Lvov wrote:
 > It seems to be a typo
 >
 > Signed-off-by: Sergey Lvov <log0div0 at gmail.com>
 > ---
 >   drivers/net/bonding/rte_eth_bond_pmd.c | 2 +-
 >   1 file changed, 1 insertion(+), 1 deletion(-)
 >
 > diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c 
b/drivers/net/bonding/rte_eth_bond_pmd.c
 > index 612a64599..3ef0df84a 100644
 > --- a/drivers/net/bonding/rte_eth_bond_pmd.c
 > +++ b/drivers/net/bonding/rte_eth_bond_pmd.c
 > @@ -1533,7 +1533,7 @@ mac_address_slaves_update(struct rte_eth_dev 
*bonded_eth_dev)
 >   			if (internals->slaves[i].port_id ==
 >   					internals->current_primary_port) {
 >   				if (rte_eth_dev_default_mac_addr_set(
 > -						internals->primary_port,
 > +						internals->current_primary_port,
 >   						bonded_eth_dev->data->mac_addrs)) {
 >   					RTE_BOND_LOG(ERR, "Failed to update port Id %d MAC address",
 >   							internals->current_primary_port);
 >


More information about the dev mailing list