Home
last modified time | relevance | path

Searched refs:pre_existing_vfs (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c157 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local
160 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()
161 if (!pre_existing_vfs && !max_vfs) in ixgbe_enable_sriov()
170 if (pre_existing_vfs) { in ixgbe_enable_sriov()
171 num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()
275 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local
279 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()
281 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c1883 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
1893 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()
1895 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
/linux-6.12.1/drivers/crypto/hisilicon/
Dqm.c3766 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local
3773 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()
3774 if (pre_existing_vfs) { in hisi_qm_sriov_enable()
3776 pre_existing_vfs); in hisi_qm_sriov_enable()