Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
A Dmetadata.c217 mask_entry = kmalloc(sizeof(*mask_entry), GFP_KERNEL); in nfp_add_mask_table()
218 if (!mask_entry) { in nfp_add_mask_table()
227 mask_entry->ref_cnt = 1; in nfp_add_mask_table()
244 return mask_entry; in nfp_search_mask_table()
255 if (!mask_entry) in nfp_find_in_mask_table()
258 mask_entry->ref_cnt++; in nfp_find_in_mask_table()
261 return mask_entry->mask_id; in nfp_find_in_mask_table()
289 if (!mask_entry) in nfp_check_mask_remove()
293 mask_entry->ref_cnt--; in nfp_check_mask_remove()
294 if (!mask_entry->ref_cnt) { in nfp_check_mask_remove()
[all …]
/drivers/infiniband/hw/mlx5/
A Ddevx.c2004 int mask_entry; in is_valid_events() local
2022 mask_entry = event_type_num_list[i] / 64; in is_valid_events()
2030 if (!(be64_to_cpu(aff_events[mask_entry]) & in is_valid_events()
2037 if (!(be64_to_cpu(unaff_events[mask_entry]) & in is_valid_events()
2441 int mask_entry; in is_unaffiliated_event() local
2451 mask_entry = event_type / 64; in is_unaffiliated_event()
2454 if (!(be64_to_cpu(unaff_events[mask_entry]) & (1ull << mask_bit))) in is_unaffiliated_event()
/drivers/net/ethernet/hisilicon/hns/
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()

Completed in 21 milliseconds