Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/bonding/
Dbond_alb.c211 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel() argument
219 assigned_slave = hash_table[hash_index].tx_slave; in __tlb_choose_channel()
228 hash_table[hash_index].tx_slave = assigned_slave; in __tlb_choose_channel()
229 hash_table[hash_index].next = next_index; in __tlb_choose_channel()
230 hash_table[hash_index].prev = TLB_NULL_INDEX; in __tlb_choose_channel()
233 hash_table[next_index].prev = hash_index; in __tlb_choose_channel()
235 slave_info->head = hash_index; in __tlb_choose_channel()
237 hash_table[hash_index].load_history; in __tlb_choose_channel()
242 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel()
247 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel() argument
[all …]
Dbond_debugfs.c23 u32 hash_index; in bond_debug_rlb_hash_show() local
33 hash_index = bond_info->rx_hashtbl_used_head; in bond_debug_rlb_hash_show()
34 for (; hash_index != RLB_NULL_INDEX; in bond_debug_rlb_hash_show()
35 hash_index = client_info->used_next) { in bond_debug_rlb_hash_show()
36 client_info = &(bond_info->rx_hashtbl[hash_index]); in bond_debug_rlb_hash_show()
/Linux-v4.19/drivers/net/ethernet/freescale/fs_enet/
Dmac-fec.c180 int temp, hash_index; in set_multicast_one() local
186 hash_index = ((temp & 0x01) << 4) | in set_multicast_one()
191 csrVal = 1 << hash_index; in set_multicast_one()
/Linux-v4.19/drivers/net/ethernet/cadence/
Dmacb_main.c2284 int hash_index = 0; in hash_get_index() local
2290 hash_index |= (bitval << j); in hash_get_index()
2293 return hash_index; in hash_get_index()