/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_device.h | 373 * PF queues. When max_vfs is derived then each VF will get one queue 375 u32 max_vfs; member in struct:octeon_sriov_info
|
H A D | lio_main.c | 731 int max_vfs, vf, i; local 736 max_vfs = oct->sriov_info.max_vfs; 743 for (vf = 0; vf < max_vfs; vf++) 1370 oct->sriov_info.max_vfs); 2822 if (vfidx < 0 || vfidx >= oct->sriov_info.max_vfs) 3624 for (j = 0; j < octeon_dev->sriov_info.max_vfs; j++) { 3873 } else if (num_vfs > oct->sriov_info.max_vfs) { 3876 oct->sriov_info.max_vfs, num_vfs);
|
/linux-master/drivers/net/netdevsim/ |
H A D | dev.c | 235 READ_ONCE(nsim_dev->nsim_bus_dev->max_vfs)); 265 /* max_vfs limited by the maximum number of provided port indexes */ 281 WRITE_ONCE(nsim_dev->nsim_bus_dev->max_vfs, val); 342 debugfs_create_file("max_vfs", 0600, nsim_dev->ddir, 1548 nsim_dev->vfconfigs = kcalloc(nsim_bus_dev->max_vfs, 1747 if (nsim_bus_dev->max_vfs < num_vfs) {
|
H A D | bus.c | 438 nsim_bus_dev->max_vfs = NSIM_BUS_DEV_MAX_VFS;
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_cn9k_pf.c | 214 conf->sriov_cfg.max_vfs = CN93_SDP_EPF_RINFO_NVFS(val); 215 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs;
|
H A D | octep_cnxk_pf.c | 238 conf->sriov_cfg.max_vfs = CNXK_SDP_EPF_RINFO_NVFS(val); 239 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs;
|
/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 4426 u16 max_vfs = be_max_vfs(adapter); local 4437 max_vfs * rss_tables_on_port / port_res.max_vfs; 4443 int max_vfs, old_vfs; local 4448 /* Some old versions of BE3 FW don't report max_vfs value */ 4449 if (BE3_chip(adapter) && !res.max_vfs) { 4450 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); 4451 res.max_vfs = max_vfs > 0 ? min(MAX_VFS, max_vfs) [all...] |
H A D | be_cmds.c | 4497 port_res->max_vfs += le16_to_cpu(pcie->num_vfs); 4506 res->max_vfs = le16_to_cpu(pcie->num_vfs);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 155 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs) argument 161 if (!pre_existing_vfs && !max_vfs) 183 num_vfs = min_t(unsigned int, max_vfs, IXGBE_MAX_VFS_DRV_LIMIT);
|
H A D | ixgbe_main.c | 149 static unsigned int max_vfs; variable 150 module_param(max_vfs, uint, 0); 151 MODULE_PARM_DESC(max_vfs, 6485 if (max_vfs > 0) 6486 e_dev_warn("Enabling SR-IOV VFs using the max_vfs module parameter is deprecated - please use the pci sysfs interface instead.\n"); 6490 if (max_vfs > IXGBE_MAX_VFS_DRV_LIMIT) { 6491 max_vfs = 0; 6492 e_dev_warn("max_vfs parameter out of range. Not assigning any SR-IOV VFs\n"); 11007 ixgbe_enable_sriov(adapter, max_vfs);
|
/linux-master/include/linux/ |
H A D | hisi_acc_qm.h | 538 int hisi_qm_sriov_enable(struct pci_dev *pdev, int max_vfs);
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_sriov.c | 575 vf_vnics >= pf->max_vfs) { 577 * each pf->max_vfs. 579 vf_vnics = (vf_vnics - pf->max_vfs + num_vfs) / num_vfs;
|
H A D | bnxt.h | 1353 u16 max_vfs; member in struct:bnxt_pf_info
|
H A D | bnxt_hsi.h | 1736 __le16 max_vfs; member in struct:hwrm_func_qcaps_output 2631 __le16 max_vfs; member in struct:hwrm_func_resource_qcaps_output
|
H A D | bnxt.c | 8980 pf->max_vfs = le16_to_cpu(resp->max_vfs);
|
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 471 u16 max_vfs; member in struct:mlx5_core_sriov 1242 return dev->priv.sriov.max_vfs;
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_defs.h | 770 u8 max_vfs; member in struct:bfa_ablk_cfg_pf_s
|
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 188 static unsigned int max_vfs; variable 189 module_param(max_vfs, uint, 0444); 190 MODULE_PARM_DESC(max_vfs, "Maximum number of virtual functions to allocate per physical function"); 3743 dev_info(&pdev->dev, "%d pre-allocated VFs found - override max_vfs setting of %d\n", 3744 old_vfs, max_vfs); 3928 igb_enable_sriov(pdev, max_vfs, false); 4047 if (max_vfs > 7) { 4050 max_vfs = adapter->vfs_allocated_count = 7; 4052 adapter->vfs_allocated_count = max_vfs;
|
/linux-master/drivers/crypto/hisilicon/ |
H A D | qm.c | 3756 * @max_vfs: the number of virtual functions to enable 3759 * max_vfs is more than the total number of device can be enabled, returns 3762 int hisi_qm_sriov_enable(struct pci_dev *pdev, int max_vfs) argument 3779 if (max_vfs > total_vfs) { 3780 pci_err(pdev, "%d VFs is more than total VFs %d!\n", max_vfs, total_vfs); 3785 num_vfs = max_vfs;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mbox.h | 1859 u8 max_vfs; member in struct:sdp_node_info
|