max_vfs 153 arch/powerpc/platforms/pseries/pci.c const int *max_vfs; max_vfs 157 arch/powerpc/platforms/pseries/pci.c max_vfs = of_get_property(dn, "ibm,number-of-configurable-vfs", NULL); max_vfs 159 arch/powerpc/platforms/pseries/pci.c if (!max_vfs) max_vfs 163 arch/powerpc/platforms/pseries/pci.c max_config_vfs = of_read_number(&max_vfs[0], 1); max_vfs 786 drivers/crypto/hisilicon/zip/zip_main.c static int hisi_zip_sriov_enable(struct pci_dev *pdev, int max_vfs) max_vfs 799 drivers/crypto/hisilicon/zip/zip_main.c num_vfs = min_t(int, max_vfs, HZIP_VF_NUM); max_vfs 6985 drivers/net/ethernet/broadcom/bnxt/bnxt.c pf->max_vfs = le16_to_cpu(resp->max_vfs); max_vfs 1077 drivers/net/ethernet/broadcom/bnxt/bnxt.h u16 max_vfs; max_vfs 1126 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 max_vfs; max_vfs 1678 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le16 max_vfs; max_vfs 333 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c temp = oct->sriov_info.max_vfs & 0xff; max_vfs 716 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c if (!oct->sriov_info.max_vfs) max_vfs 719 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c for (i = 0; i < oct->sriov_info.max_vfs; i++) { max_vfs 777 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c if (!oct->sriov_info.max_vfs) max_vfs 780 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c for (i = 0; i < oct->sriov_info.max_vfs; i++) { max_vfs 1117 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c (oct->sriov_info.max_vfs > 0)) { max_vfs 1139 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c (oct->sriov_info.max_vfs > 0)) { max_vfs 1254 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c u32 max_rings, total_rings, max_vfs, rings_per_vf; max_vfs 1281 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c max_vfs = min_t(u32, max_vfs 1285 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c max_vfs = 0; max_vfs 1289 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c total_rings = num_pf_rings + max_vfs; max_vfs 1295 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c oct->sriov_info.max_vfs = max_vfs; max_vfs 1300 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c oct->sriov_info.trs, oct->sriov_info.max_vfs, max_vfs 760 drivers/net/ethernet/cavium/liquidio/lio_main.c int max_vfs, vf, i; max_vfs 765 drivers/net/ethernet/cavium/liquidio/lio_main.c max_vfs = oct->sriov_info.max_vfs; max_vfs 772 drivers/net/ethernet/cavium/liquidio/lio_main.c for (vf = 0; vf < max_vfs; vf++) max_vfs 1406 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->sriov_info.max_vfs); max_vfs 2830 drivers/net/ethernet/cavium/liquidio/lio_main.c if (vfidx < 0 || vfidx >= oct->sriov_info.max_vfs) max_vfs 3631 drivers/net/ethernet/cavium/liquidio/lio_main.c for (j = 0; j < octeon_dev->sriov_info.max_vfs; j++) { max_vfs 3882 drivers/net/ethernet/cavium/liquidio/lio_main.c } else if (num_vfs > oct->sriov_info.max_vfs) { max_vfs 3885 drivers/net/ethernet/cavium/liquidio/lio_main.c oct->sriov_info.max_vfs, num_vfs); max_vfs 245 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c int vf_id, max_vfs = CN23XX_MAX_VFS_PER_PF + 1; max_vfs 246 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c int vfid_mask = max_vfs - 1; max_vfs 248 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c if (ifidx <= oct->pf_num * max_vfs || max_vfs 249 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c ifidx >= oct->pf_num * max_vfs + max_vfs) max_vfs 375 drivers/net/ethernet/cavium/liquidio/octeon_device.h u32 max_vfs; max_vfs 405 drivers/net/ethernet/emulex/benet/be.h u16 max_vfs; /* Total VFs "really" supported by FW/HW */ max_vfs 428 drivers/net/ethernet/emulex/benet/be.h u16 max_vfs; max_vfs 703 drivers/net/ethernet/emulex/benet/be.h #define be_max_vfs(adapter) (adapter->pool_res.max_vfs) max_vfs 4494 drivers/net/ethernet/emulex/benet/be_cmds.c port_res->max_vfs += le16_to_cpu(pcie->num_vfs); max_vfs 4503 drivers/net/ethernet/emulex/benet/be_cmds.c res->max_vfs = le16_to_cpu(pcie->num_vfs); max_vfs 4409 drivers/net/ethernet/emulex/benet/be_main.c u16 max_vfs = be_max_vfs(adapter); max_vfs 4420 drivers/net/ethernet/emulex/benet/be_main.c max_vfs * rss_tables_on_port / port_res.max_vfs; max_vfs 4426 drivers/net/ethernet/emulex/benet/be_main.c int max_vfs, old_vfs; max_vfs 4432 drivers/net/ethernet/emulex/benet/be_main.c if (BE3_chip(adapter) && !res.max_vfs) { max_vfs 4433 drivers/net/ethernet/emulex/benet/be_main.c max_vfs = pci_sriov_get_totalvfs(adapter->pdev); max_vfs 4434 drivers/net/ethernet/emulex/benet/be_main.c res.max_vfs = max_vfs > 0 ? min(MAX_VFS, max_vfs) : 0; max_vfs 4448 drivers/net/ethernet/emulex/benet/be_main.c adapter->pool_res.max_vfs = max_vfs 209 drivers/net/ethernet/intel/igb/igb_main.c static unsigned int max_vfs; max_vfs 210 drivers/net/ethernet/intel/igb/igb_main.c module_param(max_vfs, uint, 0); max_vfs 211 drivers/net/ethernet/intel/igb/igb_main.c MODULE_PARM_DESC(max_vfs, "Maximum number of virtual functions to allocate per physical function"); max_vfs 3532 drivers/net/ethernet/intel/igb/igb_main.c old_vfs, max_vfs); max_vfs 3709 drivers/net/ethernet/intel/igb/igb_main.c igb_enable_sriov(pdev, max_vfs); max_vfs 3826 drivers/net/ethernet/intel/igb/igb_main.c if (max_vfs > 7) { max_vfs 3829 drivers/net/ethernet/intel/igb/igb_main.c max_vfs = adapter->vfs_allocated_count = 7; max_vfs 3831 drivers/net/ethernet/intel/igb/igb_main.c adapter->vfs_allocated_count = max_vfs; max_vfs 149 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c static unsigned int max_vfs; max_vfs 150 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c module_param(max_vfs, uint, 0); max_vfs 151 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c MODULE_PARM_DESC(max_vfs, max_vfs 6401 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (max_vfs > 0) max_vfs 6406 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (max_vfs > IXGBE_MAX_VFS_DRV_LIMIT) { max_vfs 6407 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c max_vfs = 0; max_vfs 10909 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_enable_sriov(adapter, max_vfs); max_vfs 153 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs) max_vfs 159 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (!pre_existing_vfs && !max_vfs) max_vfs 181 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c num_vfs = min_t(unsigned int, max_vfs, IXGBE_MAX_VFS_DRV_LIMIT); max_vfs 37 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs); max_vfs 2594 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c vport_num <= esw->dev->priv.sriov.max_vfs; max_vfs 232 drivers/net/ethernet/mellanox/mlx5/core/sriov.c sriov->max_vfs = mlx5_get_max_vfs(dev); max_vfs 179 drivers/net/ethernet/sfc/siena_sriov.c static int max_vfs = -1; max_vfs 180 drivers/net/ethernet/sfc/siena_sriov.c module_param(max_vfs, int, 0444); max_vfs 181 drivers/net/ethernet/sfc/siena_sriov.c MODULE_PARM_DESC(max_vfs, max_vfs 1055 drivers/net/ethernet/sfc/siena_sriov.c if (!max_vfs) max_vfs 1062 drivers/net/ethernet/sfc/siena_sriov.c if (count > 0 && count > max_vfs) max_vfs 1063 drivers/net/ethernet/sfc/siena_sriov.c count = max_vfs; max_vfs 770 drivers/scsi/bfa/bfa_defs.h u8 max_vfs; max_vfs 470 include/linux/mlx5/driver.h u16 max_vfs; max_vfs 1143 include/linux/mlx5/driver.h return dev->priv.sriov.max_vfs;