Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c243 u32 vf_pct; in bnxt_re_limit_vf_res() local
251 vf_pct = 100 - BNXT_RE_PCT_RSVD_FOR_PF; in bnxt_re_limit_vf_res()
254 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
255 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
256 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
266 mrws = qplib_ctx->mrw_count * vf_pct; in bnxt_re_limit_vf_res()