Searched refs:qplib_ctx (Results 1 – 3 of 3) sorted by relevance
225 ctx = &rdev->qplib_ctx; in bnxt_re_limit_pf_res()237 rdev->qplib_ctx.tqm_ctx.qcount[i] = in bnxt_re_limit_pf_res()241 static void bnxt_re_limit_vf_res(struct bnxt_qplib_ctx *qplib_ctx, u32 num_vf) in bnxt_re_limit_vf_res() argument248 vf_res = &qplib_ctx->vf_res; in bnxt_re_limit_vf_res()256 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()257 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()258 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()267 if (qplib_ctx->mrw_count < BNXT_RE_MAX_MRW_COUNT_64K) { in bnxt_re_limit_vf_res()268 mrws = qplib_ctx->mrw_count * vf_pct; in bnxt_re_limit_vf_res()271 mrws = qplib_ctx->mrw_count - BNXT_RE_RESVD_MR_FOR_PF; in bnxt_re_limit_vf_res()[all …]
307 hw_stats = rdev->qplib_ctx.stats.dma; in bnxt_re_ib_get_hw_stats()
4327 resp.max_qp = rdev->qplib_ctx.qpc_count; in bnxt_re_alloc_ucontext()