Home
last modified time | relevance | path

Searched refs:vf_pct (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dmain.c177 u32 vf_pct; in bnxt_re_limit_vf_res() local
185 vf_pct = 100 - BNXT_RE_PCT_RSVD_FOR_PF; in bnxt_re_limit_vf_res()
188 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
189 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
190 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
200 mrws = qplib_ctx->mrw_count * vf_pct; in bnxt_re_limit_vf_res()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dmain.c228 u32 vf_pct; in bnxt_re_limit_vf_res() local
236 vf_pct = 100 - BNXT_RE_PCT_RSVD_FOR_PF; in bnxt_re_limit_vf_res()
239 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
240 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
241 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
251 mrws = qplib_ctx->mrw_count * vf_pct; in bnxt_re_limit_vf_res()

Completed in 5 milliseconds