Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
399 bp->pf.active_vfs = 0; in bnxt_free_vf_resources()
586 pf->active_vfs = i + 1; in bnxt_hwrm_func_vf_resc_cfg()
590 if (pf->active_vfs) { in bnxt_hwrm_func_vf_resc_cfg()
591 u16 n = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
604 rc = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()
673 pf->active_vfs = i + 1; in bnxt_hwrm_func_cfg()
682 if (pf->active_vfs) { in bnxt_hwrm_func_cfg()
690 rc = pf->active_vfs; in bnxt_hwrm_func_cfg()
[all …]
Dbnxt.h1118 u16 active_vfs; member
Dbnxt_ethtool.c3334 if (bp->pf.active_vfs || !BNXT_SINGLE_PF(bp)) { in bnxt_self_test()
Dbnxt.c2200 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()
9950 int n = pf->active_vfs; in bnxt_reenable_sriov()
11010 if (bp->pf.active_vfs && in bnxt_fw_reset()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h740 DECLARE_BITMAP(active_vfs, IXGBE_MAX_VF_FUNCTIONS);
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dmain.c4150 int active_vfs = 0; in mlx4_remove_one() local
4163 active_vfs = mlx4_how_many_lives_vf(dev); in mlx4_remove_one()
4164 if (active_vfs) { in mlx4_remove_one()
4179 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()