• 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

794 		if (bond->curr_active_slave) {
795 dev_set_promiscuity(bond->curr_active_slave->dev, inc);
813 if (bond->curr_active_slave) {
814 dev_set_allmulti(bond->curr_active_slave->dev, inc);
833 if (bond->curr_active_slave) {
834 dev_mc_add(bond->curr_active_slave->dev, addr, alen, 0);
853 if (bond->curr_active_slave) {
854 dev_mc_delete(bond->curr_active_slave->dev, addr, alen, 0);
1010 new_active = old_active = bond->curr_active_slave;
1021 * before it can be considered the curr_active_slave - also, we would skip
1022 * slaves between the curr_active_slave and primary_slave that may be up
1057 * curr_active_slave.
1068 struct slave *old_active = bond->curr_active_slave;
1118 bond->curr_active_slave = new_active;
1138 * - The old curr_active_slave has been released or lost its link.
1140 * - A slave has got its link back and there's no old curr_active_slave.
1150 if (best_slave != bond->curr_active_slave) {
1421 * curr_active_slave, and that is taken care of later when calling
1564 if ((!bond->curr_active_slave) &&
1580 /* In trunking mode there is little meaning to curr_active_slave
1584 if (!bond->curr_active_slave) {
1585 bond->curr_active_slave = new_slave;
1630 * It is legal to access curr_active_slave without a lock because all the function
1704 oldcurrent = bond->curr_active_slave;
1724 * detached from the list and the curr_active_slave
1772 * promisc and mc settings if it was the curr_active_slave, but that was
1862 * promisc and mc settings if it was the curr_active_slave, but that was
1958 old_active = bond->curr_active_slave;
2060 oldcurrent = bond->curr_active_slave;
2449 struct slave *slave = bond->curr_active_slave;
2587 oldcurrent = bond->curr_active_slave;
2591 * xmt and rcv traffic). the curr_active_slave does not come into
2608 * curr_active_slave being null after enslaving
2730 if ((!bond->curr_active_slave) &&
2734 } else if (bond->curr_active_slave != slave) {
2747 if (slave == bond->curr_active_slave) {
2767 if ((slave != bond->curr_active_slave) &&
2775 * the curr_active_slave went down and we are
2777 * condition we only take the curr_active_slave
2803 slave = bond->curr_active_slave;
2810 * a slave first becomes the curr_active_slave - not necessarily
2813 * if it is up and needs to take over as the curr_active_slave
2835 slave = bond->curr_active_slave;
2847 /* at this point, slave is the curr_active_slave */
2874 /* if we don't have a curr_active_slave, search for the next available
2876 * for becoming the curr_active_slave
2991 curr = bond->curr_active_slave;
4003 slave = start_at = bond->curr_active_slave;
4017 bond->curr_active_slave = slave->next;
4036 * in active-backup mode, we know that bond->curr_active_slave is always valid if
4051 if (!bond->curr_active_slave)
4054 res = bond_dev_queue_xmit(bond, skb, bond->curr_active_slave->dev);
4132 start_at = bond->curr_active_slave;
4262 bond->curr_active_slave = NULL;