Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c132 int pre_existing_vfs = 0; in ixgbe_enable_sriov() local
134 pre_existing_vfs = pci_num_vf(adapter->pdev); in ixgbe_enable_sriov()
135 if (!pre_existing_vfs && !adapter->num_vfs) in ixgbe_enable_sriov()
144 if (pre_existing_vfs) { in ixgbe_enable_sriov()
145 adapter->num_vfs = pre_existing_vfs; in ixgbe_enable_sriov()
251 int pre_existing_vfs = pci_num_vf(dev); in ixgbe_pci_sriov_enable() local
253 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in ixgbe_pci_sriov_enable()
255 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in ixgbe_pci_sriov_enable()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c980 int pre_existing_vfs = pci_num_vf(pdev); in i40e_pci_sriov_enable() local
984 if (pre_existing_vfs && pre_existing_vfs != num_vfs) in i40e_pci_sriov_enable()
986 else if (pre_existing_vfs && pre_existing_vfs == num_vfs) in i40e_pci_sriov_enable()