Searched refs:new_slave (Results 1 – 3 of 3) sorted by relevance
/drivers/net/bonding/ |
D | bond_main.c | 1203 struct slave *new_slave = NULL, *prev_slave; in bond_enslave() local 1323 new_slave = bond_alloc_slave(bond); in bond_enslave() 1324 if (!new_slave) { in bond_enslave() 1329 new_slave->bond = bond; in bond_enslave() 1330 new_slave->dev = slave_dev; in bond_enslave() 1334 new_slave->queue_id = 0; in bond_enslave() 1337 new_slave->original_mtu = slave_dev->mtu; in bond_enslave() 1348 ether_addr_copy(new_slave->perm_hwaddr, slave_dev->dev_addr); in bond_enslave() 1376 dev_get_stats(new_slave->dev, &new_slave->slave_stats); in bond_enslave() 1382 res = bond_alb_init_slave(bond, new_slave); in bond_enslave() [all …]
|
D | bond_alb.c | 1641 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave) in bond_alb_handle_active_change() argument 1647 if (curr_active == new_slave) in bond_alb_handle_active_change() 1657 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_alb_handle_active_change() 1659 if (!new_slave || !bond_has_slaves(bond)) in bond_alb_handle_active_change() 1674 tlb_clear_slave(bond, new_slave, 1); in bond_alb_handle_active_change() 1683 ether_addr_copy(tmp_addr, new_slave->dev->dev_addr); in bond_alb_handle_active_change() 1688 dev_set_mac_address(new_slave->dev, &sa); in bond_alb_handle_active_change() 1690 ether_addr_copy(new_slave->dev->dev_addr, tmp_addr); in bond_alb_handle_active_change() 1696 alb_swap_mac_addr(swap_slave, new_slave); in bond_alb_handle_active_change() 1697 alb_fasten_mac_swap(bond, swap_slave, new_slave); in bond_alb_handle_active_change() [all …]
|
D | bond_alb.h | 174 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
|