Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c121 if (req->aura.pool_addr >= pfvf->pool_ctx->qsize) { in rvu_npa_aq_enq_inst()
126 req->aura.pool_addr = pfvf->pool_ctx->iova + in rvu_npa_aq_enq_inst()
127 (req->aura.pool_addr * pfvf->pool_ctx->entry_sz); in rvu_npa_aq_enq_inst()
209 if (!pfvf->pool_ctx || !pfvf->aura_ctx) in npa_lf_hwctx_disable()
218 cnt = pfvf->pool_ctx->qsize; in npa_lf_hwctx_disable()
311 qmem_free(rvu->dev, pfvf->pool_ctx); in npa_ctx_free()
312 pfvf->pool_ctx = NULL; in npa_ctx_free()
370 err = qmem_alloc(rvu->dev, &pfvf->pool_ctx, req->nr_pools, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
Dcommon.h128 struct npa_pool_s pool_ctx; member
Drvu_debugfs.c491 if (!pfvf->pool_ctx) { in print_npa_qsize()
495 pfvf->pool_ctx->qsize); in print_npa_qsize()
496 seq_printf(m, "Pool count : %d\n", pfvf->pool_ctx->qsize); in print_npa_qsize()
755 } else if (ctype == NPA_AQ_CTYPE_POOL && !pfvf->pool_ctx) { in rvu_dbg_npa_ctx_display()
768 max_id = pfvf->pool_ctx->qsize; in rvu_dbg_npa_ctx_display()
818 if (!pfvf->pool_ctx) { in write_npa_ctx()
822 max_id = pfvf->pool_ctx->qsize; in write_npa_ctx()
Drvu.h200 struct qmem *pool_ctx; member