Home
last modified time | relevance | path

Searched refs:pre_existing_vfs (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c155 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local
158 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()
159 if (!pre_existing_vfs && !max_vfs) in ixgbe_enable_sriov()
168 if (pre_existing_vfs) { in ixgbe_enable_sriov()
169 num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()
273 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local
277 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()
279 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_pf.c1625 int pre_existing_vfs = pci_num_vf(pf->pdev); in ice_pci_sriov_ena() local
1629 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ice_pci_sriov_ena()
1631 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ice_pci_sriov_ena()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c1808 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
1818 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()
1820 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/
H A Dqm.c3130 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local
3133 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()
3134 if (pre_existing_vfs) { in hisi_qm_sriov_enable()
3136 pre_existing_vfs); in hisi_qm_sriov_enable()