Searched refs:pre_existing_vfs (Results 1 – 4 of 4) sorted by relevance
155 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local158 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()159 if (!pre_existing_vfs && !max_vfs) in ixgbe_enable_sriov()168 if (pre_existing_vfs) { in ixgbe_enable_sriov()169 num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()270 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local274 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()276 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
1987 int pre_existing_vfs = pci_num_vf(pf->pdev); in ice_pci_sriov_ena() local1991 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ice_pci_sriov_ena()1993 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ice_pci_sriov_ena()
1789 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local1799 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()1801 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
4389 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local4396 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()4397 if (pre_existing_vfs) { in hisi_qm_sriov_enable()4399 pre_existing_vfs); in hisi_qm_sriov_enable()