Searched refs:max_vfs (Results 1 - 11 of 11) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dsiena_sriov.c182 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 Dbe.h421 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 Dbe_main.c4096 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 Dbe_cmds.c3786 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 Dbnxt.h734 u16 max_vfs; member in struct:bnxt_pf_info
H A Dbnxt_sriov.c32 if (vf_id >= bp->pf.max_vfs) { bnxt_vf_ndo_prep()
H A Dbnxt.c3638 pf->max_vfs = le16_to_cpu(resp->max_vfs); bnxt_hwrm_func_qcaps()
H A Dbnxt_hsi.h922 __le16 max_vfs; member in struct:hwrm_func_qcaps_output
/linux-4.4.14/drivers/net/ethernet/intel/igb/
H A Digb_main.c215 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 Dixgbe_main.c157 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 Dbfa_defs.h777 u8 max_vfs; member in struct:bfa_ablk_cfg_pf_s

Completed in 646 milliseconds