Lines Matching refs:active_vfs
58 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()
921 if (num_vfs && num_vfs == bp->pf.active_vfs) in bnxt_sriov_configure()
1156 u32 i = 0, active_vfs = bp->pf.active_vfs, vf_id; in bnxt_hwrm_exec_fwd_req() local
1160 vf_id = find_next_bit(bp->pf.vf_event_bmap, active_vfs, i); in bnxt_hwrm_exec_fwd_req()
1161 if (vf_id >= active_vfs) in bnxt_hwrm_exec_fwd_req()