Home
last modified time | relevance | path

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

/Linux-v5.15/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.h1119 u16 active_vfs; member
Dbnxt_ethtool.c3486 if (bp->pf.active_vfs || !BNXT_SINGLE_PF(bp)) { in bnxt_self_test()
Dbnxt.c2315 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()
10325 int n = pf->active_vfs; in bnxt_reenable_sriov()
11574 if (bp->pf.active_vfs && in bnxt_fw_reset()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h735 DECLARE_BITMAP(active_vfs, IXGBE_MAX_VF_FUNCTIONS);
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Dmain.c4141 int active_vfs = 0; in mlx4_remove_one() local
4154 active_vfs = mlx4_how_many_lives_vf(dev); in mlx4_remove_one()
4155 if (active_vfs) { in mlx4_remove_one()
4170 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()