Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c69 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
73 if (vf_id >= bp->pf.active_vfs) { in bnxt_vf_ndo_prep()
513 pf->active_vfs = i + 1; in bnxt_hwrm_func_vf_resc_cfg()
517 if (pf->active_vfs) { in bnxt_hwrm_func_vf_resc_cfg()
518 u16 n = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
525 hw_resc->max_rsscos_ctxs -= pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
529 rc = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
601 pf->active_vfs = i + 1; in bnxt_hwrm_func_cfg()
612 if (pf->active_vfs) { in bnxt_hwrm_func_cfg()
620 rc = pf->active_vfs; in bnxt_hwrm_func_cfg()
[all …]
Dbnxt.h856 u16 active_vfs; member
Dbnxt_ethtool.c2576 if (bp->pf.active_vfs) { in bnxt_self_test()
Dbnxt.c1787 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h728 DECLARE_BITMAP(active_vfs, IXGBE_MAX_VF_FUNCTIONS);
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dmain.c4094 int active_vfs = 0; in mlx4_remove_one() local
4105 active_vfs = mlx4_how_many_lives_vf(dev); in mlx4_remove_one()
4106 if (active_vfs) { in mlx4_remove_one()
4121 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()