Home
last modified time | relevance | path

Searched refs:slave2 (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/net/bonding/
Dbond_alb.c936 static void alb_swap_mac_addr(struct bonding *bond, struct slave *slave1, struct slave *slave2) in alb_swap_mac_addr() argument
941 alb_set_slave_mac_addr(slave1, slave2->dev->dev_addr, bond->alb_info.rlb_enabled); in alb_swap_mac_addr()
942 alb_set_slave_mac_addr(slave2, tmp_mac_addr, bond->alb_info.rlb_enabled); in alb_swap_mac_addr()
952 struct slave *slave2) in alb_fasten_mac_swap() argument
954 int slaves_state_differ = (SLAVE_IS_OK(slave1) != SLAVE_IS_OK(slave2)); in alb_fasten_mac_swap()
972 if (SLAVE_IS_OK(slave2)) { in alb_fasten_mac_swap()
973 alb_send_learning_packets(slave2, slave2->dev->dev_addr); in alb_fasten_mac_swap()
978 rlb_req_update_slave_clients(bond, slave2); in alb_fasten_mac_swap()
981 disabled_slave = slave2; in alb_fasten_mac_swap()