Searched refs:max_vfs (Results 1 - 25 of 42) sorted by relevance

12

/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf.h27 u8 max_vfs; /* Maximum number of VFs supported by the CPT */ member in struct:otx_cpt_device
H A Dotx_cptpf_mbox.c142 if (q >= cpt->max_vfs) {
144 q, cpt->max_vfs);
247 for (vf = 0; vf < cpt->max_vfs; vf++) {
H A Dotx_cptpf_main.c104 cpt->max_vfs = pci_sriov_get_totalvfs(cpt->pdev);
159 if (numvfs > cpt->max_vfs)
160 numvfs = cpt->max_vfs;
/linux-master/drivers/pci/endpoint/
H A Dpci-epc-core.c149 if (vfunc_no > 0 && (!epc->max_vfs || vfunc_no > epc->max_vfs[func_no]))
222 if (vfunc_no > 0 && (!epc->max_vfs || vfunc_no > epc->max_vfs[func_no]))
266 if (vfunc_no > 0 && (!epc->max_vfs || vfunc_no > epc->max_vfs[func_no]))
297 if (vfunc_no > 0 && (!epc->max_vfs || vfunc_no > epc->max_vfs[func_no]))
334 if (vfunc_no > 0 && (!epc->max_vfs || vfunc_no > epc->max_vfs[func_n
[all...]
H A Dpci-epf-core.c88 if (!epc->max_vfs) {
94 if (vfunc_no > epc->max_vfs[func_no]) {
105 if (!epc->max_vfs) {
111 if (vfunc_no > epc->max_vfs[func_no]) {
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.h39 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs);
/linux-master/arch/powerpc/platforms/pseries/
H A Dpci.c151 const int *max_vfs; local
155 max_vfs = of_get_property(dn, "ibm,number-of-configurable-vfs", NULL);
157 if (!max_vfs)
161 max_config_vfs = of_read_number(&max_vfs[0], 1);
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf.h57 u8 max_vfs; /* Maximum number of VFs supported by CPT */ member in struct:otx2_cptpf_dev
H A Dcn10k_cpt.c66 size -= ((1 + cptpf->max_vfs) * MBOX_SIZE);
H A Dotx2_cptpf_main.c182 if (cptpf->max_vfs > 64)
214 if (cptpf->max_vfs > 64)
382 MBOX_SIZE * cptpf->max_vfs);
782 cptpf->max_vfs = pci_sriov_get_totalvfs(pdev);
/linux-master/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 in struct:octep_sriov_config
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_io.h88 u16 max_vfs; member in struct:hinic_func_to_io
H A Dhinic_sriov.c83 for (i = 1; i <= nic_io->max_vfs; i++) {
267 if (vf_id > nic_io->max_vfs) {
269 HW_VF_ID_TO_OS(vf_id), HW_VF_ID_TO_OS(nic_io->max_vfs));
295 if (vf_id > nic_io->max_vfs)
1205 nic_io->max_vfs = hwdev->nic_cap.max_vf;
1206 size = sizeof(*nic_io->vf_infos) * nic_io->max_vfs;
1214 for (i = 0; i < nic_io->max_vfs; i++) {
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Dcn23xx_pf_device.c333 temp = oct->sriov_info.max_vfs & 0xff;
716 if (!oct->sriov_info.max_vfs)
719 for (i = 0; i < oct->sriov_info.max_vfs; i++) {
775 if (!oct->sriov_info.max_vfs)
778 for (i = 0; i < oct->sriov_info.max_vfs; i++) {
1115 (oct->sriov_info.max_vfs > 0)) {
1137 (oct->sriov_info.max_vfs > 0)) {
1252 u32 max_rings, total_rings, max_vfs, rings_per_vf; local
1279 max_vfs = min_t(u32,
1283 max_vfs
[all...]
H A Dlio_vf_rep.c245 int vf_id, max_vfs = CN23XX_MAX_VFS_PER_PF + 1; local
246 int vfid_mask = max_vfs - 1;
248 if (ifidx <= oct->pf_num * max_vfs ||
249 ifidx >= oct->pf_num * max_vfs + max_vfs)
H A Docteon_device.h373 * PF queues. When max_vfs is derived then each VF will get one queue
375 u32 max_vfs; member in struct:octeon_sriov_info
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_sdp.c100 dev_info(rvu->dev, "AF: SDP%d max_vfs %d num_pf_rings %d pf_srn %d\n",
101 req->info.node_id, req->info.max_vfs, req->info.num_pf_rings,
/linux-master/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c707 epc->max_vfs = devm_kcalloc(dev, epc->max_functions,
708 sizeof(*epc->max_vfs), GFP_KERNEL);
709 if (!epc->max_vfs)
713 epc->max_vfs, epc->max_functions);
717 if (epc->max_vfs[i] == 0)
719 epf->epf = devm_kcalloc(dev, epc->max_vfs[i],
/linux-master/include/linux/
H A Dpci-epc.h126 * @max_vfs: Array indicating the maximum number of virtual functions that can
141 u8 *max_vfs; member in struct:pci_epc
/linux-master/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)
1064 if (count > 0 && count > max_vfs)
1065 count = max_vfs;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c305 sriov->max_vfs = mlx5_get_max_vfs(dev);
/linux-master/drivers/net/netdevsim/
H A Dnetdevsim.h416 unsigned int max_vfs; member in struct:nsim_bus_dev
H A Ddev.c235 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 Dbus.c438 nsim_bus_dev->max_vfs = NSIM_BUS_DEV_MAX_VFS;
/linux-master/drivers/net/ethernet/emulex/benet/
H A Dbe.h403 u16 max_vfs; /* Total VFs "really" supported by FW/HW */ member in struct:be_resources
426 u16 max_vfs; member in struct:be_port_resources
696 #define be_max_vfs(adapter) (adapter->pool_res.max_vfs)

Completed in 285 milliseconds

12