Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c58 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
62 if (vf_id >= 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()
[all …]
Dbnxt.h1141 u16 active_vfs; member
2286 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
Dbnxt_ethtool.c3615 if (bp->pf.active_vfs || !BNXT_SINGLE_PF(bp)) { in bnxt_self_test()
Dbnxt.c2435 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()
10601 int n = pf->active_vfs; in bnxt_reenable_sriov()
11869 if (bp->pf.active_vfs && in bnxt_fw_reset()
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_config.h76 #define CFG_GET_ACTIVE_VFS(cfg) ((cfg)->sriov_cfg.active_vfs)
155 u16 active_vfs; member
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.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h778 DECLARE_BITMAP(active_vfs, IXGBE_MAX_VF_FUNCTIONS);
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dmain.c4147 int active_vfs = 0; in mlx4_remove_one() local
4161 active_vfs = mlx4_how_many_lives_vf(dev); in mlx4_remove_one()
4162 if (active_vfs) { in mlx4_remove_one()
4177 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()