Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c124 if (req->aura.pool_addr >= pfvf->pool_ctx->qsize) { in rvu_npa_aq_enq_inst()
129 req->aura.pool_addr = pfvf->pool_ctx->iova + in rvu_npa_aq_enq_inst()
130 (req->aura.pool_addr * pfvf->pool_ctx->entry_sz); in rvu_npa_aq_enq_inst()
212 if (!pfvf->pool_ctx || !pfvf->aura_ctx) in npa_lf_hwctx_disable()
221 cnt = pfvf->pool_ctx->qsize; in npa_lf_hwctx_disable()
314 qmem_free(rvu->dev, pfvf->pool_ctx); in npa_ctx_free()
315 pfvf->pool_ctx = NULL; in npa_ctx_free()
373 err = qmem_alloc(rvu->dev, &pfvf->pool_ctx, req->nr_pools, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
Dcommon.h131 struct npa_pool_s pool_ctx; member
Drvu_debugfs.c363 if (!pfvf->pool_ctx) { in print_npa_qsize()
367 pfvf->pool_ctx->qsize); in print_npa_qsize()
368 seq_printf(m, "Pool count : %d\n", pfvf->pool_ctx->qsize); in print_npa_qsize()
596 } else if (ctype == NPA_AQ_CTYPE_POOL && !pfvf->pool_ctx) { in rvu_dbg_npa_ctx_display()
609 max_id = pfvf->pool_ctx->qsize; in rvu_dbg_npa_ctx_display()
659 if (!pfvf->pool_ctx) { in write_npa_ctx()
663 max_id = pfvf->pool_ctx->qsize; in write_npa_ctx()
Drvu.h149 struct qmem *pool_ctx; member