• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/bonding/

Lines Matching refs:curr_active_slave

427 	if (!bond->curr_active_slave) {
432 if (!dev_set_promiscuity(bond->curr_active_slave->dev, 1))
440 alb_send_learning_packets(bond->curr_active_slave, addr);
489 if (slave != bond->curr_active_slave) {
613 * to the team's address (curr_active_slave) and have a known
658 * move the old client to primary (curr_active_slave) so
661 if (bond->curr_active_slave &&
662 client_info->slave != bond->curr_active_slave) {
663 client_info->slave = bond->curr_active_slave;
712 * sent on the curr_active_slave
1095 struct slave *has_bond_addr = bond->curr_active_slave;
1284 /* make sure that the curr_active_slave and the slaves list do
1375 tx_slave = bond->curr_active_slave;
1380 if (tx_slave != bond->curr_active_slave) {
1428 /* change of curr_active_slave involves swapping of mac addresses.
1451 if (slave == bond->curr_active_slave) {
1482 dev_set_promiscuity(bond->curr_active_slave->dev, -1);
1598 * bond_alb_handle_active_change - assign new curr_active_slave
1602 * Set the bond->curr_active_slave to @new_slave and handle
1621 if (bond->curr_active_slave == new_slave) {
1625 if (bond->curr_active_slave && bond->alb_info.primary_is_promisc) {
1626 dev_set_promiscuity(bond->curr_active_slave->dev, -1);
1631 swap_slave = bond->curr_active_slave;
1632 bond->curr_active_slave = new_slave;
1638 /* set the new curr_active_slave to the bonds mac address
1639 * i.e. swap mac addresses of old curr_active_slave and new curr_active_slave
1668 /* curr_active_slave must be set before calling alb_swap_mac_addr */
1713 /* If there is no curr_active_slave there is nothing else to do.
1717 if (!bond->curr_active_slave) {
1732 alb_swap_mac_addr(bond, swap_slave, bond->curr_active_slave);
1733 alb_fasten_mac_swap(bond, swap_slave, bond->curr_active_slave);
1735 alb_set_slave_mac_addr(bond->curr_active_slave, bond_dev->dev_addr,
1739 alb_send_learning_packets(bond->curr_active_slave, bond_dev->dev_addr);
1742 rlb_req_update_slave_clients(bond, bond->curr_active_slave);