Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c138 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local
140 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()
141 if (!pre_existing_vfs && !adapter->num_vfs) in ixgbe_enable_sriov()
150 if (pre_existing_vfs) { in ixgbe_enable_sriov()
151 adapter->num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()
257 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local
259 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()
261 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c996 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
1006 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()
1008 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()