Home
last modified time | relevance | path

Searched refs:pre_existing_vfs (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A 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 in ixgbe_pci_sriov_enable()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A 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 in ixgbe_pci_sriov_enable()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_pf.c1625 int pre_existing_vfs = pci_num_vf(pf->pdev); in ice_pci_sriov_ena() local
1629 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ice_pci_sriov_ena()
1631 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ice_pci_sriov_ena()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
H A Dqm.c3130 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local
3133 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()
3134 if (pre_existing_vfs) { in hisi_qm_sriov_enable()
3136 pre_existing_vfs); in hisi_qm_sriov_enable()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c1834 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
1844 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()
1846 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c1889 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
1899 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()
1901 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/
H A Dqm.c3859 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local
3866 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()
3867 if (pre_existing_vfs) { in hisi_qm_sriov_enable()
3869 pre_existing_vfs); in hisi_qm_sriov_enable()

Completed in 53 milliseconds