Lines Matching refs:new_slave
1717 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave) in bond_alb_handle_active_change() argument
1723 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()
1766 dev_set_mac_address(new_slave->dev, (struct sockaddr *)&ss, 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()
1781 alb_send_learning_packets(new_slave, bond->dev->dev_addr, in bond_alb_handle_active_change()