Searched refs:vfq_num (Results 1 – 1 of 1) sorted by relevance
1372 u32 remain_q_num, vfq_num; in qm_get_vf_qp_num() local1375 vfq_num = (qm->ctrl_qp_num - qm->qp_num) / num_vfs; in qm_get_vf_qp_num()1376 if (vfq_num >= qm->max_qp_num) in qm_get_vf_qp_num()1380 if (vfq_num + remain_q_num <= qm->max_qp_num) in qm_get_vf_qp_num()1381 return fun_num == num_vfs ? vfq_num + remain_q_num : vfq_num; in qm_get_vf_qp_num()1387 return fun_num + remain_q_num > num_vfs ? vfq_num + 1 : vfq_num; in qm_get_vf_qp_num()