/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptpf.h | 27 u8 max_vfs; /* Maximum number of VFs supported by the CPT */ member in struct:otx_cpt_device
|
H A D | otx_cptpf_mbox.c | 142 if (q >= cpt->max_vfs) { 144 q, cpt->max_vfs); 247 for (vf = 0; vf < cpt->max_vfs; vf++) {
|
H A D | otx_cptpf_main.c | 104 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 D | pci-epc-core.c | 149 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 D | pci-epf-core.c | 88 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 D | ixgbe_sriov.h | 39 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter, unsigned int max_vfs);
|
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | pci.c | 151 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 D | otx2_cptpf.h | 57 u8 max_vfs; /* Maximum number of VFs supported by CPT */ member in struct:otx2_cptpf_dev
|
H A D | cn10k_cpt.c | 66 size -= ((1 + cptpf->max_vfs) * MBOX_SIZE);
|
H A D | otx2_cptpf_main.c | 182 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 D | octep_config.h | 81 #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 D | hinic_hw_io.h | 88 u16 max_vfs; member in struct:hinic_func_to_io
|
H A D | hinic_sriov.c | 83 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 D | cn23xx_pf_device.c | 333 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 D | lio_vf_rep.c | 245 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 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
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_sdp.c | 100 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 D | pcie-cadence-ep.c | 707 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 D | pci-epc.h | 126 * @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 D | siena_sriov.c | 180 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 D | sriov.c | 305 sriov->max_vfs = mlx5_get_max_vfs(dev);
|
/linux-master/drivers/net/netdevsim/ |
H A D | netdevsim.h | 416 unsigned int max_vfs; member in struct:nsim_bus_dev
|
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/emulex/benet/ |
H A D | be.h | 403 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)
|