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()
1998 int pre_existing_vfs = pci_num_vf(pf->pdev); in ice_pci_sriov_ena() local2002 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ice_pci_sriov_ena()2004 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ice_pci_sriov_ena()
1887 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local1897 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()1899 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
4391 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local4398 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()4399 if (pre_existing_vfs) { in hisi_qm_sriov_enable()4401 pre_existing_vfs); in hisi_qm_sriov_enable()