Searched refs:pre_existing_vfs (Results 1 – 3 of 3) sorted by relevance
158 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local161 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()162 if (!pre_existing_vfs && !max_vfs) in ixgbe_enable_sriov()171 if (pre_existing_vfs) { in ixgbe_enable_sriov()172 num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()280 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local284 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()286 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
1880 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local1890 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()1892 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
3932 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local3939 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()3940 if (pre_existing_vfs) { in hisi_qm_sriov_enable()3942 pre_existing_vfs); in hisi_qm_sriov_enable()