Lines Matching refs:slave1
968 static void alb_swap_mac_addr(struct bonding *bond, struct slave *slave1, struct slave *slave2)
972 memcpy(tmp_mac_addr, slave1->dev->dev_addr, ETH_ALEN);
973 alb_set_slave_mac_addr(slave1, slave2->dev->dev_addr, bond->alb_info.rlb_enabled);
983 static void alb_fasten_mac_swap(struct bonding *bond, struct slave *slave1,
986 int slaves_state_differ = (SLAVE_IS_OK(slave1) != SLAVE_IS_OK(slave2));
992 if (SLAVE_IS_OK(slave1)) {
993 alb_send_learning_packets(slave1, slave1->dev->dev_addr);
998 rlb_req_update_slave_clients(bond, slave1);
1001 disabled_slave = slave1;