Searched refs:active_vfs (Results 1 – 10 of 10) sorted by relevance
59 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep()63 if (vf_id >= bp->pf.active_vfs) { in bnxt_vf_ndo_prep()419 bp->pf.active_vfs = 0; in bnxt_free_vf_resources()619 pf->active_vfs = i + 1; in bnxt_hwrm_func_vf_resc_cfg()623 if (pf->active_vfs) { in bnxt_hwrm_func_vf_resc_cfg()624 u16 n = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()638 rc = pf->active_vfs; in bnxt_hwrm_func_vf_resc_cfg()710 pf->active_vfs = i + 1; in bnxt_hwrm_func_cfg()719 if (pf->active_vfs) { in bnxt_hwrm_func_cfg()727 rc = pf->active_vfs; in bnxt_hwrm_func_cfg()[all …]
1380 u16 active_vfs; member2782 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
1502 if (BNXT_PF(bp) && vf > bp->pf.active_vfs) in bnxt_srxclsrlins()4860 if (bp->pf.active_vfs || !BNXT_SINGLE_PF(bp)) { in bnxt_self_test()
2809 (vf_id >= bp->pf.first_vf_id + bp->pf.active_vfs)) { in bnxt_hwrm_handler()5829 if (fltr->base.vf_idx >= pf->active_vfs) in bnxt_hwrm_l2_filter_free()5856 if (fltr->base.vf_idx >= pf->active_vfs) in bnxt_hwrm_l2_filter_alloc()12252 int n = pf->active_vfs; in bnxt_reenable_sriov()13576 if (bp->pf.active_vfs && in bnxt_fw_reset()
82 #define CFG_GET_ACTIVE_VFS(cfg) ((cfg)->sriov_cfg.active_vfs)164 u16 active_vfs; member
215 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs; in octep_init_config_cn93_pf()230 conf->sriov_cfg.active_vfs, conf->pf_ring_cfg.active_io_rings); in octep_init_config_cn93_pf()375 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue; in octep_poll_pfvf_mailbox() local381 active_vfs = CFG_GET_ACTIVE_VFS(oct->conf); in octep_poll_pfvf_mailbox()383 for (vf = 0; vf < active_vfs; vf++) { in octep_poll_pfvf_mailbox()
239 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs; in octep_init_config_cnxk_pf()249 conf->sriov_cfg.active_vfs, conf->pf_ring_cfg.active_io_rings); in octep_init_config_cnxk_pf()404 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue; in octep_poll_pfvf_mailbox_cnxk_pf() local409 active_vfs = CFG_GET_ACTIVE_VFS(oct->conf); in octep_poll_pfvf_mailbox_cnxk_pf()411 for (vf = 0; vf < active_vfs; vf++) { in octep_poll_pfvf_mailbox_cnxk_pf()
245 num_vfs = oct->conf->sriov_cfg.active_vfs; in octep_setup_pfvf_mbox()281 int num_vfs = oct->conf->sriov_cfg.active_vfs; in octep_delete_pfvf_mbox()
785 DECLARE_BITMAP(active_vfs, IXGBE_MAX_VF_FUNCTIONS);
4178 int active_vfs = 0; in mlx4_remove_one() local4192 active_vfs = mlx4_how_many_lives_vf(dev); in mlx4_remove_one()4193 if (active_vfs) { in mlx4_remove_one()4208 if (dev->flags & MLX4_FLAG_SRIOV && !active_vfs) { in mlx4_remove_one()