Lines Matching defs: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
642 * slaves. If any slaves are up, the master is up. In 802.3ad mode,
795 /* Push the promiscuity flag down to appropriate slaves */
818 /* Push the allmulti flag down to all slaves */
879 * old active slaves (if any). Modes that are not using primary keep all
880 * slaves up date at all times; only the modes that use primary need to call
1525 /* On bonding slaves other than the currently active slave, suppress
1896 * bond ether type mutual exclusion - don't allow slaves of dissimilar
1926 "Device type is different from other slaves");
1933 "Only active-backup mode is supported for infiniband slaves");
2121 * will activate the slaves in the selected
2351 * while destroying a bond interface and all slaves are being released.
2535 /* First release a slave and then destroy the bond if no more slaves are left.
3133 * Note: for (b), backup slaves are receiving the broadcast ARP
3478 * do - all replies will be rx'ed on same link causing slaves
3515 /* Called to inspect slaves for active-backup mode ARP monitor link state
3516 * changes. Sets proposed link state in slaves to specify what action
3544 /* Give slaves 2*delta after being enslaved or made
3933 /* TODO: Should slaves be allowed to
3935 * an active-backup bond, slaves need
3938 * slaves arguably should have the
4682 /* Change the MTU of all of a master's slaves to match the master */
4701 * mode, because if we allow the backup slaves to have
4737 * downing the master releases all slaves. We can make bonds full of
5019 static void bond_skip_slave(struct bond_up_slave *slaves,
5032 for (idx = 0; slaves && idx < slaves->count; idx++) {
5033 if (skipslave == slaves->arr[idx]) {
5034 slaves->arr[idx] =
5035 slaves->arr[slaves->count - 1];
5036 slaves->count--;
5062 /* Build the usable slaves array in control path for modes that use xmit-hash
5142 struct bond_up_slave *slaves)
5149 count = slaves ? READ_ONCE(slaves->count) : 0;
5153 slave = slaves->arr[hash % count];
5160 struct bond_up_slave *slaves;
5165 slaves = rcu_dereference(bond->usable_slaves);
5166 count = slaves ? READ_ONCE(slaves->count) : 0;
5170 return slaves->arr[hash % count];
5181 struct bond_up_slave *slaves;
5184 slaves = rcu_dereference(bond->usable_slaves);
5185 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves);
5246 /* Find out if any slaves have the same mapping as this skb. */
5289 struct bond_up_slave *slaves;
5302 slaves = rcu_dereference(bond->all_slaves);
5304 slaves = rcu_dereference(bond->usable_slaves);
5305 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves);
5375 struct bond_up_slave *slaves;
5380 slaves = rcu_dereference(bond->usable_slaves);
5381 count = slaves ? READ_ONCE(slaves->count) : 0;
5386 slave = slaves->arr[hash % count];
5724 /* Since bond_slave_can_tx returns false for all inactive or down slaves, we
5776 /* Check if all slaves support software tx timestamping */
5894 * when there are slaves that are not hw accel
5929 /* Release the bonded slaves */
5932 netdev_info(bond_dev, "Released all slaves\n");