Home
last modified time | relevance | path

Searched refs:tqmctx (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c386 struct bnxt_qplib_tqm_ctx *tqmctx; in bnxt_qplib_alloc_tqm_rings() local
390 tqmctx = &ctx->tqm_ctx; in bnxt_qplib_alloc_tqm_rings()
400 rc = bnxt_qplib_alloc_init_hwq(&tqmctx->pde, &hwq_attr); in bnxt_qplib_alloc_tqm_rings()
404 tqmctx->pde_level = tqmctx->pde.level; in bnxt_qplib_alloc_tqm_rings()
408 if (!tqmctx->qcount[i]) in bnxt_qplib_alloc_tqm_rings()
410 hwq_attr.depth = ctx->qpc_count * tqmctx->qcount[i]; in bnxt_qplib_alloc_tqm_rings()
411 rc = bnxt_qplib_alloc_init_hwq(&tqmctx->qtbl[i], &hwq_attr); in bnxt_qplib_alloc_tqm_rings()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c387 struct bnxt_qplib_tqm_ctx *tqmctx; in bnxt_qplib_alloc_tqm_rings() local
391 tqmctx = &ctx->tqm_ctx; in bnxt_qplib_alloc_tqm_rings()
401 rc = bnxt_qplib_alloc_init_hwq(&tqmctx->pde, &hwq_attr); in bnxt_qplib_alloc_tqm_rings()
405 tqmctx->pde_level = tqmctx->pde.level; in bnxt_qplib_alloc_tqm_rings()
409 if (!tqmctx->qcount[i]) in bnxt_qplib_alloc_tqm_rings()
411 hwq_attr.depth = ctx->qpc_count * tqmctx->qcount[i]; in bnxt_qplib_alloc_tqm_rings()
412 rc = bnxt_qplib_alloc_init_hwq(&tqmctx->qtbl[i], &hwq_attr); in bnxt_qplib_alloc_tqm_rings()

Completed in 3 milliseconds