Searched refs:npalf (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npa.c | 57 int blkaddr, npalf, rc = 0; in rvu_npa_aq_enq_inst() local 70 if (!pfvf->npalf || blkaddr < 0) in rvu_npa_aq_enq_inst() 80 npalf = rvu_get_lf(rvu, block, pcifunc, 0); in rvu_npa_aq_enq_inst() 81 if (npalf < 0) in rvu_npa_aq_enq_inst() 86 inst.lf = npalf; in rvu_npa_aq_enq_inst() 322 int npalf, qints, hwctx_size, err, rc = 0; in rvu_mbox_handler_npa_lf_alloc() local 339 if (!pfvf->npalf || blkaddr < 0) in rvu_mbox_handler_npa_lf_alloc() 343 npalf = rvu_get_lf(rvu, block, pcifunc, 0); in rvu_mbox_handler_npa_lf_alloc() 344 if (npalf < 0) in rvu_mbox_handler_npa_lf_alloc() 348 err = rvu_lf_reset(rvu, block, npalf); in rvu_mbox_handler_npa_lf_alloc() [all …]
|
D | rvu_debugfs.c | 726 int npalf, id, all; in rvu_dbg_npa_ctx_display() local 734 npalf = rvu->rvu_dbg.npa_aura_ctx.lf; in rvu_dbg_npa_ctx_display() 740 npalf = rvu->rvu_dbg.npa_pool_ctx.lf; in rvu_dbg_npa_ctx_display() 748 if (!rvu_dbg_is_valid_lf(rvu, BLKADDR_NPA, npalf, &pcifunc)) in rvu_dbg_npa_ctx_display() 800 int npalf, int id, int ctype) in write_npa_ctx() argument 806 if (!rvu_dbg_is_valid_lf(rvu, BLKADDR_NPA, npalf, &pcifunc)) in write_npa_ctx() 834 rvu->rvu_dbg.npa_aura_ctx.lf = npalf; in write_npa_ctx() 840 rvu->rvu_dbg.npa_pool_ctx.lf = npalf; in write_npa_ctx() 851 const char __user *buffer, int *npalf, in parse_cmd_buffer_ctx() argument 872 ret = subtoken ? kstrtoint(subtoken, 10, npalf) : -EINVAL; in parse_cmd_buffer_ctx() [all …]
|
D | rvu.h | 184 bool npalf; /* Only one NPALF per RVU_FUNC */ member 716 void rvu_npa_lf_teardown(struct rvu *rvu, u16 pcifunc, int npalf); 727 void rvu_nix_lf_teardown(struct rvu *rvu, u16 pcifunc, int blkaddr, int npalf);
|
D | rvu.c | 364 pfvf->npalf = attach ? true : false; in rvu_update_rsrc_map() 365 num_lfs = pfvf->npalf; in rvu_update_rsrc_map() 1214 return pfvf->npalf ? 1 : 0; in rvu_get_rsrc_mapcount() 1237 return pfvf->npalf ? 1 : 0; in is_blktype_attached() 1354 if (blkid == BLKADDR_NPA && !detach->npalf) in rvu_detach_rsrcs() 1502 if (req->npalf && !is_blktype_attached(pfvf, BLKTYPE_NPA)) { in rvu_check_rsrc_availability() 1507 } else if (req->npalf) { in rvu_check_rsrc_availability() 1639 if (attach->npalf) in rvu_mbox_handler_attach_resources()
|
D | mbox.h | 345 u8 npalf:1; member 362 u8 npalf:1; member
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.c | 1386 struct npa_lf_alloc_req *npalf; in otx2_config_npa() local 1403 npalf = otx2_mbox_alloc_msg_npa_lf_alloc(&pfvf->mbox); in otx2_config_npa() 1404 if (!npalf) in otx2_config_npa() 1408 npalf->nr_pools = hw->pool_cnt; in otx2_config_npa() 1410 npalf->aura_sz = (aura_cnt >= ilog2(128)) ? (aura_cnt - 6) : 1; in otx2_config_npa() 1450 attach->npalf = true; in otx2_attach_npa_nix()
|