Searched refs:pre_existing_vfs (Results 1 – 2 of 2) sorted by relevance
138 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local140 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()141 if (!pre_existing_vfs && !adapter->num_vfs) in ixgbe_enable_sriov()150 if (pre_existing_vfs) { in ixgbe_enable_sriov()151 adapter->num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()257 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local259 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()261 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
996 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local1006 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()1008 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()