/Linux-v4.19/arch/powerpc/platforms/pseries/ |
D | pci.c | 165 const int *max_vfs; in pseries_pci_sriov_enable() local 169 max_vfs = of_get_property(dn, "ibm,number-of-configurable-vfs", NULL); in pseries_pci_sriov_enable() 171 if (!max_vfs) in pseries_pci_sriov_enable() 175 max_config_vfs = of_read_number(&max_vfs[0], 1); in pseries_pci_sriov_enable()
|
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/ |
D | cn23xx_pf_device.c | 333 temp = oct->sriov_info.max_vfs & 0xff; in cn23xx_setup_global_mac_regs() 716 if (!oct->sriov_info.max_vfs) in cn23xx_setup_pf_mbox() 719 for (i = 0; i < oct->sriov_info.max_vfs; i++) { in cn23xx_setup_pf_mbox() 777 if (!oct->sriov_info.max_vfs) in cn23xx_free_pf_mbox() 780 for (i = 0; i < oct->sriov_info.max_vfs; i++) { in cn23xx_free_pf_mbox() 1117 (oct->sriov_info.max_vfs > 0)) { in cn23xx_enable_pf_interrupt() 1139 (oct->sriov_info.max_vfs > 0)) { in cn23xx_disable_pf_interrupt() 1254 u32 max_rings, total_rings, max_vfs, rings_per_vf; in cn23xx_sriov_config() local 1281 max_vfs = min_t(u32, in cn23xx_sriov_config() 1285 max_vfs = 0; in cn23xx_sriov_config() [all …]
|
D | lio_vf_rep.c | 261 int vf_id, max_vfs = CN23XX_MAX_VFS_PER_PF + 1; in lio_vf_rep_get_ndev() local 262 int vfid_mask = max_vfs - 1; in lio_vf_rep_get_ndev() 264 if (ifidx <= oct->pf_num * max_vfs || in lio_vf_rep_get_ndev() 265 ifidx >= oct->pf_num * max_vfs + max_vfs) in lio_vf_rep_get_ndev()
|
D | lio_main.c | 788 int max_vfs, vf, i; in disable_all_vf_links() local 793 max_vfs = oct->sriov_info.max_vfs; in disable_all_vf_links() 800 for (vf = 0; vf < max_vfs; vf++) in disable_all_vf_links() 1433 oct->sriov_info.max_vfs); in octeon_chip_specific_setup() 2833 if (vfidx < 0 || vfidx >= oct->sriov_info.max_vfs) in __liquidio_set_vf_mac() 3583 for (j = 0; j < octeon_dev->sriov_info.max_vfs; j++) { in setup_nic_devices() 3830 } else if (num_vfs > oct->sriov_info.max_vfs) { in liquidio_enable_sriov() 3833 oct->sriov_info.max_vfs, num_vfs); in liquidio_enable_sriov()
|
D | octeon_device.h | 373 u32 max_vfs; member
|
/Linux-v4.19/Documentation/networking/ |
D | igbvf.txt | 21 driver supports virtual functions generated by the igb driver with a max_vfs 22 value of 1 or greater. For more information on the max_vfs parameter refer
|
D | ixgbevf.txt | 21 with a max_vfs value of 1 or greater.
|
D | igb.txt | 31 max_vfs 37 max_vfs worth of virtual function.
|
D | ixgbe.txt | 197 max_vfs 206 max_vfs worth of virtual function.
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.h | 37 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs);
|
D | ixgbe_sriov.c | 153 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs) in ixgbe_enable_sriov() argument 159 if (!pre_existing_vfs && !max_vfs) in ixgbe_enable_sriov() 181 num_vfs = min_t(unsigned int, max_vfs, IXGBE_MAX_VFS_DRV_LIMIT); in ixgbe_enable_sriov()
|
D | ixgbe_main.c | 144 static unsigned int max_vfs; variable 145 module_param(max_vfs, uint, 0); 146 MODULE_PARM_DESC(max_vfs, 6298 if (max_vfs > 0) in ixgbe_sw_init() 6303 if (max_vfs > IXGBE_MAX_VFS_DRV_LIMIT) { in ixgbe_sw_init() 6304 max_vfs = 0; in ixgbe_sw_init() 10596 ixgbe_enable_sriov(adapter, max_vfs); in ixgbe_probe()
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be.h | 409 u16 max_vfs; /* Total VFs "really" supported by FW/HW */ member 432 u16 max_vfs; member 706 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs)
|
D | be_main.c | 4413 u16 max_vfs = be_max_vfs(adapter); in be_calculate_pf_pool_rss_tables() local 4424 max_vfs * rss_tables_on_port / port_res.max_vfs; in be_calculate_pf_pool_rss_tables() 4430 int max_vfs, old_vfs; in be_get_sriov_config() local 4436 if (BE3_chip(adapter) && !res.max_vfs) { in be_get_sriov_config() 4437 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config() 4438 res.max_vfs = max_vfs > 0 ? min(MAX_VFS, max_vfs) : 0; in be_get_sriov_config() 4452 adapter->pool_res.max_vfs = in be_get_sriov_config()
|
D | be_cmds.c | 4500 port_res->max_vfs += le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config() 4509 res->max_vfs = le16_to_cpu(pcie->num_vfs); in be_cmd_get_profile_config()
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_defs.h | 778 u8 max_vfs; member
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 209 static unsigned int max_vfs; variable 210 module_param(max_vfs, uint, 0); 211 MODULE_PARM_DESC(max_vfs, "Maximum number of virtual functions to allocate per physical function"); 3555 old_vfs, max_vfs); in igb_enable_sriov() 3732 igb_enable_sriov(pdev, max_vfs); in igb_probe_vfs() 3849 if (max_vfs > 7) { in igb_sw_init() 3852 max_vfs = adapter->vfs_allocated_count = 7; in igb_sw_init() 3854 adapter->vfs_allocated_count = max_vfs; in igb_sw_init()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 857 u16 max_vfs; member
|
D | bnxt_hsi.h | 863 __le16 max_vfs; member 1395 __le16 max_vfs; member
|
D | bnxt.c | 5239 pf->max_vfs = le16_to_cpu(resp->max_vfs); in __bnxt_hwrm_func_qcaps()
|