Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/crypto/hisilicon/
Ddebugfs.c647 u32 remain_q_num, vfq_num; in qm_get_vf_qp_num() local
650 vfq_num = (qm->ctrl_qp_num - qm->qp_num) / num_vfs; in qm_get_vf_qp_num()
651 if (vfq_num >= qm->max_qp_num) in qm_get_vf_qp_num()
655 if (vfq_num + remain_q_num <= qm->max_qp_num) in qm_get_vf_qp_num()
656 return fun_num == num_vfs ? vfq_num + remain_q_num : vfq_num; in qm_get_vf_qp_num()
662 return fun_num + remain_q_num > num_vfs ? vfq_num + 1 : vfq_num; in qm_get_vf_qp_num()