Home
last modified time | relevance | path

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

/openbmc/linux/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()