/linux-6.6.21/net/core/ |
D | neighbour.c | 233 u32 hash_val; in neigh_remove_one() local 239 hash_val = tbl->hash(pkey, ndel->dev, nht->hash_rnd); in neigh_remove_one() 240 hash_val = hash_val >> (32 - nht->hash_shift); in neigh_remove_one() 242 np = &nht->hash_buckets[hash_val]; in neigh_remove_one() 643 u32 hash_val, key_len = tbl->key_len; in ___neigh_create() local 689 hash_val = tbl->hash(n->primary_key, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in ___neigh_create() 696 for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create() 717 rcu_dereference_protected(nht->hash_buckets[hash_val], in ___neigh_create() 719 rcu_assign_pointer(nht->hash_buckets[hash_val], n); in ___neigh_create() 743 u32 hash_val = *(u32 *)(pkey + key_len - 4); in pneigh_hash() local [all …]
|
/linux-6.6.21/drivers/infiniband/ulp/ipoib/ |
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-6.6.21/include/net/ |
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(nht->hash_buckets[hash_val]); in ___neigh_lookup_noref()
|
/linux-6.6.21/drivers/net/ethernet/davicom/ |
D | dm9051.c | 1037 u32 hash_val; in dm9051_set_rx_mode() local 1062 hash_val = ether_crc_le(ETH_ALEN, ha->addr) & GENMASK(5, 0); in dm9051_set_rx_mode() 1063 rxctrl.hash_table[hash_val / 16] |= BIT(0) << (hash_val % 16); in dm9051_set_rx_mode()
|
D | dm9000.c | 841 u32 hash_val; in dm9000_hash_table_unlocked() local 858 hash_val = ether_crc_le(6, ha->addr) & 0x3f; in dm9000_hash_table_unlocked() 859 hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16); in dm9000_hash_table_unlocked()
|
/linux-6.6.21/drivers/net/ethernet/nxp/ |
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-6.6.21/drivers/net/ethernet/emulex/benet/ |
D | be_hw.h | 283 u8 hash_val[4]; /* dword 3 */ member
|
/linux-6.6.21/drivers/net/ethernet/dec/tulip/ |
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-6.6.21/net/openvswitch/ |
D | flow_netlink.c | 1164 u32 hash_val = nla_get_u32(a[OVS_KEY_ATTR_DP_HASH]); in metadata_from_nlattrs() local 1166 SW_FLOW_KEY_PUT(match, ovs_flow_hash, hash_val, is_mask); in metadata_from_nlattrs()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_msg.h | 237 __be32 hash_val; member
|
D | sge.c | 3472 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in do_gro() 3758 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in t4_ethrx_handler()
|
/linux-6.6.21/drivers/crypto/chelsio/ |
D | chcr_algo.c | 401 phys_cpl->rss_hdr_int.hash_val = 0; in dsgl_walk_end()
|
/linux-6.6.21/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 4091 stid = (__force int) cpu_to_be32((__force u32) rss->hash_val); in rx_pkt()
|