Home
last modified time | relevance | path

Searched refs:hash_idx (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dflowring.c63 u16 hash_idx; in brcmf_flowring_lookup() local
93 hash_idx++; in brcmf_flowring_lookup()
108 u16 hash_idx; in brcmf_flowring_create() local
137 hash_idx++; in brcmf_flowring_create()
153 hash[hash_idx].fifo = fifo; in brcmf_flowring_create()
155 hash[hash_idx].flowid = i; in brcmf_flowring_create()
157 ring->hash_id = hash_idx; in brcmf_flowring_create()
232 u16 hash_idx; in brcmf_flowring_delete() local
244 hash_idx = ring->hash_id; in brcmf_flowring_delete()
349 u16 hash_idx; in brcmf_flowring_ifidx_get() local
[all …]
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.c82 u8 intf, u8 hash_idx) in npc_field_hash_calc() argument
94 data_padded[0] = rsp.hash_mask[intf][hash_idx][0] & ldata[0]; in npc_field_hash_calc()
95 data_padded[1] = rsp.hash_mask[intf][hash_idx][1] & ldata[1]; in npc_field_hash_calc()
99 field_hash += FIELD_GET(GENMASK(31, 0), rsp.hash_ctrl[intf][hash_idx]); in npc_field_hash_calc()
289 u8 hash_idx; in npc_update_field_hash() local
299 for (hash_idx = 0; hash_idx < NPC_MAX_HASH; hash_idx++) { in npc_update_field_hash()
306 if (mkex_hash->lid_lt_ld_hash_en[intf][lid][ltype][hash_idx]) { in npc_update_field_hash()
316 if ((features & BIT_ULL(NPC_SIP_IPV6)) && !hash_idx) { in npc_update_field_hash()
325 hash_idx); in npc_update_field_hash()
333 } else if ((features & BIT_ULL(NPC_DIP_IPV6)) && hash_idx) { in npc_update_field_hash()
[all …]
H A Drvu_npc_hash.h66 u8 intf, u8 hash_idx);
/linux-6.15/drivers/misc/bcm-vk/
H A Dbcm_vk_msg.c214 u32 hash_idx = hash_32(pid, VK_PID_HT_SHIFT_BIT); in bcm_vk_get_ctx() local
243 ctx->hash_idx = hash_idx; in bcm_vk_get_ctx()
244 list_add_tail(&ctx->node, &vk->pid_ht[hash_idx].head); in bcm_vk_get_ctx()
294 u32 hash_idx; in bcm_vk_free_ctx() local
316 hash_idx = ctx->hash_idx; in bcm_vk_free_ctx()
317 list_for_each_entry(entry, &vk->pid_ht[hash_idx].head, node) { in bcm_vk_free_ctx()
H A Dbcm_vk_msg.h87 u32 hash_idx; member
/linux-6.15/tools/perf/util/
H A Dbpf-filter.c76 int hash_idx; member
324 bpf_map_delete_elem(fd, &pfi->hash_idx); in destroy_idx_hash()
382 pfi->hash_idx = filter_idx; in create_idx_hash()
588 bpf_map_lookup_elem(fd, &pfi->hash_idx, &count); in perf_bpf_filter__lost_count()
/linux-6.15/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_ethtool.c706 int hash_idx, location; in fbnic_set_cls_rule_ins() local
744 hash_idx = fbnic_get_rss_hash_idx(flow_type); in fbnic_set_cls_rule_ins()
963 act_tcam->rss_en_mask = fbnic_flow_hash_2_rss_en_mask(fbn, hash_idx); in fbnic_set_cls_rule_ins()