Searched refs:new_slave (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/bonding/ |
H A D | bond_main.c | 1833 struct slave *new_slave = NULL, *prev_slave; in bond_enslave() local 1967 new_slave = bond_alloc_slave(bond, slave_dev); in bond_enslave() 1968 if (!new_slave) { in bond_enslave() 1973 /* Set the new_slave's queue_id to be zero. Queue ID mapping in bond_enslave() 1976 new_slave->queue_id = 0; in bond_enslave() 1979 new_slave->original_mtu = slave_dev->mtu; in bond_enslave() 1990 bond_hw_addr_copy(new_slave->perm_hwaddr, slave_dev->dev_addr, in bond_enslave() 2020 dev_get_stats(new_slave->dev, &new_slave->slave_stats); in bond_enslave() 2026 res = bond_alb_init_slave(bond, new_slave); in bond_enslave() 3684 struct slave *slave, *before = NULL, *new_slave = NULL, bond_ab_arp_probe() local [all...] |
H A D | bond_alb.c | 1710 * @new_slave: new slave to assign 1712 * Set the bond->curr_active_slave to @new_slave and handle 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() 1744 /* Arrange for swap_slave and new_slave to temporarily be 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 in bond_alb_handle_active_change() [all...] |
/kernel/linux/linux-5.10/drivers/net/bonding/ |
H A D | bond_main.c | 1709 struct slave *new_slave = NULL, *prev_slave; in bond_enslave() local 1842 new_slave = bond_alloc_slave(bond, slave_dev); in bond_enslave() 1843 if (!new_slave) { in bond_enslave() 1848 /* Set the new_slave's queue_id to be zero. Queue ID mapping in bond_enslave() 1851 new_slave->queue_id = 0; in bond_enslave() 1854 new_slave->original_mtu = slave_dev->mtu; in bond_enslave() 1865 bond_hw_addr_copy(new_slave->perm_hwaddr, slave_dev->dev_addr, in bond_enslave() 1895 dev_get_stats(new_slave->dev, &new_slave->slave_stats); in bond_enslave() 1901 res = bond_alb_init_slave(bond, new_slave); in bond_enslave() 3269 struct slave *slave, *before = NULL, *new_slave = NULL, bond_ab_arp_probe() local [all...] |
H A D | bond_alb.c | 1703 * @new_slave: new slave to assign 1705 * Set the bond->curr_active_slave to @new_slave and handle 1710 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave) in bond_alb_handle_active_change() argument 1716 if (curr_active == new_slave) in bond_alb_handle_active_change() 1726 rcu_assign_pointer(bond->curr_active_slave, new_slave); in bond_alb_handle_active_change() 1728 if (!new_slave || !bond_has_slaves(bond)) in bond_alb_handle_active_change() 1737 /* Arrange for swap_slave and new_slave to temporarily be in bond_alb_handle_active_change() 1743 tlb_clear_slave(bond, new_slave, 1); in bond_alb_handle_active_change() 1752 bond_hw_addr_copy(tmp_addr, new_slave->dev->dev_addr, in bond_alb_handle_active_change() 1753 new_slave in bond_alb_handle_active_change() [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | bond_alb.h | 158 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
|
/kernel/linux/linux-6.6/include/net/ |
H A D | bond_alb.h | 158 void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave);
|
Completed in 14 milliseconds