Searched refs:pre_existing_vfs (Results 1 – 4 of 4) sorted by relevance
156 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local159 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()160 if (!pre_existing_vfs && !max_vfs) in ixgbe_enable_sriov()169 if (pre_existing_vfs) { in ixgbe_enable_sriov()170 num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()274 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local278 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()280 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
989 int pre_existing_vfs = pci_num_vf(pf->pdev); in ice_pci_sriov_ena() local993 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ice_pci_sriov_ena()995 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ice_pci_sriov_ena()
1861 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local1871 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()1873 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
4824 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local4831 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()4832 if (pre_existing_vfs) { in hisi_qm_sriov_enable()4834 pre_existing_vfs); in hisi_qm_sriov_enable()