Home
last modified time | relevance | path

Searched refs:qs_cfg (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/intel/ice/
Dice_base.c16 static int __ice_vsi_get_qs_contig(struct ice_qs_cfg *qs_cfg) in __ice_vsi_get_qs_contig() argument
20 mutex_lock(qs_cfg->qs_mutex); in __ice_vsi_get_qs_contig()
21 offset = bitmap_find_next_zero_area(qs_cfg->pf_map, qs_cfg->pf_map_size, in __ice_vsi_get_qs_contig()
22 0, qs_cfg->q_count, 0); in __ice_vsi_get_qs_contig()
23 if (offset >= qs_cfg->pf_map_size) { in __ice_vsi_get_qs_contig()
24 mutex_unlock(qs_cfg->qs_mutex); in __ice_vsi_get_qs_contig()
28 bitmap_set(qs_cfg->pf_map, offset, qs_cfg->q_count); in __ice_vsi_get_qs_contig()
29 for (i = 0; i < qs_cfg->q_count; i++) in __ice_vsi_get_qs_contig()
30 qs_cfg->vsi_map[i + qs_cfg->vsi_map_offset] = (u16)(i + offset); in __ice_vsi_get_qs_contig()
31 mutex_unlock(qs_cfg->qs_mutex); in __ice_vsi_get_qs_contig()
[all …]
Dice_base.h10 int __ice_vsi_get_qs(struct ice_qs_cfg *qs_cfg);
/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c958 struct qs_cfg *qs_cfg; in nicvf_qset_config() local
975 qs_cfg = (struct qs_cfg *)&mbx.qs.cfg; in nicvf_qset_config()
977 qs_cfg->ena = 1; in nicvf_qset_config()
979 qs_cfg->be = 1; in nicvf_qset_config()
981 qs_cfg->vnic = qs->vnic_id; in nicvf_qset_config()
984 qs_cfg->send_tstmp_ena = 1; in nicvf_qset_config()
Dq_struct.h668 struct qs_cfg { struct