Home
last modified time | relevance | path

Searched refs:active_vfs (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_sriov.c58 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
417 bp->pf.active_vfs = 0; in bnxt_free_vf_resources()
609 pf->active_vfs = i + 1; in bnxt_hwrm_func_vf_resc_cfg()
613 if (pf->active_vfs) { in bnxt_hwrm_func_vf_resc_cfg()
614 u16 n = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
628 rc = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
700 pf->active_vfs = i + 1; in bnxt_hwrm_func_cfg()
709 if (pf->active_vfs) { in bnxt_hwrm_func_cfg()
717 rc = pf->active_vfs; in bnxt_hwrm_func_cfg()
1140 u32 i = 0, active_vfs = bp->pf.active_vfs, vf_id; in bnxt_hwrm_exec_fwd_req() local
[all …]
A Dbnxt.h1142 u16 active_vfs; member
2297 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
A Dbnxt_ethtool.c3719 if (bp->pf.active_vfs || !BNXT_SINGLE_PF(bp)) { in bnxt_self_test()
A Dbnxt.c2437 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()
10640 int n = pf->active_vfs; in bnxt_reenable_sriov()
11927 if (bp->pf.active_vfs && in bnxt_fw_reset()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_config.h76 #define CFG_GET_ACTIVE_VFS(cfg) ((cfg)->sriov_cfg.active_vfs)
155 u16 active_vfs; member
A Doctep_cn9k_pf.c210 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs; in octep_init_config_cn93_pf()
219 conf->sriov_cfg.active_vfs, conf->pf_ring_cfg.active_io_rings); in octep_init_config_cn93_pf()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe.h786 DECLARE_BITMAP(active_vfs, IXGBE_MAX_VF_FUNCTIONS);
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dmain.c4146 int active_vfs = 0; in mlx4_remove_one() local
4160 active_vfs = mlx4_how_many_lives_vf(dev); in mlx4_remove_one()
4161 if (active_vfs) { in mlx4_remove_one()
4176 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()

Completed in 68 milliseconds