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.c236 u32 vf_pct; in bnxt_re_limit_vf_res() local
244 vf_pct = 100 - BNXT_RE_PCT_RSVD_FOR_PF; in bnxt_re_limit_vf_res()
247 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
248 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
249 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()
259 mrws = qplib_ctx->mrw_count * vf_pct; in bnxt_re_limit_vf_res()