Searched refs:new_active (Results 1 – 2 of 2) sorted by relevance
/drivers/net/bonding/ |
D | bond_main.c | 876 static void bond_hw_addr_swap(struct bonding *bond, struct slave *new_active, in bond_hw_addr_swap() argument 890 if (new_active) { in bond_hw_addr_swap() 893 dev_set_promiscuity(new_active->dev, 1); in bond_hw_addr_swap() 896 dev_set_allmulti(new_active->dev, 1); in bond_hw_addr_swap() 900 dev_uc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap() 901 dev_mc_sync(new_active->dev, bond->dev); in bond_hw_addr_swap() 932 struct slave *new_active) in bond_get_old_active() argument 938 if (slave == new_active) in bond_get_old_active() 955 struct slave *new_active, in bond_do_fail_over_mac() argument 964 if (new_active) { in bond_do_fail_over_mac() [all …]
|
D | bond_options.c | 900 struct slave *new_active = bond_slave_get_rtnl(slave_dev); in bond_option_active_slave_set() local 902 BUG_ON(!new_active); in bond_option_active_slave_set() 904 if (new_active == old_active) { in bond_option_active_slave_set() 906 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n"); in bond_option_active_slave_set() 908 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set() 909 bond_slave_is_up(new_active)) { in bond_option_active_slave_set() 910 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n"); in bond_option_active_slave_set() 911 bond_change_active_slave(bond, new_active); in bond_option_active_slave_set() 913 …slave_err(bond->dev, new_active->dev, "Could not set as active slave; either %s is down or the lin… in bond_option_active_slave_set() 914 new_active->dev->name); in bond_option_active_slave_set()
|