Searched refs:hash_val (Results 1 – 12 of 12) sorted by relevance
/linux/net/core/ |
A D | neighbour.c | 233 u32 hash_val; in neigh_remove_one() local 240 hash_val = hash_val >> (32 - nht->hash_shift); in neigh_remove_one() 242 np = &nht->hash_buckets[hash_val]; in neigh_remove_one() 582 u32 hash_val; in neigh_lookup_nodev() local 613 u32 hash_val, key_len = tbl->key_len; in ___neigh_create() local 714 hash_val ^= (hash_val >> 16); in pneigh_hash() 715 hash_val ^= hash_val >> 8; in pneigh_hash() 716 hash_val ^= hash_val >> 4; in pneigh_hash() 717 hash_val &= PNEIGH_HASHMASK; in pneigh_hash() 718 return hash_val; in pneigh_hash() [all …]
|
/linux/drivers/infiniband/ulp/ipoib/ |
A D | ipoib_main.c | 1276 u32 hash_val; in ipoib_neigh_get() local 1285 hash_val = ipoib_addr_hash(htbl, daddr); in ipoib_neigh_get() 1286 for (neigh = rcu_dereference_bh(htbl->buckets[hash_val]); in ipoib_neigh_get() 1398 u32 hash_val; in ipoib_neigh_alloc() local 1410 hash_val = ipoib_addr_hash(htbl, daddr); in ipoib_neigh_alloc() 1411 for (neigh = rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc() 1437 rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc() 1439 rcu_assign_pointer(htbl->buckets[hash_val], neigh); in ipoib_neigh_alloc() 1488 u32 hash_val; in ipoib_neigh_free() local 1495 hash_val = ipoib_addr_hash(htbl, neigh->daddr); in ipoib_neigh_free() [all …]
|
/linux/include/net/ |
A D | neighbour.h | 304 u32 hash_val; in ___neigh_lookup_noref() local 306 hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_lookup_noref() 307 for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
|
/linux/drivers/net/ethernet/nxp/ |
A D | lpc_eth.c | 1112 u32 tmp32, hash_val, hashlo, hashhi; in lpc_eth_set_multicast_list() local 1140 hash_val = (ether_crc(6, ha->addr) >> 23) & 0x3F; in lpc_eth_set_multicast_list() 1142 if (hash_val >= 32) in lpc_eth_set_multicast_list() 1143 hashhi |= 1 << (hash_val - 32); in lpc_eth_set_multicast_list() 1145 hashlo |= 1 << hash_val; in lpc_eth_set_multicast_list()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_hw.h | 283 u8 hash_val[4]; /* dword 3 */ member
|
/linux/drivers/net/ethernet/davicom/ |
A D | dm9000.c | 842 u32 hash_val; in dm9000_hash_table_unlocked() local 859 hash_val = ether_crc_le(6, ha->addr) & 0x3f; in dm9000_hash_table_unlocked() 860 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9000_hash_table_unlocked()
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | dmfe.c | 1458 u32 hash_val = cal_CRC((char *)ha->addr, 6, 0) & 0x3f; in dm9132_id_table() local 1460 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9132_id_table()
|
/linux/net/openvswitch/ |
A D | flow_netlink.c | 1151 u32 hash_val = nla_get_u32(a[OVS_KEY_ATTR_DP_HASH]); in metadata_from_nlattrs() local 1153 SW_FLOW_KEY_PUT(match, ovs_flow_hash, hash_val, is_mask); in metadata_from_nlattrs()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | t4_msg.h | 237 __be32 hash_val; member
|
A D | sge.c | 3470 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in do_gro() 3756 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in t4_ethrx_handler()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | cm.c | 4091 stid = (__force int) cpu_to_be32((__force u32) rss->hash_val); in rx_pkt()
|
/linux/drivers/crypto/chelsio/ |
A D | chcr_algo.c | 401 phys_cpl->rss_hdr_int.hash_val = 0; in dsgl_walk_end()
|
Completed in 69 milliseconds