Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmetadata.c210 struct nfp_mask_id_table *mask_entry; in nfp_add_mask_table() local
217 mask_entry = kmalloc_obj(*mask_entry); 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/drivers/infiniband/hw/mlx5/
H A Ddevx.c2019 int mask_entry; in is_valid_events() local
2037 mask_entry = event_type_num_list[i] / 64; in is_valid_events()
2045 if (!(be64_to_cpu(aff_events[mask_entry]) & in is_valid_events()
2052 if (!(be64_to_cpu(unaff_events[mask_entry]) & in is_valid_events()
2456 int mask_entry; in is_unaffiliated_event() local
2466 mask_entry = event_type / 64; in is_unaffiliated_event()
2469 if (!(be64_to_cpu(unaff_events[mask_entry]) & (1ull << mask_bit))) in is_unaffiliated_event()
/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_main.c2746 struct dsaf_drv_mac_single_dest_entry mask_entry; in set_promisc_tcam_enable() local
2798 memset(&mask_entry, 0x0, sizeof(mask_entry)); in set_promisc_tcam_enable()
2801 mask_entry.addr[0] = 0x01; in set_promisc_tcam_enable()
2802 hns_dsaf_set_mac_key(dsaf_dev, &mask_key, mask_entry.in_vlan_id, in set_promisc_tcam_enable()
2803 0xf, mask_entry.addr); in set_promisc_tcam_enable()