Home
last modified time | relevance | path

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

/drivers/net/bonding/
Dbond_main.c840 static void bond_mc_swap(struct bonding *bond, struct slave *new_active, in bond_mc_swap() argument
864 if (new_active) { in bond_mc_swap()
867 dev_set_promiscuity(new_active->dev, 1); in bond_mc_swap()
870 dev_set_allmulti(new_active->dev, 1); in bond_mc_swap()
874 dev_mc_add(new_active->dev, ha->addr); in bond_mc_swap()
887 struct slave *new_active, in bond_do_fail_over_mac() argument
900 if (new_active) { in bond_do_fail_over_mac()
901 memcpy(bond->dev->dev_addr, new_active->dev->dev_addr, in bond_do_fail_over_mac()
902 new_active->dev->addr_len); in bond_do_fail_over_mac()
916 if (!new_active) in bond_do_fail_over_mac()
[all …]
Dbond_sysfs.c1223 struct slave *new_active = NULL; in bonding_store_active_slave() local
1254 new_active = slave; in bonding_store_active_slave()
1255 if (new_active == old_active) { in bonding_store_active_slave()
1264 if ((new_active) && in bonding_store_active_slave()
1266 (new_active->link == BOND_LINK_UP) && in bonding_store_active_slave()
1267 IS_UP(new_active->dev)) { in bonding_store_active_slave()
1273 new_active); in bonding_store_active_slave()
Dbonding.h415 void bond_change_active_slave(struct bonding *bond, struct slave *new_active);