Searched refs:max_vfs (Results 1 - 11 of 11) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/sfc/ |
H A D | siena_sriov.c | 182 static int max_vfs = -1; variable 183 module_param(max_vfs, int, 0444); 184 MODULE_PARM_DESC(max_vfs, 1058 if (!max_vfs) efx_siena_sriov_probe() 1065 if (count > 0 && count > max_vfs) efx_siena_sriov_probe() 1066 count = max_vfs; efx_siena_sriov_probe()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
H A D | be.h | 421 u16 max_vfs; /* Total VFs "really" supported by FW/HW */ member in struct:be_resources 617 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs)
|
H A D | be_main.c | 4096 int max_vfs, old_vfs; be_get_sriov_config() local 4100 /* Some old versions of BE3 FW don't report max_vfs value */ be_get_sriov_config() 4101 if (BE3_chip(adapter) && !res.max_vfs) { be_get_sriov_config() 4102 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); be_get_sriov_config() 4103 res.max_vfs = max_vfs > 0 ? min(MAX_VFS, max_vfs) : 0; be_get_sriov_config() 4117 adapter->pool_res.max_vfs = be_get_sriov_config()
|
H A D | be_cmds.c | 3786 res->max_vfs = le16_to_cpu(pcie->num_vfs); be_cmd_get_profile_config()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.h | 734 u16 max_vfs; member in struct:bnxt_pf_info
|
H A D | bnxt_sriov.c | 32 if (vf_id >= bp->pf.max_vfs) { bnxt_vf_ndo_prep()
|
H A D | bnxt.c | 3638 pf->max_vfs = le16_to_cpu(resp->max_vfs); bnxt_hwrm_func_qcaps()
|
H A D | bnxt_hsi.h | 922 __le16 max_vfs; member in struct:hwrm_func_qcaps_output
|
/linux-4.4.14/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 215 static unsigned int max_vfs; variable 216 module_param(max_vfs, uint, 0); 217 MODULE_PARM_DESC(max_vfs, "Maximum number of virtual functions to allocate per physical function"); 2721 dev_info(&pdev->dev, "%d pre-allocated VFs found - override max_vfs setting of %d\n", igb_enable_sriov() 2722 old_vfs, max_vfs); igb_enable_sriov() 2860 igb_enable_sriov(pdev, max_vfs); igb_probe_vfs() 2974 if (max_vfs > 7) { igb_sw_init() 2977 max_vfs = adapter->vfs_allocated_count = 7; igb_sw_init() 2979 adapter->vfs_allocated_count = max_vfs; igb_sw_init()
|
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 157 static unsigned int max_vfs; variable 158 module_param(max_vfs, uint, 0); 159 MODULE_PARM_DESC(max_vfs, 5433 if (max_vfs > 0) ixgbe_sw_init() 5434 e_dev_warn("Enabling SR-IOV VFs using the max_vfs module parameter is deprecated - please use the pci sysfs interface instead.\n"); ixgbe_sw_init() 5438 if (max_vfs > IXGBE_MAX_VFS_DRV_LIMIT) { ixgbe_sw_init() 5440 e_dev_warn("max_vfs parameter out of range. Not assigning any SR-IOV VFs\n"); ixgbe_sw_init() 5442 adapter->num_vfs = max_vfs; ixgbe_sw_init()
|
/linux-4.4.14/drivers/scsi/bfa/ |
H A D | bfa_defs.h | 777 u8 max_vfs; member in struct:bfa_ablk_cfg_pf_s
|
Completed in 646 milliseconds