Lines Matching refs:tx_slave
82 entry->tx_slave = NULL;
198 assigned_slave = hash_table[hash_index].tx_slave;
207 hash_table[hash_index].tx_slave = assigned_slave;
229 struct slave *tx_slave;
236 tx_slave = __tlb_choose_channel(bond, hash_index, skb_len);
239 return tx_slave;
652 struct slave *tx_slave = NULL;
667 tx_slave = rlb_choose_channel(skb, bond, arp);
668 if (tx_slave)
669 bond_hw_addr_copy(arp->mac_src, tx_slave->dev->dev_addr,
670 tx_slave->dev->addr_len);
672 tx_slave ? tx_slave->dev->name : "NULL");
679 tx_slave = rlb_choose_channel(skb, bond, arp);
693 tx_slave ? tx_slave->dev->name : "NULL");
696 return tx_slave;
1307 struct slave *tx_slave)
1312 if (!tx_slave) {
1314 tx_slave = rcu_dereference(bond->curr_active_slave);
1319 if (tx_slave && bond_slave_can_tx(tx_slave)) {
1320 if (tx_slave != rcu_access_pointer(bond->curr_active_slave)) {
1322 tx_slave->dev->dev_addr);
1325 return bond_dev_queue_xmit(bond, skb, tx_slave->dev);
1328 if (tx_slave && bond->params.tlb_dynamic_lb) {
1330 __tlb_clear_slave(bond, tx_slave, 0);
1341 struct slave *tx_slave = NULL;
1357 tx_slave = tlb_choose_channel(bond,
1367 tx_slave = slaves->arr[hash_index %
1373 return tx_slave;
1379 struct slave *tx_slave;
1381 tx_slave = bond_xmit_tlb_slave_get(bond, skb);
1382 return bond_do_alb_xmit(skb, bond, tx_slave);
1390 struct slave *tx_slave = NULL;
1487 tx_slave = rlb_arp_xmit(skb, bond);
1497 tx_slave = tlb_choose_channel(bond, hash_index, skb->len);
1500 * do_tx_balance means we are free to select the tx_slave
1510 tx_slave = slaves->arr[bond_xmit_hash(bond, skb) %
1514 return tx_slave;
1520 struct slave *tx_slave = NULL;
1522 tx_slave = bond_xmit_alb_slave_get(bond, skb);
1523 return bond_do_alb_xmit(skb, bond, tx_slave);