Home
last modified time | relevance | path

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

/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()
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c1998 int pre_existing_vfs = pci_num_vf(pf->pdev); in ice_pci_sriov_ena() local
2002 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()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c1887 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
1897 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()
/drivers/crypto/hisilicon/
Dqm.c4391 int pre_existing_vfs, num_vfs, total_vfs, ret; in hisi_qm_sriov_enable() local
4398 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()