Home
last modified time | relevance | path

Searched refs:max_vfs (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/sfc/
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) in efx_siena_sriov_probe()
1065 if (count > 0 && count > max_vfs) in efx_siena_sriov_probe()
1066 count = max_vfs; in efx_siena_sriov_probe()
/drivers/net/ethernet/emulex/benet/
Dbe.h421 u16 max_vfs; /* Total VFs "really" supported by FW/HW */ member
618 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs)
Dbe_main.c4096 int max_vfs, old_vfs; in be_get_sriov_config() local
4101 if (BE3_chip(adapter) && !res.max_vfs) { in be_get_sriov_config()
4102 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config()
4103 res.max_vfs = max_vfs > 0 ? min(MAX_VFS, max_vfs) : 0; in be_get_sriov_config()
4117 adapter->pool_res.max_vfs = in be_get_sriov_config()
Dbe_cmds.c3786 res->max_vfs = le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config()
/drivers/net/ethernet/intel/igb/
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");
2731 old_vfs, max_vfs); in igb_enable_sriov()
2876 igb_enable_sriov(pdev, max_vfs); in igb_probe_vfs()
2990 if (max_vfs > 7) { in igb_sw_init()
2993 max_vfs = adapter->vfs_allocated_count = 7; in igb_sw_init()
2995 adapter->vfs_allocated_count = max_vfs; in igb_sw_init()
/drivers/scsi/bfa/
Dbfa_defs.h777 u8 max_vfs; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h734 u16 max_vfs; member
Dbnxt.c3669 pf->max_vfs = le16_to_cpu(resp->max_vfs); in bnxt_hwrm_func_qcaps()
Dbnxt_hsi.h922 __le16 max_vfs; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c157 static unsigned int max_vfs; variable
158 module_param(max_vfs, uint, 0);
159 MODULE_PARM_DESC(max_vfs,
5457 if (max_vfs > 0) in ixgbe_sw_init()
5462 if (max_vfs > IXGBE_MAX_VFS_DRV_LIMIT) { in ixgbe_sw_init()
5466 adapter->num_vfs = max_vfs; in ixgbe_sw_init()