Searched refs:npalf (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npa.c | 66 int blkaddr, npalf, rc = 0; in rvu_npa_aq_enq_inst() local 79 if (!pfvf->npalf || blkaddr < 0) in rvu_npa_aq_enq_inst() 90 if (npalf < 0) in rvu_npa_aq_enq_inst() 95 inst.lf = npalf; in rvu_npa_aq_enq_inst() 348 if (!pfvf->npalf || blkaddr < 0) in rvu_mbox_handler_npa_lf_alloc() 353 if (npalf < 0) in rvu_mbox_handler_npa_lf_alloc() 357 err = rvu_lf_reset(rvu, block, npalf); in rvu_mbox_handler_npa_lf_alloc() 442 int npalf, err; in rvu_mbox_handler_npa_lf_free() local 447 if (!pfvf->npalf || blkaddr < 0) in rvu_mbox_handler_npa_lf_free() 452 if (npalf < 0) in rvu_mbox_handler_npa_lf_free() [all …]
|
| H A D | rvu_debugfs.c | 1136 int npalf, id, all; in rvu_dbg_npa_ctx_display() local 1144 npalf = rvu->rvu_dbg.npa_aura_ctx.lf; in rvu_dbg_npa_ctx_display() 1150 npalf = rvu->rvu_dbg.npa_pool_ctx.lf; in rvu_dbg_npa_ctx_display() 1215 int npalf, int id, int ctype) in write_npa_ctx() argument 1249 rvu->rvu_dbg.npa_aura_ctx.lf = npalf; in write_npa_ctx() 1255 rvu->rvu_dbg.npa_pool_ctx.lf = npalf; in write_npa_ctx() 1266 const char __user *buffer, int *npalf, in parse_cmd_buffer_ctx() argument 1287 ret = subtoken ? kstrtoint(subtoken, 10, npalf) : -EINVAL; in parse_cmd_buffer_ctx() 1311 int npalf, id = 0, ret; in rvu_dbg_npa_ctx_write() local 1321 &npalf, &id, &all); in rvu_dbg_npa_ctx_write() [all …]
|
| H A D | rvu.h | 217 bool npalf; /* Only one NPALF per RVU_FUNC */ member 917 void rvu_npa_lf_teardown(struct rvu *rvu, u16 pcifunc, int npalf); 928 void rvu_nix_lf_teardown(struct rvu *rvu, u16 pcifunc, int blkaddr, int npalf);
|
| H A D | rvu.c | 369 pfvf->npalf = attach ? true : false; in rvu_update_rsrc_map() 370 num_lfs = pfvf->npalf; in rvu_update_rsrc_map() 1254 return pfvf->npalf ? 1 : 0; in rvu_get_rsrc_mapcount() 1277 return pfvf->npalf ? 1 : 0; in is_blktype_attached() 1448 if (blkid == BLKADDR_NPA && !detach->npalf) in rvu_detach_rsrcs() 1596 if (req->npalf && !is_blktype_attached(pfvf, BLKTYPE_NPA)) { in rvu_check_rsrc_availability() 1601 } else if (req->npalf) { in rvu_check_rsrc_availability() 1733 if (attach->npalf) in rvu_mbox_handler_attach_resources()
|
| H A D | mbox.h | 455 u8 npalf:1; member 472 u8 npalf:1; member
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_common.c | 1676 struct npa_lf_alloc_req *npalf; in otx2_config_npa() local 1693 npalf = otx2_mbox_alloc_msg_npa_lf_alloc(&pfvf->mbox); in otx2_config_npa() 1694 if (!npalf) in otx2_config_npa() 1698 npalf->nr_pools = hw->pool_cnt; in otx2_config_npa() 1700 npalf->aura_sz = (aura_cnt >= ilog2(128)) ? (aura_cnt - 6) : 1; in otx2_config_npa() 1740 attach->npalf = true; in otx2_attach_npa_nix()
|