Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dmain.c223 ctx = &rdev->qplib_ctx; in bnxt_re_limit_pf_res()
235 rdev->qplib_ctx.tqm_ctx.qcount[i] = in bnxt_re_limit_pf_res()
239 static void bnxt_re_limit_vf_res(struct bnxt_qplib_ctx *qplib_ctx, u32 num_vf) in bnxt_re_limit_vf_res() argument
246 vf_res = &qplib_ctx->vf_res; 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()
265 if (qplib_ctx->mrw_count < BNXT_RE_MAX_MRW_COUNT_64K) { in bnxt_re_limit_vf_res()
266 mrws = qplib_ctx->mrw_count * vf_pct; in bnxt_re_limit_vf_res()
269 mrws = qplib_ctx->mrw_count - BNXT_RE_RESVD_MR_FOR_PF; in bnxt_re_limit_vf_res()
[all …]
Dbnxt_re.h195 struct bnxt_qplib_ctx qplib_ctx; member
Dhw_counters.c307 hw_stats = rdev->qplib_ctx.stats.dma; in bnxt_re_ib_get_hw_stats()
Dib_verbs.c4247 resp.max_qp = rdev->qplib_ctx.qpc_count; in bnxt_re_alloc_ucontext()