Searched refs:max_vfs (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/sfc/ |
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) 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/ |
D | be.h | 421 u16 max_vfs; /* Total VFs "really" supported by FW/HW */ member 618 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs)
|
D | be_main.c | 4096 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()
|
D | be_cmds.c | 3786 res->max_vfs = le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config()
|
/drivers/net/ethernet/intel/igb/ |
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"); 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/ |
D | bfa_defs.h | 777 u8 max_vfs; member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 734 u16 max_vfs; member
|
D | bnxt.c | 3669 pf->max_vfs = le16_to_cpu(resp->max_vfs); in bnxt_hwrm_func_qcaps()
|
D | bnxt_hsi.h | 922 __le16 max_vfs; member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 157 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()
|