Home
last modified time | relevance | path

Searched refs:slave1 (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
940 memcpy(tmp_mac_addr, slave1->dev->dev_addr, ETH_ALEN); in alb_swap_mac_addr()
941 alb_set_slave_mac_addr(slave1, slave2->dev->dev_addr, bond->alb_info.rlb_enabled); in alb_swap_mac_addr()
951 static void alb_fasten_mac_swap(struct bonding *bond, struct slave *slave1, in alb_fasten_mac_swap() argument
954 int slaves_state_differ = (SLAVE_IS_OK(slave1) != SLAVE_IS_OK(slave2)); in alb_fasten_mac_swap()
960 if (SLAVE_IS_OK(slave1)) { in alb_fasten_mac_swap()
961 alb_send_learning_packets(slave1, slave1->dev->dev_addr); in alb_fasten_mac_swap()
966 rlb_req_update_slave_clients(bond, slave1); in alb_fasten_mac_swap()
969 disabled_slave = slave1; in alb_fasten_mac_swap()