Searched refs:npalf (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| A 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() 81 if (npalf < 0) in rvu_npa_aq_enq_inst() 86 inst.lf = npalf; in rvu_npa_aq_enq_inst() 339 if (!pfvf->npalf || blkaddr < 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() 433 int npalf, err; in rvu_mbox_handler_npa_lf_free() local 438 if (!pfvf->npalf || blkaddr < 0) in rvu_mbox_handler_npa_lf_free() 443 if (npalf < 0) in rvu_mbox_handler_npa_lf_free() [all …]
|
| A D | rvu_debugfs.c | 819 int npalf, id, all; in rvu_dbg_npa_ctx_display() local 827 npalf = rvu->rvu_dbg.npa_aura_ctx.lf; in rvu_dbg_npa_ctx_display() 833 npalf = rvu->rvu_dbg.npa_pool_ctx.lf; in rvu_dbg_npa_ctx_display() 893 int npalf, int id, int ctype) in write_npa_ctx() argument 927 rvu->rvu_dbg.npa_aura_ctx.lf = npalf; in write_npa_ctx() 933 rvu->rvu_dbg.npa_pool_ctx.lf = npalf; in write_npa_ctx() 944 const char __user *buffer, int *npalf, in parse_cmd_buffer_ctx() argument 965 ret = subtoken ? kstrtoint(subtoken, 10, npalf) : -EINVAL; in parse_cmd_buffer_ctx() 989 int npalf, id = 0, ret; in rvu_dbg_npa_ctx_write() local 999 &npalf, &id, &all); in rvu_dbg_npa_ctx_write() [all …]
|
| A D | rvu.h | 185 bool npalf; /* Only one NPALF per RVU_FUNC */ member 723 void rvu_npa_lf_teardown(struct rvu *rvu, u16 pcifunc, int npalf); 734 void rvu_nix_lf_teardown(struct rvu *rvu, u16 pcifunc, int blkaddr, int npalf);
|
| A D | rvu.c | 364 pfvf->npalf = attach ? true : false; in rvu_update_rsrc_map() 365 num_lfs = pfvf->npalf; in rvu_update_rsrc_map() 1220 return pfvf->npalf ? 1 : 0; in rvu_get_rsrc_mapcount() 1243 return pfvf->npalf ? 1 : 0; in is_blktype_attached() 1414 if (blkid == BLKADDR_NPA && !detach->npalf) in rvu_detach_rsrcs() 1562 if (req->npalf && !is_blktype_attached(pfvf, BLKTYPE_NPA)) { in rvu_check_rsrc_availability() 1567 } else if (req->npalf) { in rvu_check_rsrc_availability() 1699 if (attach->npalf) in rvu_mbox_handler_attach_resources()
|
| A D | mbox.h | 358 u8 npalf:1; member 375 u8 npalf:1; member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | otx2_common.c | 1396 struct npa_lf_alloc_req *npalf; in otx2_config_npa() local 1413 npalf = otx2_mbox_alloc_msg_npa_lf_alloc(&pfvf->mbox); in otx2_config_npa() 1414 if (!npalf) in otx2_config_npa() 1418 npalf->nr_pools = hw->pool_cnt; in otx2_config_npa() 1420 npalf->aura_sz = (aura_cnt >= ilog2(128)) ? (aura_cnt - 6) : 1; in otx2_config_npa() 1460 attach->npalf = true; in otx2_attach_npa_nix()
|
Completed in 27 milliseconds