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.
3131 * Note: for (b), backup slaves are receiving the broadcast ARP
3476 * do - all replies will be rx'ed on same link causing slaves
3513 /* Called to inspect slaves for active-backup mode ARP monitor link state
3514 * changes. Sets proposed link state in slaves to specify what action
3542 /* Give slaves 2*delta after being enslaved or made
3931 /* TODO: Should slaves be allowed to
3933 * an active-backup bond, slaves need
3936 * slaves arguably should have the
4680 /* Change the MTU of all of a master's slaves to match the master */
4699 * mode, because if we allow the backup slaves to have
4735 * downing the master releases all slaves. We can make bonds full of
5017 static void bond_skip_slave(struct bond_up_slave *slaves,
5030 for (idx = 0; slaves && idx < slaves->count; idx++) {
5031 if (skipslave == slaves->arr[idx]) {
5032 slaves->arr[idx] =
5033 slaves->arr[slaves->count - 1];
5034 slaves->count--;
5060 /* Build the usable slaves array in control path for modes that use xmit-hash
5140 struct bond_up_slave *slaves)
5147 count = slaves ? READ_ONCE(slaves->count) : 0;
5151 slave = slaves->arr[hash % count];
5158 struct bond_up_slave *slaves;
5163 slaves = rcu_dereference(bond->usable_slaves);
5164 count = slaves ? READ_ONCE(slaves->count) : 0;
5168 return slaves->arr[hash % count];
5179 struct bond_up_slave *slaves;
5182 slaves = rcu_dereference(bond->usable_slaves);
5183 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves);
5244 /* Find out if any slaves have the same mapping as this skb. */
5287 struct bond_up_slave *slaves;
5300 slaves = rcu_dereference(bond->all_slaves);
5302 slaves = rcu_dereference(bond->usable_slaves);
5303 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves);
5373 struct bond_up_slave *slaves;
5378 slaves = rcu_dereference(bond->usable_slaves);
5379 count = slaves ? READ_ONCE(slaves->count) : 0;
5384 slave = slaves->arr[hash % count];
5722 /* Since bond_slave_can_tx returns false for all inactive or down slaves, we
5785 /* Check if all slaves support software tx timestamping */
5917 * when there are slaves that are not hw accel
5952 /* Release the bonded slaves */
5955 netdev_info(bond_dev, "Released all slaves\n");