Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/xe/
H A Dxe_module.c57 module_param_named(max_vfs, xe_modparam.max_vfs, uint, 0400);
58 MODULE_PARM_DESC(max_vfs,
H A Dxe_module.h22 unsigned int max_vfs; member
H A Dxe_sriov_pf.c17 return xe_modparam.max_vfs; in wanted_max_vfs()
/linux/arch/powerpc/platforms/pseries/
H A Dpci.c124 const int *max_vfs; in pseries_pci_sriov_enable() local
128 max_vfs = of_get_property(dn, "ibm,number-of-configurable-vfs", NULL); in pseries_pci_sriov_enable()
130 if (!max_vfs) in pseries_pci_sriov_enable()
134 max_config_vfs = of_read_number(&max_vfs[0], 1); in pseries_pci_sriov_enable()
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_mbox.c142 if (q >= cpt->max_vfs) { in otx_cpt_bind_vq_to_grp()
144 q, cpt->max_vfs); in otx_cpt_bind_vq_to_grp()
247 for (vf = 0; vf < cpt->max_vfs; vf++) { in otx_cpt_mbox_intr_handler()
H A Dotx_cptpf_main.c104 cpt->max_vfs = pci_sriov_get_totalvfs(cpt->pdev); in otx_cpt_device_init()
159 if (numvfs > cpt->max_vfs) in otx_cpt_sriov_configure()
160 numvfs = cpt->max_vfs; in otx_cpt_sriov_configure()
H A Dotx_cptpf.h27 u8 max_vfs; /* Maximum number of VFs supported by the CPT */ member
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_config.h81 #define CFG_GET_MAX_VFS(cfg) ((cfg)->sriov_cfg.max_vfs)
161 u16 max_vfs; member
/linux/drivers/pci/endpoint/
H A Dpci-epf-core.c88 if (!epc->max_vfs) { in pci_epf_bind()
94 if (vfunc_no > epc->max_vfs[func_no]) { in pci_epf_bind()
105 if (!epc->max_vfs) { in pci_epf_bind()
111 if (vfunc_no > epc->max_vfs[func_no]) { in pci_epf_bind()
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Digb.rst38 modprobe igb max_vfs=2,4
45 max_vfs section in Command Line Parameters
50 max_vfs worth of virtual functions. If the value is greater than 0 it will
58 modprobe igb max_vfs=4
64 modprobe igb max_vfs=2,4
H A Dixgbe.rst179 max_vfs section in Command Line Parameters
184 max_vfs worth of virtual functions.
201 modprobe ixgbe max_vfs=4
207 modprobe ixgbe max_vfs=2,4
229 With kernel 3.6, the driver supports the simultaneous usage of max_vfs and DCB
231 driver did not support the simultaneous operation of max_vfs greater than 0 and
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf.h57 u8 max_vfs; /* Maximum number of VFs supported by CPT */ member
H A Dotx2_cptpf_main.c182 if (cptpf->max_vfs > 64) in cptpf_vf_flr_intr()
214 if (cptpf->max_vfs > 64) in cptpf_vf_me_intr()
382 MBOX_SIZE * cptpf->max_vfs); in cptpf_vfpf_mbox_init()
786 cptpf->max_vfs = pci_sriov_get_totalvfs(pdev); in otx2_cptpf_probe()
H A Dcn10k_cpt.c66 size -= ((1 + cptpf->max_vfs) * MBOX_SIZE); in cn10k_cptpf_lmtst_init()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c83 for (i = 1; i <= nic_io->max_vfs; i++) { in hinic_notify_all_vfs_link_changed()
267 if (vf_id > nic_io->max_vfs) { in hinic_register_vf_msg_handler()
269 HW_VF_ID_TO_OS(vf_id), HW_VF_ID_TO_OS(nic_io->max_vfs)); in hinic_register_vf_msg_handler()
295 if (vf_id > nic_io->max_vfs) in hinic_unregister_vf_msg_handler()
1205 nic_io->max_vfs = hwdev->nic_cap.max_vf; in hinic_vf_func_init()
1206 size = sizeof(*nic_io->vf_infos) * nic_io->max_vfs; in hinic_vf_func_init()
1214 for (i = 0; i < nic_io->max_vfs; i++) { in hinic_vf_func_init()
H A Dhinic_hw_io.h88 u16 max_vfs; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.h39 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs);
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_sdp.c101 req->info.node_id, req->info.max_vfs, req->info.num_pf_rings, in rvu_mbox_handler_set_sdp_chan_info()
/linux/drivers/net/ethernet/sfc/siena/
H A Dsiena_sriov.c180 static int max_vfs = -1; variable
181 module_param(max_vfs, int, 0444);
182 MODULE_PARM_DESC(max_vfs,
1057 if (!max_vfs) in efx_siena_sriov_probe()
1064 if (count > 0 && count > max_vfs) in efx_siena_sriov_probe()
1065 count = max_vfs; in efx_siena_sriov_probe()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe.h403 u16 max_vfs; /* Total VFs "really" supported by FW/HW */ member
426 u16 max_vfs; member
696 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs)
/linux/drivers/net/netdevsim/
H A Ddev.c235 READ_ONCE(nsim_dev->nsim_bus_dev->max_vfs)); in nsim_bus_dev_max_vfs_read()
281 WRITE_ONCE(nsim_dev->nsim_bus_dev->max_vfs, val); in nsim_bus_dev_max_vfs_write()
1551 nsim_dev->vfconfigs = kcalloc(nsim_bus_dev->max_vfs, in nsim_drv_probe()
1750 if (nsim_bus_dev->max_vfs < num_vfs) { in nsim_drv_configure_vfs()
H A Dnetdevsim.h426 unsigned int max_vfs; member
/linux/include/linux/
H A Dpci-epc.h160 * @max_vfs: Array indicating the maximum number of virtual functions that can
178 u8 *max_vfs;
144 u8 *max_vfs; global() member
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c725 int max_vfs, vf, i; in disable_all_vf_links() local
730 max_vfs = oct->sriov_info.max_vfs; in disable_all_vf_links()
737 for (vf = 0; vf < max_vfs; vf++) in disable_all_vf_links()
1364 oct->sriov_info.max_vfs); in octeon_chip_specific_setup()
2816 if (vfidx < 0 || vfidx >= oct->sriov_info.max_vfs) in __liquidio_set_vf_mac()
3618 for (j = 0; j < octeon_dev->sriov_info.max_vfs; j++) { in setup_nic_devices()
3867 } else if (num_vfs > oct->sriov_info.max_vfs) { in liquidio_enable_sriov()
3870 oct->sriov_info.max_vfs, num_vfs); in liquidio_enable_sriov()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c305 sriov->max_vfs = mlx5_get_max_vfs(dev); in mlx5_sriov_init()

12