Home
last modified time | relevance | path

Searched refs:numvfs (Results 1 – 17 of 17) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/nic/
A Dcn20k.c113 void cn20k_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in cn20k_enable_pfvf_mbox_intr() argument
122 otx2_write64(pf, RVU_MBOX_PF_VFPF_INT_ENA_W1SX(0), INTR_MASK(numvfs)); in cn20k_enable_pfvf_mbox_intr()
123 otx2_write64(pf, RVU_MBOX_PF_VFPF1_INT_ENA_W1SX(0), INTR_MASK(numvfs)); in cn20k_enable_pfvf_mbox_intr()
124 if (numvfs > 64) { in cn20k_enable_pfvf_mbox_intr()
125 numvfs -= 64; in cn20k_enable_pfvf_mbox_intr()
127 INTR_MASK(numvfs)); in cn20k_enable_pfvf_mbox_intr()
129 INTR_MASK(numvfs)); in cn20k_enable_pfvf_mbox_intr()
133 void cn20k_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in cn20k_disable_pfvf_mbox_intr() argument
146 if (numvfs > 64) { in cn20k_disable_pfvf_mbox_intr()
182 int cn20k_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs) in cn20k_register_pfvf_mbox_intr() argument
[all …]
A Dcn20k.h14 int cn20k_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
15 void cn20k_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
16 void cn20k_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs);
A Dotx2_pf.c230 if (numvfs > 64) { in otx2_register_flr_me_intr()
262 if (numvfs > 64) { in otx2_register_flr_me_intr()
263 numvfs -= 64; in otx2_register_flr_me_intr()
603 if (!numvfs) in otx2_pfvf_mbox_init()
696 if (numvfs > 64) { in otx2_enable_pfvf_mbox_intr()
697 numvfs -= 64; in otx2_enable_pfvf_mbox_intr()
718 if (numvfs > 64) { in otx2_disable_pfvf_mbox_intr()
749 if (numvfs > 64) { in otx2_register_pfvf_mbox_intr()
3422 return numvfs; in otx2_sriov_enable()
3440 if (!numvfs) in otx2_sriov_disable()
[all …]
/drivers/crypto/marvell/octeontx/
A Dotx_cptpf_main.c154 static int otx_cpt_sriov_configure(struct pci_dev *pdev, int numvfs) in otx_cpt_sriov_configure() argument
159 if (numvfs > cpt->max_vfs) in otx_cpt_sriov_configure()
160 numvfs = cpt->max_vfs; in otx_cpt_sriov_configure()
162 if (numvfs > 0) { in otx_cpt_sriov_configure()
169 cpt->vfs_enabled = numvfs; in otx_cpt_sriov_configure()
170 ret = pci_enable_sriov(pdev, numvfs); in otx_cpt_sriov_configure()
177 ret = numvfs; in otx_cpt_sriov_configure()
/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_switch.c89 int pf, vf, numvfs; in rvu_switch_install_rules() local
127 rvu_get_pf_numvfs(rvu, pf, &numvfs, NULL); in rvu_switch_install_rules()
128 for (vf = 0; vf < numvfs; vf++) { in rvu_switch_install_rules()
224 int pf, vf, numvfs; in rvu_switch_disable() local
249 rvu_get_pf_numvfs(rvu, pf, &numvfs, NULL); in rvu_switch_disable()
250 for (vf = 0; vf < numvfs; vf++) { in rvu_switch_disable()
A Drvu_rep.c320 int pf, vf, numvfs; in rvu_rep_install_mcam_rules() local
346 rvu_get_pf_numvfs(rvu, pf, &numvfs, NULL); in rvu_rep_install_mcam_rules()
347 for (vf = 0; vf < numvfs; vf++) { in rvu_rep_install_mcam_rules()
441 int pf, vf, numvfs, hwvf, rep = 0; in rvu_mbox_handler_get_rep_cnt() local
460 rvu_get_pf_numvfs(rvu, pf, &numvfs, &hwvf); in rvu_mbox_handler_get_rep_cnt()
461 for (vf = 0; vf < numvfs; vf++) { in rvu_mbox_handler_get_rep_cnt()
A Drvu.c409 if (numvfs) in rvu_get_pf_numvfs()
410 *numvfs = (cfg >> 12) & 0xFF; in rvu_get_pf_numvfs()
603 int pf, vf, numvfs, hwvf, err; in rvu_setup_msix_resources() local
652 for (vf = 0; vf < numvfs; vf++) { in rvu_setup_msix_resources()
768 int pf, vf, numvfs, hwvf; in rvu_setup_pfvf_macaddress() local
2004 u16 vf, numvfs; in rvu_mbox_handler_vf_flr() local
2010 numvfs = (cfg >> 12) & 0xFF; in rvu_mbox_handler_vf_flr()
2012 if (vf && vf <= numvfs) in rvu_mbox_handler_vf_flr()
2822 u16 pcifunc, numvfs, vf; in rvu_flr_handler() local
2833 numvfs = (cfg >> 12) & 0xFF; in rvu_flr_handler()
[all …]
A Drvu_cgx.c129 int numvfs, hwvfs; in rvu_map_cgx_lmac_pf() local
173 rvu_get_pf_numvfs(rvu, pf, &numvfs, &hwvfs); in rvu_map_cgx_lmac_pf()
174 rvu->cgx_mapped_vfs += numvfs; in rvu_map_cgx_lmac_pf()
A Drvu_nix.c3592 int err, pf, numvfs, idx; in nix_setup_mce_tables() local
3604 numvfs = (cfg >> 12) & 0xFF; in nix_setup_mce_tables()
3613 pfvf->bcast_mce_idx = nix_alloc_mce_list(mcast, numvfs + 1, NIX_MCAST_INGRESS); in nix_setup_mce_tables()
3614 nix_mce_list_init(&pfvf->bcast_mce_list, numvfs + 1); in nix_setup_mce_tables()
3617 pfvf->mcast_mce_idx = nix_alloc_mce_list(mcast, numvfs + 1, NIX_MCAST_INGRESS); in nix_setup_mce_tables()
3618 nix_mce_list_init(&pfvf->mcast_mce_list, numvfs + 1); in nix_setup_mce_tables()
3622 nix_mce_list_init(&pfvf->promisc_mce_list, numvfs + 1); in nix_setup_mce_tables()
3624 for (idx = 0; idx < (numvfs + 1); idx++) { in nix_setup_mce_tables()
4564 int numvfs, hwvf; in nix_find_link_frs() local
4577 rvu_get_pf_numvfs(rvu, pf, &numvfs, &hwvf); in nix_find_link_frs()
[all …]
A Drvu.h887 void rvu_get_pf_numvfs(struct rvu *rvu, int pf, int *numvfs, int *hwvf);
A Drvu_debugfs.c3164 int pf, vf, numvfs, blkaddr; in rvu_dbg_npc_mcam_info_display() local
3215 numvfs = (cfg >> 12) & 0xFF; in rvu_dbg_npc_mcam_info_display()
3216 for (vf = 0; vf < numvfs; vf++) { in rvu_dbg_npc_mcam_info_display()
/drivers/crypto/intel/qat/qat_common/
A Dadf_sriov.c283 int adf_sriov_configure(struct pci_dev *pdev, int numvfs) in adf_sriov_configure() argument
292 if (numvfs) in adf_sriov_configure()
A Dadf_common_drv.h193 int adf_sriov_configure(struct pci_dev *pdev, int numvfs);
/drivers/misc/genwqe/
A Dcard_base.c1327 static int genwqe_sriov_configure(struct pci_dev *dev, int numvfs) in genwqe_sriov_configure() argument
1332 if (numvfs > 0) { in genwqe_sriov_configure()
1334 rc = pci_enable_sriov(dev, numvfs); in genwqe_sriov_configure()
1337 return numvfs; in genwqe_sriov_configure()
1339 if (numvfs == 0) { in genwqe_sriov_configure()
/drivers/gpu/drm/ci/xfails/
A Di915-tgl-skips.txt50 sriov_basic@enable-vfs-bind-unbind-each-numvfs-all
A Di915-tgl-fails.txt22 sriov_basic@enable-vfs-bind-unbind-each-numvfs-all,Timeout
/drivers/pci/
A Diov.c1251 int pci_sriov_set_totalvfs(struct pci_dev *dev, u16 numvfs) in pci_sriov_set_totalvfs() argument
1256 if (numvfs > dev->sriov->total_VFs) in pci_sriov_set_totalvfs()
1263 dev->sriov->driver_max_VFs = numvfs; in pci_sriov_set_totalvfs()

Completed in 73 milliseconds