Searched refs:vfq_num (Results 1 – 1 of 1) sorted by relevance
1181 u32 remain_q_num, vfq_num; in qm_get_vf_qp_num() local1184 vfq_num = (qm->ctrl_qp_num - qm->qp_num) / num_vfs; in qm_get_vf_qp_num()1185 if (vfq_num >= qm->max_qp_num) in qm_get_vf_qp_num()1189 if (vfq_num + remain_q_num <= qm->max_qp_num) in qm_get_vf_qp_num()1190 return fun_num == num_vfs ? vfq_num + remain_q_num : vfq_num; in qm_get_vf_qp_num()1196 return fun_num + remain_q_num > num_vfs ? vfq_num + 1 : vfq_num; in qm_get_vf_qp_num()