Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npa.c331 int npalf, qints, hwctx_size, err, rc = 0; in rvu_mbox_handler_npa_lf_alloc() local
366 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_npa_lf_alloc()
368 NPA_AURA_COUNT(req->aura_sz), hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
378 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
379 err = qmem_alloc(rvu->dev, &pfvf->pool_ctx, req->nr_pools, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
393 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_npa_lf_alloc()
394 err = qmem_alloc(rvu->dev, &pfvf->npa_qints_ctx, qints, hwctx_size); in rvu_mbox_handler_npa_lf_alloc()
A Drvu_nix.c932 int rss_sz, int rss_grps, int hwctx_size, in nixlf_rss_ctx_init() argument
1496 int nixlf, qints, hwctx_size, intf, err, rc = 0; in rvu_mbox_handler_nix_lf_alloc() local
1562 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1563 err = qmem_alloc(rvu->dev, &pfvf->rq_ctx, req->rq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
1579 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1595 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1611 hwctx_size = 1UL << ((ctx_cfg >> 12) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1613 req->rss_grps, hwctx_size, req->way_mask, in rvu_mbox_handler_nix_lf_alloc()
1621 hwctx_size = 1UL << ((ctx_cfg >> 24) & 0xF); in rvu_mbox_handler_nix_lf_alloc()
1622 err = qmem_alloc(rvu->dev, &pfvf->cq_ints_ctx, qints, hwctx_size); in rvu_mbox_handler_nix_lf_alloc()
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
A Dmbox_init.c394 int qints, hwctx_size, err; in rvu_alloc_cint_qint_mem() local
404 hwctx_size = 1UL << ((ctx_cfg >> 24) & 0xF); in rvu_alloc_cint_qint_mem()
405 err = qmem_alloc(rvu->dev, &pfvf->cq_ints_ctx, qints, hwctx_size); in rvu_alloc_cint_qint_mem()
415 hwctx_size = 1UL << ((ctx_cfg >> 20) & 0xF); in rvu_alloc_cint_qint_mem()
416 err = qmem_alloc(rvu->dev, &pfvf->nix_qints_ctx, qints, hwctx_size); in rvu_alloc_cint_qint_mem()

Completed in 17 milliseconds