Lines Matching defs:slaves

20  *	the first slave bonded to the channel.  All slaves will then use
24 * will release all slaves, marking them as down.
179 MODULE_PARM_DESC(fail_over_mac, "For active-backup, do not set all slaves to "
184 "by setting active flag for all slaves; "
196 "each slaves peer switch. The default is 1.");
323 * bond_vlan_rx_add_vid - Propagates adding an id to slaves
357 * bond_vlan_rx_kill_vid - Propagates deleting an id to slaves
601 * slaves. If any slaves are up, the master is up. In 802.3ad mode,
754 /* Push the promiscuity flag down to appropriate slaves */
777 /* Push the allmulti flag down to all slaves */
838 * old active slaves (if any). Modes that are not using primary keep all
839 * slaves up date at all times; only the modes that use primary need to call
1459 /* On bonding slaves other than the currently active slave, suppress
1767 * bond ether type mutual exclusion - don't allow slaves of dissimilar
1798 NL_SET_ERR_MSG(extack, "Device type is different from other slaves");
1799 slave_err(bond_dev, slave_dev, "ether type (%d) is different from other slaves (%d), can not enslave it\n",
1806 NL_SET_ERR_MSG(extack, "Only active-backup mode is supported for infiniband slaves");
1994 * will activate the slaves in the selected
2189 * while destroying a bond interface and all slaves are being released.
2359 /* First release a slave and then destroy the bond if no more slaves are left.
2947 * Note: for (b), backup slaves are receiving the broadcast ARP
3064 * do - all replies will be rx'ed on same link causing slaves
3101 /* Called to inspect slaves for active-backup mode ARP monitor link state
3102 * changes. Sets proposed link state in slaves to specify what action
3130 /* Give slaves 2*delta after being enslaved or made
3516 /* TODO: Should slaves be allowed to
3518 * an active-backup bond, slaves need
3521 * slaves arguably should have the
4134 /* Change the MTU of all of a master's slaves to match the master */
4153 * mode, because if we allow the backup slaves to have
4189 * downing the master releases all slaves. We can make bonds full of
4431 static void bond_skip_slave(struct bond_up_slave *slaves,
4444 for (idx = 0; slaves && idx < slaves->count; idx++) {
4445 if (skipslave == slaves->arr[idx]) {
4446 slaves->arr[idx] =
4447 slaves->arr[slaves->count - 1];
4448 slaves->count--;
4486 /* Build the usable slaves array in control path for modes that use xmit-hash
4565 struct bond_up_slave *slaves)
4572 count = slaves ? READ_ONCE(slaves->count) : 0;
4576 slave = slaves->arr[hash % count];
4588 struct bond_up_slave *slaves;
4591 slaves = rcu_dereference(bond->usable_slaves);
4592 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves);
4653 /* Find out if any slaves have the same mapping as this skb. */
4696 struct bond_up_slave *slaves;
4709 slaves = rcu_dereference(bond->all_slaves);
4711 slaves = rcu_dereference(bond->usable_slaves);
4712 slave = bond_xmit_3ad_xor_slave_get(bond, skb, slaves);
4805 /* Since bond_slave_can_tx returns false for all inactive or down slaves, we
4921 * when there are slaves that are not hw accel
4959 /* Release the bonded slaves */
4962 netdev_info(bond_dev, "Released all slaves\n");