Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/bonding/
Dbond_main.c577 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap() argument
590 if (new_active) { in bond_hw_addr_swap()
593 dev_set_promiscuity(new_active->dev, 1); in bond_hw_addr_swap()
596 dev_set_allmulti(new_active->dev, 1); in bond_hw_addr_swap()
599 dev_uc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap()
600 dev_mc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap()
623 struct slave *new_active) in bond_get_old_active() argument
629 if (slave == new_active) in bond_get_old_active()
646 struct slave *new_active, in bond_do_fail_over_mac() argument
655 if (new_active) in bond_do_fail_over_mac()
[all …]
Dbond_options.c810 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local
812 BUG_ON(!new_active); in bond_option_active_slave_set()
814 if (new_active == old_active) { in bond_option_active_slave_set()
817 new_active->dev->name); in bond_option_active_slave_set()
819 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
820 bond_slave_is_up(new_active)) { in bond_option_active_slave_set()
822 new_active->dev->name); in bond_option_active_slave_set()
823 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set()
826 new_active->dev->name, in bond_option_active_slave_set()
827 new_active->dev->name); in bond_option_active_slave_set()
/Linux-v4.19/include/net/
Dbonding.h617 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);