Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c55 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
59 if (vf_id >= bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
589 pf->active_vfs = i + 1; in bnxt_hwrm_func_vf_resc_cfg()
593 if (pf->active_vfs) { in bnxt_hwrm_func_vf_resc_cfg()
594 u16 n = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
601 hw_resc->max_rsscos_ctxs -= pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
607 rc = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
676 pf->active_vfs = i + 1; in bnxt_hwrm_func_cfg()
685 if (pf->active_vfs) { in bnxt_hwrm_func_cfg()
693 rc = pf->active_vfs; in bnxt_hwrm_func_cfg()
[all …]
Dbnxt.h1075 u16 active_vfs; member
Dbnxt_ethtool.c2902 if (bp->pf.active_vfs) { in bnxt_self_test()
Dbnxt.c2069 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()
9230 int n = pf->active_vfs; in bnxt_open()
10148 if (bp->pf.active_vfs && in bnxt_fw_reset()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h738 DECLARE_BITMAP(active_vfs, IXGBE_MAX_VF_FUNCTIONS);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dmain.c4123 int active_vfs = 0; in mlx4_remove_one() local
4136 active_vfs = mlx4_how_many_lives_vf(dev); in mlx4_remove_one()
4137 if (active_vfs) { in mlx4_remove_one()
4152 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()