Lines Matching full:slaves

21  *	the first slave bonded to the channel.  All slaves will then use
25 * will release all slaves, marking them as down.
187 MODULE_PARM_DESC(fail_over_mac, "For active-backup, do not set all slaves to "
192 "by setting active flag for all slaves; "
204 "each slaves peer switch. The default is 1.");
363 * bond_vlan_rx_add_vid - Propagates adding an id to slaves
397 * bond_vlan_rx_kill_vid - Propagates deleting an id to slaves
758 * slaves. If any slaves are up, the master is up. In 802.3ad mode,
911 /* Push the promiscuity flag down to appropriate slaves */
934 /* Push the allmulti flag down to all slaves */
995 * old active slaves (if any). Modes that are not using primary keep all
996 * slaves up date at all times; only the modes that use primary need to call
1642 /* On bonding slaves other than the currently active slave, suppress
2013 * bond ether type mutual exclusion - don't allow slaves of dissimilar in bond_enslave()
2043 "Device type is different from other slaves"); in bond_enslave()
2050 "Only active-backup mode is supported for infiniband slaves"); in bond_enslave()
2238 * will activate the slaves in the selected in bond_enslave()
2472 * while destroying a bond interface and all slaves are being released.
2662 /* First release a slave and then destroy the bond if no more slaves are left.
3260 * Note: for (b), backup slaves are receiving the broadcast ARP in bond_arp_rcv()
3605 * do - all replies will be rx'ed on same link causing slaves in bond_loadbalance_arp_mon()
3642 /* Called to inspect slaves for active-backup mode ARP monitor link state
3643 * changes. Sets proposed link state in slaves to specify what action
3671 /* Give slaves 2*delta after being enslaved or made in bond_ab_arp_inspect()
4060 /* TODO: Should slaves be allowed to in bond_slave_netdev_event()
4062 * an active-backup bond, slaves need in bond_slave_netdev_event()
4065 * slaves arguably should have the in bond_slave_netdev_event()
4809 /* Change the MTU of all of a master's slaves to match the master */
4828 * mode, because if we allow the backup slaves to have in bond_change_mtu()
4864 * downing the master releases all slaves. We can make bonds full of
5146 static void bond_skip_slave(struct bond_up_slave *slaves, in bond_skip_slave() argument
5159 for (idx = 0; slaves && idx < slaves->count; idx++) { in bond_skip_slave()
5160 if (skipslave == slaves->arr[idx]) { in bond_skip_slave()
5161 slaves->arr[idx] = in bond_skip_slave()
5162 slaves->arr[slaves->count - 1]; in bond_skip_slave()
5163 slaves->count--; in bond_skip_slave()
5189 /* Build the usable slaves array in control path for modes that use xmit-hash
5269 struct bond_up_slave *slaves) in bond_xmit_3ad_xor_slave_get() argument
5276 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xmit_3ad_xor_slave_get()
5280 slave = slaves->arr[hash % count]; in bond_xmit_3ad_xor_slave_get()
5287 struct bond_up_slave *slaves; in bond_xdp_xmit_3ad_xor_slave_get() local
5292 slaves = rcu_dereference(bond->usable_slaves); in bond_xdp_xmit_3ad_xor_slave_get()
5293 count = slaves ? READ_ONCE(slaves->count) : 0; in bond_xdp_xmit_3ad_xor_slave_get()
5297 return slaves->arr[hash % count]; in bond_xdp_xmit_3ad_xor_slave_get()
5308 struct bond_up_slave *slaves; in bond_3ad_xor_xmit() local
5311 slaves = rcu_dereference(bond->usable_slaves); in bond_3ad_xor_xmit()
5312 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves); in bond_3ad_xor_xmit()
5373 /* Find out if any slaves have the same mapping as this skb. */ in bond_slave_override()
5416 struct bond_up_slave *slaves; in bond_xmit_get_slave() local
5429 slaves = rcu_dereference(bond->all_slaves); in bond_xmit_get_slave()
5431 slaves = rcu_dereference(bond->usable_slaves); in bond_xmit_get_slave()
5432 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves); in bond_xmit_get_slave()
5502 struct bond_up_slave *slaves; in __bond_sk_get_lower_dev() local
5507 slaves = rcu_dereference(bond->usable_slaves); in __bond_sk_get_lower_dev()
5508 count = slaves ? READ_ONCE(slaves->count) : 0; in __bond_sk_get_lower_dev()
5513 slave = slaves->arr[hash % count]; in __bond_sk_get_lower_dev()
5851 /* Since bond_slave_can_tx returns false for all inactive or down slaves, we in bond_ethtool_get_link_ksettings()
5903 /* Check if all slaves support software tx timestamping */ in bond_ethtool_get_ts_info()
6024 * when there are slaves that are not hw accel in bond_setup()
6056 /* Release the bonded slaves */ in bond_uninit()
6059 netdev_info(bond_dev, "Released all slaves\n"); in bond_uninit()