Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npa.c322 int npalf, qints, hwctx_size, err, rc = 0; in rvu_mbox_handler_npa_lf_alloc() local
357 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_npa_lf_alloc()
359 NPA_AURA_COUNT(req->aura_sz), hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
369 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
370 err = qmem_alloc(rvu->dev, &pfvf->pool_ctx, req->nr_pools, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
384 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
385 err = qmem_alloc(rvu->dev, &pfvf->npa_qints_ctx, qints, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
A Drvu_nix.c759 int rss_sz, int rss_grps, int hwctx_size, in nixlf_rss_ctx_init() argument
1292 int nixlf, qints, hwctx_size, intf, err, rc = 0; in rvu_mbox_handler_nix_lf_alloc() local
1358 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1359 err = qmem_alloc(rvu->dev, &pfvf->rq_ctx, req->rq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
1375 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1391 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1407 hwctx_size = 1UL << ((ctx_cfg >> 12) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1409 req->rss_grps, hwctx_size, req->way_mask, in rvu_mbox_handler_nix_lf_alloc()
1417 hwctx_size = 1UL << ((ctx_cfg >> 24) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1418 err = qmem_alloc(rvu->dev, &pfvf->cq_ints_ctx, qints, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
[all …]

Completed in 13 milliseconds