Searched refs:hwctx_size (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/ |
| H A D | mbox_init.c | 411 int qints, hwctx_size, err; in rvu_alloc_cint_qint_mem() local 427 hwctx_size = 1UL << ((ctx_cfg >> 24) & 0xF); in rvu_alloc_cint_qint_mem() 428 err = qmem_alloc(rvu->dev, &pfvf->cq_ints_ctx, qints, hwctx_size); in rvu_alloc_cint_qint_mem() 438 hwctx_size = 1UL << ((ctx_cfg >> 20) & 0xF); in rvu_alloc_cint_qint_mem() 439 err = qmem_alloc(rvu->dev, &pfvf->nix_qints_ctx, qints, hwctx_size); in rvu_alloc_cint_qint_mem()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 946 int rss_sz, int rss_grps, int hwctx_size, in nixlf_rss_ctx_init() argument 958 err = qmem_alloc(rvu->dev, &pfvf->rss_ctx, num_indices, hwctx_size); in nixlf_rss_ctx_init() 1516 int nixlf, qints, hwctx_size, intf, rc = 0, pf; in rvu_mbox_handler_nix_lf_alloc() local 1586 hwctx_size = 1UL << ((ctx_cfg >> 4) & 0xF); in rvu_mbox_handler_nix_lf_alloc() 1587 rc = qmem_alloc(rvu->dev, &pfvf->rq_ctx, req->rq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1605 hwctx_size = 1UL << (ctx_cfg & 0xF); in rvu_mbox_handler_nix_lf_alloc() 1606 rc = qmem_alloc(rvu->dev, &pfvf->sq_ctx, req->sq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1623 hwctx_size = 1UL << ((ctx_cfg >> 8) & 0xF); in rvu_mbox_handler_nix_lf_alloc() 1624 rc = qmem_alloc(rvu->dev, &pfvf->cq_ctx, req->cq_cnt, hwctx_size); in rvu_mbox_handler_nix_lf_alloc() 1641 hwctx_size = 1UL << ((ctx_cfg >> 12) & 0xF); in rvu_mbox_handler_nix_lf_alloc() [all …]
|