• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/bonding/

Lines Matching refs:curr_active_slave

414 	if (!bond->curr_active_slave) {
420 dev_set_promiscuity(bond->curr_active_slave->dev, 1);
425 alb_send_learning_packets(bond->curr_active_slave, addr);
474 if (slave != bond->curr_active_slave) {
602 * to the team's address (curr_active_slave) and have a known
647 * move the old client to primary (curr_active_slave) so
650 if (bond->curr_active_slave &&
651 client_info->slave != bond->curr_active_slave) {
652 client_info->slave = bond->curr_active_slave;
705 * sent on the curr_active_slave
1077 struct slave *has_bond_addr = bond->curr_active_slave;
1277 /* make sure that the curr_active_slave and the slaves list do
1348 tx_slave = bond->curr_active_slave;
1353 if (tx_slave != bond->curr_active_slave) {
1399 /* change of curr_active_slave involves swapping of mac addresses.
1422 if (slave == bond->curr_active_slave) {
1438 * the curr_active_slave. It needs to be locked with a
1453 dev_set_promiscuity(bond->curr_active_slave->dev, -1);
1563 * bond_alb_handle_active_change - assign new curr_active_slave
1567 * Set the bond->curr_active_slave to @new_slave and handle
1577 if (bond->curr_active_slave == new_slave) {
1581 if (bond->curr_active_slave && bond->alb_info.primary_is_promisc) {
1582 dev_set_promiscuity(bond->curr_active_slave->dev, -1);
1587 swap_slave = bond->curr_active_slave;
1588 bond->curr_active_slave = new_slave;
1594 /* set the new curr_active_slave to the bonds mac address
1595 * i.e. swap mac addresses of old curr_active_slave and new curr_active_slave
1609 /* curr_active_slave must be set before calling alb_swap_mac_addr */
1641 /* If there is no curr_active_slave there is nothing else to do.
1645 if (!bond->curr_active_slave) {
1659 alb_swap_mac_addr(bond, swap_slave, bond->curr_active_slave);
1661 alb_set_slave_mac_addr(bond->curr_active_slave, bond_dev->dev_addr,
1664 alb_send_learning_packets(bond->curr_active_slave, bond_dev->dev_addr);
1667 rlb_req_update_slave_clients(bond, bond->curr_active_slave);