Lines Matching refs:tx_slave
82 entry->tx_slave = NULL; in tlb_init_table_entry()
199 assigned_slave = hash_table[hash_index].tx_slave; in __tlb_choose_channel()
208 hash_table[hash_index].tx_slave = assigned_slave; in __tlb_choose_channel()
230 struct slave *tx_slave; in tlb_choose_channel() local
237 tx_slave = __tlb_choose_channel(bond, hash_index, skb_len); in tlb_choose_channel()
240 return tx_slave; in tlb_choose_channel()
655 struct slave *tx_slave = NULL; in rlb_arp_xmit() local
680 tx_slave = rlb_choose_channel(skb, bond, arp); in rlb_arp_xmit()
681 if (tx_slave) in rlb_arp_xmit()
682 bond_hw_addr_copy(arp->mac_src, tx_slave->dev->dev_addr, in rlb_arp_xmit()
683 tx_slave->dev->addr_len); in rlb_arp_xmit()
685 tx_slave ? tx_slave->dev->name : "NULL"); in rlb_arp_xmit()
692 tx_slave = rlb_choose_channel(skb, bond, arp); in rlb_arp_xmit()
706 tx_slave ? tx_slave->dev->name : "NULL"); in rlb_arp_xmit()
709 return tx_slave; in rlb_arp_xmit()
1339 struct slave *tx_slave) in bond_do_alb_xmit() argument
1344 if (!tx_slave) { in bond_do_alb_xmit()
1346 tx_slave = rcu_dereference(bond->curr_active_slave); in bond_do_alb_xmit()
1351 if (tx_slave && bond_slave_can_tx(tx_slave)) { in bond_do_alb_xmit()
1352 if (tx_slave != rcu_access_pointer(bond->curr_active_slave)) { in bond_do_alb_xmit()
1354 tx_slave->dev->dev_addr); in bond_do_alb_xmit()
1357 return bond_dev_queue_xmit(bond, skb, tx_slave->dev); in bond_do_alb_xmit()
1360 if (tx_slave && bond->params.tlb_dynamic_lb) { in bond_do_alb_xmit()
1362 __tlb_clear_slave(bond, tx_slave, 0); in bond_do_alb_xmit()
1373 struct slave *tx_slave = NULL; in bond_xmit_tlb_slave_get() local
1390 tx_slave = tlb_choose_channel(bond, in bond_xmit_tlb_slave_get()
1400 tx_slave = slaves->arr[hash_index % in bond_xmit_tlb_slave_get()
1406 return tx_slave; in bond_xmit_tlb_slave_get()
1412 struct slave *tx_slave; in bond_tlb_xmit() local
1414 tx_slave = bond_xmit_tlb_slave_get(bond, skb); in bond_tlb_xmit()
1415 return bond_do_alb_xmit(skb, bond, tx_slave); in bond_tlb_xmit()
1423 struct slave *tx_slave = NULL; in bond_xmit_alb_slave_get() local
1493 tx_slave = rlb_arp_xmit(skb, bond); in bond_xmit_alb_slave_get()
1503 tx_slave = tlb_choose_channel(bond, hash_index, skb->len); in bond_xmit_alb_slave_get()
1516 tx_slave = slaves->arr[bond_xmit_hash(bond, skb) % in bond_xmit_alb_slave_get()
1520 return tx_slave; in bond_xmit_alb_slave_get()
1526 struct slave *tx_slave = NULL; in bond_alb_xmit() local
1528 tx_slave = bond_xmit_alb_slave_get(bond, skb); in bond_alb_xmit()
1529 return bond_do_alb_xmit(skb, bond, tx_slave); in bond_alb_xmit()