Home
last modified time | relevance | path

Searched defs:num_vfs (Results 1 – 25 of 78) sorted by relevance

1234

/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_sriov.c15 static inline bool num_vfs_valid(int num_vfs) in num_vfs_valid()
31 static inline enum vf_mode num_vfs_to_mode(int num_vfs) in num_vfs_to_mode()
153 static int nitrox_sriov_enable(struct pci_dev *pdev, int num_vfs) in nitrox_sriov_enable()
228 int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs) in nitrox_sriov_configure()
Dnitrox_main.c55 int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs) in nitrox_sriov_configure()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c71 static int mlx5_device_enable_sriov(struct mlx5_core_dev *dev, int num_vfs) in mlx5_device_enable_sriov()
114 int num_vfs = pci_num_vf(dev->pdev); in mlx5_device_disable_sriov() local
136 static int mlx5_sriov_enable(struct pci_dev *pdev, int num_vfs) in mlx5_sriov_enable()
163 int mlx5_core_sriov_configure(struct pci_dev *pdev, int num_vfs) in mlx5_core_sriov_configure()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c357 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr()
369 static int bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_vf_resource_free()
410 static int bnxt_alloc_vf_resources(struct bnxt *bp, int num_vfs) in bnxt_alloc_vf_resources()
509 static int bnxt_hwrm_func_vf_resc_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_hwrm_func_vf_resc_cfg()
615 static int bnxt_hwrm_func_cfg(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_cfg()
698 static int bnxt_func_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_func_cfg()
706 int bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) in bnxt_cfg_hw_sriov()
732 static int bnxt_sriov_enable(struct bnxt *bp, int *num_vfs) in bnxt_sriov_enable()
819 u16 num_vfs = pci_num_vf(bp->pdev); in bnxt_sriov_disable() local
851 int bnxt_sriov_configure(struct pci_dev *pdev, int num_vfs) in bnxt_sriov_configure()
[all …]
Dbnxt_vfr.c263 u16 num_vfs, i; in bnxt_vf_reps_close() local
294 u16 num_vfs = pci_num_vf(bp->pdev); in __bnxt_vf_reps_destroy() local
396 u16 *cfa_code_map = NULL, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_create() local
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dpci.c59 u16 num_vfs, in pseries_send_map_pe()
105 int pseries_associate_pes(struct pci_dev *pdev, u16 num_vfs) in pseries_associate_pes()
149 int pseries_pci_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pseries_pci_sriov_enable()
192 int pseries_pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pseries_pcibios_sriov_enable()
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c287 int num_vfs, i; in fm10k_iov_suspend() local
332 int num_vfs, i; in fm10k_iov_resume() local
423 static s32 fm10k_iov_alloc_data(struct pci_dev *pdev, int num_vfs) in fm10k_iov_alloc_data()
491 int fm10k_iov_configure(struct pci_dev *pdev, int num_vfs) in fm10k_iov_configure()
Dfm10k_pf.c585 u16 num_vfs = hw->iov.num_vfs; in fm10k_vf_queue_index() local
619 static s32 fm10k_iov_assign_resources_pf(struct fm10k_hw *hw, u16 num_vfs, in fm10k_iov_assign_resources_pf()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/nic/
Dmain.c22 static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_nic_sriov_enable()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c25 unsigned int num_vfs) in ixgbe_alloc_vf_macvlans()
51 unsigned int num_vfs) in __ixgbe_enable_sriov()
156 unsigned int num_vfs; in ixgbe_enable_sriov() local
206 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local
266 static int ixgbe_pci_sriov_enable(struct pci_dev *dev, int num_vfs) in ixgbe_pci_sriov_enable()
350 int ixgbe_pci_sriov_configure(struct pci_dev *dev, int num_vfs) in ixgbe_pci_sriov_configure()
/Linux-v5.4/drivers/crypto/hisilicon/zip/
Dzip_main.c169 u32 num_vfs; member
740 static int hisi_zip_vf_q_assign(struct hisi_zip *hisi_zip, int num_vfs) in hisi_zip_vf_q_assign()
772 u32 i, num_vfs = ctrl->num_vfs; in hisi_zip_clear_vft_config() local
789 int pre_existing_vfs, num_vfs, ret; in hisi_zip_sriov_enable() local
835 static int hisi_zip_sriov_configure(struct pci_dev *pdev, int num_vfs) in hisi_zip_sriov_configure()
/Linux-v5.4/drivers/net/netdevsim/
Dbus.c27 unsigned int num_vfs) in nsim_bus_dev_vfs_enable()
51 unsigned int num_vfs; in nsim_bus_dev_numvfs_store() local
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c76 u32 num_vfs, max, temp; in qlcnic_sriov_pf_cal_res_limit() local
567 static int qlcnic_sriov_pf_enable(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_sriov_pf_enable()
582 int num_vfs) in __qlcnic_pci_sriov_enable()
617 static int qlcnic_pci_sriov_enable(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_pci_sriov_enable()
666 int qlcnic_pci_sriov_configure(struct pci_dev *dev, int num_vfs) in qlcnic_pci_sriov_configure()
1766 u16 num_vfs = sriov->num_vfs; in qlcnic_sriov_pf_reset() local
1805 int i, num_vfs; in qlcnic_sriov_set_vf_mac() local
/Linux-v5.4/drivers/pci/
Diov.c274 u16 num_vfs; in sriov_numvfs_store() local
410 int __weak pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pcibios_sriov_enable()
420 static int sriov_add_vfs(struct pci_dev *dev, u16 num_vfs) in sriov_add_vfs()
/Linux-v5.4/drivers/crypto/cavium/cpt/
Dcptpf_main.c20 static u32 num_vfs = 4; /* Default 4 VF enabled */ variable
501 static int cpt_sriov_init(struct cpt_device *cpt, int num_vfs) in cpt_sriov_init()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_pf.h32 int num_vfs; /* number of active VFs, after sriov_init */ member
Denetc_pf.c624 static int enetc_sriov_configure(struct pci_dev *pdev, int num_vfs) in enetc_sriov_configure()
669 #define enetc_sriov_configure(pdev, num_vfs) (void)0 argument
/Linux-v5.4/drivers/net/ethernet/sfc/
Def10_sriov.c381 static int efx_ef10_pci_sriov_enable(struct efx_nic *efx, int num_vfs) in efx_ef10_pci_sriov_enable()
427 int efx_ef10_sriov_configure(struct efx_nic *efx, int num_vfs) in efx_ef10_sriov_configure()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_main.c223 static int nfp_pcie_sriov_enable(struct pci_dev *pdev, int num_vfs) in nfp_pcie_sriov_enable()
295 static int nfp_pcie_sriov_configure(struct pci_dev *pdev, int num_vfs) in nfp_pcie_sriov_configure()
Dnfp_main.h111 unsigned int num_vfs; member
/Linux-v5.4/drivers/fpga/
Ddfl-pci.c226 static int cci_pci_sriov_configure(struct pci_dev *pcidev, int num_vfs) in cci_pci_sriov_configure()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda.c965 u16 num_vfs; in pnv_pci_vf_resource_shift() local
1301 static int pnv_pci_vf_release_m64(struct pci_dev *pdev, u16 num_vfs) in pnv_pci_vf_release_m64()
1334 static int pnv_pci_vf_assign_m64(struct pci_dev *pdev, u16 num_vfs) in pnv_pci_vf_assign_m64()
1500 u16 num_vfs, i; in pnv_pci_sriov_disable() local
1541 static void pnv_ioda_setup_vf_PE(struct pci_dev *pdev, u16 num_vfs) in pnv_ioda_setup_vf_PE()
1602 int pnv_pci_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pnv_pci_sriov_enable()
1726 int pnv_pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pnv_pcibios_sriov_enable()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_pf2vf_msg.c343 int i, num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_notify_restarting() local
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_client.c218 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable()
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_rep.c494 int i, num_vfs; in lio_vf_rep_create() local

1234