Home
last modified time | relevance | path

Searched refs:mrw_count (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dmain.c161 ctx->mrw_count = BNXT_RE_MAX_MRW_COUNT_256K; in bnxt_re_limit_pf_res()
163 ctx->mrw_count = min_t(u32, ctx->mrw_count, attr->max_mr); in bnxt_re_limit_pf_res()
199 if (qplib_ctx->mrw_count < BNXT_RE_MAX_MRW_COUNT_64K) { in bnxt_re_limit_vf_res()
200 mrws = qplib_ctx->mrw_count * vf_pct; in bnxt_re_limit_vf_res()
203 mrws = qplib_ctx->mrw_count - BNXT_RE_RESVD_MR_FOR_PF; in bnxt_re_limit_vf_res()
H A Dqplib_res.h246 u32 mrw_count; member
H A Dqplib_sp.c183 req.number_of_mrw = cpu_to_le32(ctx->mrw_count); in bnxt_qplib_set_func_resources()
H A Dqplib_res.c522 hwq_attr.depth = ctx->mrw_count; in bnxt_qplib_alloc_ctx()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dmain.c212 ctx->mrw_count = BNXT_RE_MAX_MRW_COUNT_256K; in bnxt_re_limit_pf_res()
214 ctx->mrw_count = min_t(u32, ctx->mrw_count, attr->max_mr); in bnxt_re_limit_pf_res()
250 if (qplib_ctx->mrw_count < BNXT_RE_MAX_MRW_COUNT_64K) { in bnxt_re_limit_vf_res()
251 mrws = qplib_ctx->mrw_count * vf_pct; in bnxt_re_limit_vf_res()
254 mrws = qplib_ctx->mrw_count - BNXT_RE_RESVD_MR_FOR_PF; in bnxt_re_limit_vf_res()
H A Dqplib_res.h261 u32 mrw_count; member
H A Dqplib_sp.c194 req.number_of_mrw = cpu_to_le32(ctx->mrw_count); in bnxt_qplib_set_func_resources()
H A Dqplib_res.c523 hwq_attr.depth = ctx->mrw_count; in bnxt_qplib_alloc_ctx()

Completed in 12 milliseconds