Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.c394 struct bnxt_qplib_tqm_ctx *tqmctx; in bnxt_qplib_alloc_tqm_rings() local
398 tqmctx = &ctx->tqm_ctx; in bnxt_qplib_alloc_tqm_rings()
408 rc = bnxt_qplib_alloc_init_hwq(&tqmctx->pde, &hwq_attr); in bnxt_qplib_alloc_tqm_rings()
412 tqmctx->pde_level = tqmctx->pde.level; in bnxt_qplib_alloc_tqm_rings()
416 if (!tqmctx->qcount[i]) in bnxt_qplib_alloc_tqm_rings()
418 hwq_attr.depth = ctx->qpc_count * tqmctx->qcount[i]; in bnxt_qplib_alloc_tqm_rings()
419 rc = bnxt_qplib_alloc_init_hwq(&tqmctx->qtbl[i], &hwq_attr); in bnxt_qplib_alloc_tqm_rings()