Home
last modified time | relevance | path

Searched refs:npalf (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c1175 int npalf, id, all; in rvu_dbg_npa_ctx_display() local
1183 npalf = rvu->rvu_dbg.npa_aura_ctx.lf; in rvu_dbg_npa_ctx_display()
1189 npalf = rvu->rvu_dbg.npa_pool_ctx.lf; in rvu_dbg_npa_ctx_display()
1197 if (!rvu_dbg_is_valid_lf(rvu, BLKADDR_NPA, npalf, &pcifunc)) in rvu_dbg_npa_ctx_display()
1254 int npalf, int id, int ctype) in write_npa_ctx() argument
1260 if (!rvu_dbg_is_valid_lf(rvu, BLKADDR_NPA, npalf, &pcifunc)) in write_npa_ctx()
1288 rvu->rvu_dbg.npa_aura_ctx.lf = npalf; in write_npa_ctx()
1294 rvu->rvu_dbg.npa_pool_ctx.lf = npalf; in write_npa_ctx()
1305 const char __user *buffer, int *npalf, in parse_cmd_buffer_ctx() argument
1326 ret = subtoken ? kstrtoint(subtoken, 10, npalf) : -EINVAL; in parse_cmd_buffer_ctx()
[all …]
H A Drvu.c370 pfvf->npalf = attach ? true : false; in rvu_update_rsrc_map()
371 num_lfs = pfvf->npalf; in rvu_update_rsrc_map()
1282 return pfvf->npalf ? 1 : 0; in rvu_get_rsrc_mapcount()
1305 return pfvf->npalf ? 1 : 0; in is_blktype_attached()
1477 if (blkid == BLKADDR_NPA && !detach->npalf) in rvu_detach_rsrcs()
1634 if (req->npalf && !is_blktype_attached(pfvf, BLKTYPE_NPA)) { in rvu_check_rsrc_availability()
1639 } else if (req->npalf) { in rvu_check_rsrc_availability()
1774 if (attach->npalf) { in rvu_mbox_handler_attach_resources()
1858 if (attach->npalf) in rvu_mbox_handler_attach_resources()
H A Drvu.h245 bool npalf; /* Only one NPALF per RVU_FUNC */ member
1011 void rvu_npa_lf_teardown(struct rvu *rvu, u16 pcifunc, int npalf);
1022 void rvu_nix_lf_teardown(struct rvu *rvu, u16 pcifunc, int blkaddr, int npalf);
H A Dmbox.h505 u8 npalf:1; member
522 u8 npalf:1; member
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_common.c1682 struct npa_lf_alloc_req *npalf;
1699 npalf = otx2_mbox_alloc_msg_npa_lf_alloc(&pfvf->mbox); in otx2_config_npa()
1700 if (!npalf) in otx2_config_npa()
1704 npalf->nr_pools = hw->pool_cnt; in otx2_config_npa()
1706 npalf->aura_sz = (aura_cnt >= ilog2(128)) ? (aura_cnt - 6) : 1; in otx2_config_npa()
1746 attach->npalf = true; in otx2_attach_npa_nix()
1686 struct npa_lf_alloc_req *npalf; otx2_config_npa() local