Searched refs:hash_index (Results 1 – 5 of 5) sorted by relevance
/drivers/net/bonding/ |
D | bond_alb.c | 190 static struct slave *__tlb_choose_channel(struct bonding *bond, u32 hash_index, in __tlb_choose_channel() argument 198 assigned_slave = hash_table[hash_index].tx_slave; in __tlb_choose_channel() 207 hash_table[hash_index].tx_slave = assigned_slave; in __tlb_choose_channel() 208 hash_table[hash_index].next = next_index; in __tlb_choose_channel() 209 hash_table[hash_index].prev = TLB_NULL_INDEX; in __tlb_choose_channel() 212 hash_table[next_index].prev = hash_index; in __tlb_choose_channel() 214 slave_info->head = hash_index; in __tlb_choose_channel() 216 hash_table[hash_index].load_history; in __tlb_choose_channel() 221 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel() 226 static struct slave *tlb_choose_channel(struct bonding *bond, u32 hash_index, in tlb_choose_channel() argument [all …]
|
D | bond_debugfs.c | 23 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()
|
/drivers/net/vxlan/ |
D | vxlan_core.c | 1303 u32 hash_index; in vxlan_fdb_add() local 1323 hash_index = fdb_head_index(vxlan, addr, src_vni); in vxlan_fdb_add() 1324 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add() 1329 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_add() 1376 u32 hash_index; in vxlan_fdb_delete() local 1385 hash_index = fdb_head_index(vxlan, addr, src_vni); in vxlan_fdb_delete() 1386 spin_lock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete() 1389 spin_unlock_bh(&vxlan->hash_lock[hash_index]); in vxlan_fdb_delete() 1526 u32 hash_index = fdb_head_index(vxlan, src_mac, vni); in vxlan_snoop() local 1529 spin_lock(&vxlan->hash_lock[hash_index]); in vxlan_snoop() [all …]
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | mac-fec.c | 180 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()
|
/drivers/net/ethernet/cadence/ |
D | macb_main.c | 2541 int hash_index = 0; in hash_get_index() local 2547 hash_index |= (bitval << j); in hash_get_index() 2550 return hash_index; in hash_get_index()
|