Searched refs:pre_existing_vfs (Results 1 – 3 of 3) 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()278 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local282 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()284 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
1895 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local1905 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()1907 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
4191 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local4198 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()4199 if (pre_existing_vfs) { in hisi_qm_sriov_enable()4201 pre_existing_vfs); in hisi_qm_sriov_enable()