Home
last modified time | relevance | path

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

1234

/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_main.c16 int num_vfs) in cptpf_enable_vfpf_mbox_intr()
42 int num_vfs) in cptpf_disable_vfpf_mbox_intr()
67 int num_vfs) in cptpf_enable_vf_flr_me_intrs()
98 int num_vfs) in cptpf_disable_vf_flr_me_intrs()
225 int num_vfs) in cptpf_unregister_vfpf_intr()
231 static int cptpf_register_vfpf_intr(struct otx2_cptpf_dev *cptpf, int num_vfs) in cptpf_register_vfpf_intr()
323 static int cptpf_flr_wq_init(struct otx2_cptpf_dev *cptpf, int num_vfs) in cptpf_flr_wq_init()
347 static int cptpf_vfpf_mbox_init(struct otx2_cptpf_dev *cptpf, int num_vfs) in cptpf_vfpf_mbox_init()
622 int num_vfs = pci_num_vf(pdev); in cptpf_sriov_disable() local
637 static int cptpf_sriov_enable(struct pci_dev *pdev, int num_vfs) in cptpf_sriov_enable()
[all …]
/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_isr.h15 static inline int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs) in nitrox_sriov_configure()
/drivers/net/ethernet/mellanox/mlx5/core/
Dsriov.c72 static int mlx5_device_enable_sriov(struct mlx5_core_dev *dev, int num_vfs) in mlx5_device_enable_sriov()
121 mlx5_device_disable_sriov(struct mlx5_core_dev *dev, int num_vfs, bool clear_vf) in mlx5_device_disable_sriov()
145 static int mlx5_sriov_enable(struct pci_dev *pdev, int num_vfs) in mlx5_sriov_enable()
167 int num_vfs = pci_num_vf(dev->pdev); in mlx5_sriov_disable() local
173 int mlx5_core_sriov_configure(struct pci_dev *pdev, int num_vfs) in mlx5_core_sriov_configure()
Deswitch.c1035 void mlx5_eswitch_unload_vf_vports(struct mlx5_eswitch *esw, u16 num_vfs) in mlx5_eswitch_unload_vf_vports()
1047 int mlx5_eswitch_load_vf_vports(struct mlx5_eswitch *esw, u16 num_vfs, in mlx5_eswitch_load_vf_vports()
1164 mlx5_eswitch_update_num_of_vfs(struct mlx5_eswitch *esw, int num_vfs) in mlx5_eswitch_update_num_of_vfs()
1254 int mlx5_eswitch_enable_locked(struct mlx5_eswitch *esw, int mode, int num_vfs) in mlx5_eswitch_enable_locked()
1316 int mlx5_eswitch_enable(struct mlx5_eswitch *esw, int num_vfs) in mlx5_eswitch_enable()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c367 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr()
379 static int bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_vf_resource_free()
422 static int bnxt_alloc_vf_resources(struct bnxt *bp, int num_vfs) in bnxt_alloc_vf_resources()
524 static int bnxt_hwrm_func_vf_resc_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_hwrm_func_vf_resc_cfg()
637 static int bnxt_hwrm_func_cfg(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_cfg()
722 static int bnxt_func_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_func_cfg()
730 int bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) in bnxt_cfg_hw_sriov()
756 static int bnxt_sriov_enable(struct bnxt *bp, int *num_vfs) in bnxt_sriov_enable()
843 u16 num_vfs = pci_num_vf(bp->pdev); in bnxt_sriov_disable() local
874 int bnxt_sriov_configure(struct pci_dev *pdev, int num_vfs) in bnxt_sriov_configure()
[all …]
Dbnxt_vfr.c266 u16 num_vfs, i; in bnxt_vf_reps_close() local
315 u16 num_vfs = pci_num_vf(bp->pdev); in __bnxt_vf_reps_destroy() local
378 u16 num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_free() local
415 u16 *cfa_code_map = bp->cfa_code_map, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_alloc() local
487 u16 *cfa_code_map = NULL, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_create() local
/drivers/net/ethernet/pensando/ionic/
Dionic_bus_pci.c144 static int ionic_vf_alloc(struct ionic *ionic, int num_vfs) in ionic_vf_alloc()
181 static int ionic_sriov_configure(struct pci_dev *pdev, int num_vfs) in ionic_sriov_configure()
219 int num_vfs; in ionic_probe() local
Dionic.h60 int num_vfs; member
/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()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c25 unsigned int num_vfs) in ixgbe_alloc_vf_macvlans()
52 unsigned int num_vfs) in __ixgbe_enable_sriov()
157 unsigned int num_vfs; in ixgbe_enable_sriov() local
207 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local
270 static int ixgbe_pci_sriov_enable(struct pci_dev *dev, int num_vfs) in ixgbe_pci_sriov_enable()
354 int ixgbe_pci_sriov_configure(struct pci_dev *dev, int num_vfs) in ixgbe_pci_sriov_configure()
/drivers/pci/
Diov.c357 u16 num_vfs; in sriov_numvfs_show() local
380 u16 num_vfs; in sriov_numvfs_store() local
526 int __weak pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pcibios_sriov_enable()
536 static int sriov_add_vfs(struct pci_dev *dev, u16 num_vfs) in sriov_add_vfs()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c75 u32 num_vfs, max, temp; in qlcnic_sriov_pf_cal_res_limit() local
566 static int qlcnic_sriov_pf_enable(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_sriov_pf_enable()
581 int num_vfs) in __qlcnic_pci_sriov_enable()
618 static int qlcnic_pci_sriov_enable(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_pci_sriov_enable()
667 int qlcnic_pci_sriov_configure(struct pci_dev *dev, int num_vfs) in qlcnic_pci_sriov_configure()
1767 u16 num_vfs = sriov->num_vfs; in qlcnic_sriov_pf_reset() local
1806 int i, num_vfs; in qlcnic_sriov_set_vf_mac() local
/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()
/drivers/net/netdevsim/
Dbus.c28 unsigned int num_vfs) in nsim_bus_dev_vfs_enable()
65 unsigned int num_vfs; in nsim_bus_dev_numvfs_store() local
/drivers/crypto/cavium/cpt/
Dcptpf_main.c19 static u32 num_vfs = 4; /* Default 4 VF enabled */ variable
502 static int cpt_sriov_init(struct cpt_device *cpt, int num_vfs) in cpt_sriov_init()
/drivers/net/ethernet/netronome/nfp/
Dnfp_main.c221 static int nfp_pcie_sriov_enable(struct pci_dev *pdev, int num_vfs) in nfp_pcie_sriov_enable()
293 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
/drivers/net/ethernet/sfc/
Def10_sriov.c377 static int efx_ef10_pci_sriov_enable(struct efx_nic *efx, int num_vfs) in efx_ef10_pci_sriov_enable()
434 int efx_ef10_sriov_configure(struct efx_nic *efx, int num_vfs) in efx_ef10_sriov_configure()
/drivers/net/ethernet/freescale/enetc/
Denetc_pf.h33 int num_vfs; /* number of active VFs, after sriov_init */ member
/drivers/crypto/qat/qat_common/
Dadf_pf2vf_msg.c300 int i, num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_notify_restarting() local
/drivers/crypto/marvell/octeontx/
Dotx_cptvf.h72 u8 num_vfs; /* Number of enabled VFs */ member
/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.h30 unsigned int num_vfs; member
/drivers/fpga/
Ddfl-pci.c388 static int cci_pci_sriov_configure(struct pci_dev *pcidev, int num_vfs) in cci_pci_sriov_configure()

1234