Searched refs:pre_existing_vfs (Results 1 – 2 of 2) sorted by relevance
132 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local134 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()135 if (!pre_existing_vfs && !adapter->num_vfs) in ixgbe_enable_sriov()144 if (pre_existing_vfs) { in ixgbe_enable_sriov()145 adapter->num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()251 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local253 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()255 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
980 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local984 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()986 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()