Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c156 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local
159 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() local
278 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()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_sriov.c989 int pre_existing_vfs = pci_num_vf(pf->pdev); in ice_pci_sriov_ena() local
993 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ice_pci_sriov_ena()
995 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ice_pci_sriov_ena()
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c1861 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
1871 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()
1873 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()
/Linux-v6.1/drivers/crypto/hisilicon/
Dqm.c4824 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local
4831 pre_existing_vfs = pci_num_vf(pdev); in hisi_qm_sriov_enable()
4832 if (pre_existing_vfs) { in hisi_qm_sriov_enable()
4834 pre_existing_vfs); in hisi_qm_sriov_enable()