Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c155 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local
158 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() local
274 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()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c1496 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
1506 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()
1508 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()