Searched refs:pfvf (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npa.c | 64 struct rvu_pfvf *pfvf; in rvu_npa_aq_enq_inst() local 68 pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npa_aq_enq_inst() 69 if (!pfvf->aura_ctx || req->aura_id >= pfvf->aura_ctx->qsize) in rvu_npa_aq_enq_inst() 73 if (!pfvf->npalf || blkaddr < 0) in rvu_npa_aq_enq_inst() 119 if (req->aura.pool_addr >= pfvf->pool_ctx->qsize) { in rvu_npa_aq_enq_inst() 124 req->aura.pool_addr = pfvf->pool_ctx->iova + in rvu_npa_aq_enq_inst() 125 (req->aura.pool_addr * pfvf->pool_ctx->entry_sz); in rvu_npa_aq_enq_inst() 156 __set_bit(req->aura_id, pfvf->aura_bmap); in rvu_npa_aq_enq_inst() 159 (test_bit(req->aura_id, pfvf->aura_bmap) & in rvu_npa_aq_enq_inst() 162 __set_bit(req->aura_id, pfvf->aura_bmap); in rvu_npa_aq_enq_inst() [all …]
|
D | rvu_nix.c | 73 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in is_nixlf_attached() local 77 if (!pfvf->nixlf || blkaddr < 0) in is_nixlf_attached() 172 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in nix_interface_init() local 183 pfvf->cgx_lmac = rvu->pf2cgxlmac_map[pf]; in nix_interface_init() 184 rvu_get_cgx_lmac_id(pfvf->cgx_lmac, &cgx_id, &lmac_id); in nix_interface_init() 192 pfvf->rx_chan_base = NIX_CHAN_CGX_LMAC_CHX(cgx_id, lmac_id, 0); in nix_interface_init() 193 pfvf->tx_chan_base = pfvf->rx_chan_base; in nix_interface_init() 194 pfvf->rx_chan_cnt = 1; in nix_interface_init() 195 pfvf->tx_chan_cnt = 1; in nix_interface_init() 197 rvu_npc_set_pkind(rvu, pkind, pfvf); in nix_interface_init() [all …]
|
D | rvu.c | 28 static void rvu_set_msix_offset(struct rvu *rvu, struct rvu_pfvf *pfvf, 30 static void rvu_clear_msix_offset(struct rvu *rvu, struct rvu_pfvf *pfvf, 259 static void rvu_update_rsrc_map(struct rvu *rvu, struct rvu_pfvf *pfvf, in rvu_update_rsrc_map() argument 287 pfvf->npalf = attach ? true : false; in rvu_update_rsrc_map() 288 num_lfs = pfvf->npalf; in rvu_update_rsrc_map() 291 pfvf->nixlf = attach ? true : false; in rvu_update_rsrc_map() 292 num_lfs = pfvf->nixlf; in rvu_update_rsrc_map() 295 attach ? pfvf->sso++ : pfvf->sso--; in rvu_update_rsrc_map() 296 num_lfs = pfvf->sso; in rvu_update_rsrc_map() 299 attach ? pfvf->ssow++ : pfvf->ssow--; in rvu_update_rsrc_map() [all …]
|
D | rvu_npc.c | 36 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf) in rvu_npc_set_pkind() argument 311 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_install_ucast_entry() local 365 memcpy(&pfvf->entry, &entry, sizeof(entry)); in rvu_npc_install_ucast_entry() 453 struct rvu_pfvf *pfvf; in rvu_npc_install_bcast_match_entry() local 465 pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_npc_install_bcast_match_entry() 502 action.index = pfvf->bcast_mce_idx; in rvu_npc_install_bcast_match_entry() 2192 struct rvu_pfvf *pfvf = rvu_get_pfvf(rvu, pcifunc); in rvu_npc_update_rxvlan() local 2201 if (!pfvf->rxvlan) in rvu_npc_update_rxvlan() 2206 pfvf->entry.action = npc_get_mcam_action(rvu, mcam, blkaddr, index); in rvu_npc_update_rxvlan() 2208 npc_config_mcam_entry(rvu, mcam, blkaddr, pfvf->rxvlan_index, in rvu_npc_update_rxvlan() [all …]
|
D | rvu.h | 454 void rvu_npc_set_pkind(struct rvu *rvu, int pkind, struct rvu_pfvf *pfvf);
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | smt.c | 208 static struct smt_entry *t4_smt_alloc_switching(struct adapter *adap, u16 pfvf, in t4_smt_alloc_switching() argument 221 e->pfvf = pfvf; in t4_smt_alloc_switching()
|
D | smt.h | 60 u16 pfvf; member
|
/drivers/crypto/chelsio/chtls/ |
D | chtls.h | 129 unsigned int pfvf; member
|
D | chtls_main.c | 252 cdev->pfvf = FW_VIID_PFN_G(cxgb4_port_viid(lldi->ports[0])) in chtls_uld_add()
|
/drivers/scsi/cxgbi/ |
D | libcxgbi.h | 477 unsigned int pfvf; member
|
/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 626 flowc->mnemval[0].val = htonl(csk->cdev->pfvf); in send_tx_flowc_wr() 2151 cdev->pfvf = FW_PFVF_CMD_PFN_V(lldi->pf); in t4_uld_add() 2153 cdev, lldi->ports[0]->name, cdev->pfvf); in t4_uld_add()
|