Searched refs:qmem_alloc (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npa.c | 361 err = qmem_alloc(rvu->dev, &pfvf->aura_ctx, in rvu_mbox_handler_npa_lf_alloc() 373 err = qmem_alloc(rvu->dev, &pfvf->pool_ctx, req->nr_pools, hwctx_size); in rvu_mbox_handler_npa_lf_alloc() 388 err = qmem_alloc(rvu->dev, &pfvf->npa_qints_ctx, qints, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
|
D | common.h | 51 static inline int qmem_alloc(struct device *dev, struct qmem **q, in qmem_alloc() function
|
D | rvu_nix.c | 559 err = qmem_alloc(rvu->dev, &pfvf->rss_ctx, num_indices, hwctx_size); in nixlf_rss_ctx_init() 1029 err = qmem_alloc(rvu->dev, &pfvf->rq_ctx, req->rq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1046 err = qmem_alloc(rvu->dev, &pfvf->sq_ctx, req->sq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1062 err = qmem_alloc(rvu->dev, &pfvf->cq_ctx, req->cq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1087 err = qmem_alloc(rvu->dev, &pfvf->cq_ints_ctx, qints, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1101 err = qmem_alloc(rvu->dev, &pfvf->nix_qints_ctx, qints, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 2145 err = qmem_alloc(rvu->dev, &mcast->mce_ctx, in nix_setup_mcast() 2159 err = qmem_alloc(rvu->dev, &mcast->mcast_buf, in nix_setup_mcast()
|
D | rvu.c | 998 err = qmem_alloc(rvu->dev, &aq->inst, qsize, inst_size); in rvu_aq_alloc() 1005 err = qmem_alloc(rvu->dev, &aq->res, qsize, res_size); in rvu_aq_alloc()
|
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.c | 749 err = qmem_alloc(pfvf->dev, &sq->sqe, 1, sq->sqe_size); in otx2_sq_init() 753 err = qmem_alloc(pfvf->dev, &sq->tso_hdrs, qset->sqe_cnt, in otx2_sq_init() 764 err = qmem_alloc(pfvf->dev, &sq->timestamps, qset->sqe_cnt, in otx2_sq_init() 834 err = qmem_alloc(pfvf->dev, &cq->cqe, cq->cqe_cnt, cq->cqe_size); in otx2_cq_init() 1098 err = qmem_alloc(pfvf->dev, &pool->fc_addr, 1, OTX2_ALIGN); in otx2_aura_init() 1152 err = qmem_alloc(pfvf->dev, &pool->stack, in otx2_pool_init()
|