Home
last modified time | relevance | path

Searched refs:new_slave (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/drivers/net/bonding/
H A Dbond_main.c2090 if (!new_slave) { in bond_enslave()
2098 new_slave->queue_id = 0; in bond_enslave()
2142 dev_get_stats(new_slave->dev, &new_slave->slave_stats); in bond_enslave()
2161 new_slave->delay = 0; in bond_enslave()
2171 new_slave->target_last_arp_rx[i] = new_slave->last_rx; in bond_enslave()
2173 new_slave->last_tx = new_slave->last_rx; in bond_enslave()
2297 new_slave); in bond_enslave()
3854 new_slave = slave; in bond_ab_arp_probe()
3877 if (!new_slave && before) in bond_ab_arp_probe()
3878 new_slave = before; in bond_ab_arp_probe()
[all …]
H A Dbond_alb.c1723 if (curr_active == new_slave) in bond_alb_handle_active_change()
1733 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_alb_handle_active_change()
1735 if (!new_slave || !bond_has_slaves(bond)) in bond_alb_handle_active_change()
1750 tlb_clear_slave(bond, new_slave, 1); in bond_alb_handle_active_change()
1759 bond_hw_addr_copy(tmp_addr, new_slave->dev->dev_addr, in bond_alb_handle_active_change()
1760 new_slave->dev->addr_len); in bond_alb_handle_active_change()
1769 dev_addr_set(new_slave->dev, tmp_addr); in bond_alb_handle_active_change()
1775 alb_swap_mac_addr(swap_slave, new_slave); in bond_alb_handle_active_change()
1776 alb_fasten_mac_swap(bond, swap_slave, new_slave); in bond_alb_handle_active_change()
1779 alb_set_slave_mac_addr(new_slave, bond->dev->dev_addr, in bond_alb_handle_active_change()
[all …]
/linux-6.15/include/net/
H A Dbond_alb.h158 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);