Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c280 int npalf, qints, hwctx_size, err, rc = 0; in rvu_mbox_handler_npa_lf_alloc() local
312 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_npa_lf_alloc()
314 NPA_AURA_COUNT(req->aura_sz), hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
324 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
325 err = qmem_alloc(rvu->dev, &pfvf->pool_ctx, req->nr_pools, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
339 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
340 err = qmem_alloc(rvu->dev, &pfvf->npa_qints_ctx, qints, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
Drvu_nix.c385 int rss_sz, int rss_grps, int hwctx_size) in nixlf_rss_ctx_init() argument
395 err = qmem_alloc(rvu->dev, &pfvf->rss_ctx, num_indices, hwctx_size); in nixlf_rss_ctx_init()
737 int nixlf, qints, hwctx_size, intf, err, rc = 0; in rvu_mbox_handler_nix_lf_alloc() local
800 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
801 err = qmem_alloc(rvu->dev, &pfvf->rq_ctx, req->rq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
817 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_nix_lf_alloc()
818 err = qmem_alloc(rvu->dev, &pfvf->sq_ctx, req->sq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
832 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
833 err = qmem_alloc(rvu->dev, &pfvf->cq_ctx, req->cq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
847 hwctx_size = 1UL << ((ctx_cfg >> 12) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
[all …]