Home
last modified time | relevance | path

Searched refs:hash_val (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/net/core/
Dneighbour.c233 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/
Dipoib_main.c1276 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/
Dneighbour.h304 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/
Ddm9051.c1037 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()
Ddm9000.c841 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/
Dlpc_eth.c1112 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/
Dbe_hw.h283 u8 hash_val[4]; /* dword 3 */ member
/linux-6.6.21/drivers/net/ethernet/dec/tulip/
Ddmfe.c1458 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/
Dflow_netlink.c1164 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/
Dt4_msg.h237 __be32 hash_val; member
Dsge.c3472 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/
Dchcr_algo.c401 phys_cpl->rss_hdr_int.hash_val = 0; in dsgl_walk_end()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dcm.c4091 stid = (__force int) cpu_to_be32((__force u32) rss->hash_val); in rx_pkt()