Home
last modified time | relevance | path

Searched refs:mask_entry (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c210 struct nfp_mask_id_table *mask_entry; in nfp_add_mask_table() local
217 mask_entry = kmalloc(sizeof(*mask_entry), GFP_KERNEL); in nfp_add_mask_table()
218 if (!mask_entry) { in nfp_add_mask_table()
223 INIT_HLIST_NODE(&mask_entry->link); in nfp_add_mask_table()
224 mask_entry->mask_id = mask_id; in nfp_add_mask_table()
226 mask_entry->hash_key = hash_key; in nfp_add_mask_table()
227 mask_entry->ref_cnt = 1; in nfp_add_mask_table()
228 hash_add(priv->mask_table, &mask_entry->link, hash_key); in nfp_add_mask_table()
237 struct nfp_mask_id_table *mask_entry; in nfp_search_mask_table() local
242 hash_for_each_possible(priv->mask_table, mask_entry, link, hash_key) in nfp_search_mask_table()
[all …]
/linux-5.19.10/drivers/infiniband/hw/mlx5/
Ddevx.c1933 int mask_entry; in is_valid_events() local
1951 mask_entry = event_type_num_list[i] / 64; in is_valid_events()
1959 if (!(be64_to_cpu(aff_events[mask_entry]) & in is_valid_events()
1966 if (!(be64_to_cpu(unaff_events[mask_entry]) & in is_valid_events()
2351 int mask_entry; in is_unaffiliated_event() local
2361 mask_entry = event_type / 64; in is_unaffiliated_event()
2364 if (!(be64_to_cpu(unaff_events[mask_entry]) & (1ull << mask_bit))) in is_unaffiliated_event()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c2768 struct dsaf_drv_mac_single_dest_entry mask_entry; in set_promisc_tcam_enable() local
2820 memset(&mask_entry, 0x0, sizeof(mask_entry)); in set_promisc_tcam_enable()
2823 mask_entry.addr[0] = 0x01; in set_promisc_tcam_enable()
2824 hns_dsaf_set_mac_key(dsaf_dev, &mask_key, mask_entry.in_vlan_id, in set_promisc_tcam_enable()
2825 0xf, mask_entry.addr); in set_promisc_tcam_enable()