Searched refs:remain_q_num (Results 1 – 1 of 1) sorted by relevance
1181 u32 remain_q_num, vfq_num; in qm_get_vf_qp_num() local1188 remain_q_num = (qm->ctrl_qp_num - qm->qp_num) % num_vfs; 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()3950 u32 remain_q_num, vfs_q_num, act_q_num, q_num, i, j; in qm_vf_q_assign() local3965 remain_q_num = vfs_q_num % num_vfs; in qm_vf_q_assign()3972 if (i == num_vfs && q_num + remain_q_num <= max_qp_num) { in qm_vf_q_assign()3973 act_q_num = q_num + remain_q_num; in qm_vf_q_assign()3974 remain_q_num = 0; in qm_vf_q_assign()[all …]