Lines Matching refs:active_vfs
55 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()
842 bp->pf.active_vfs = 0; in bnxt_sriov_disable()
882 if (num_vfs && num_vfs == bp->pf.active_vfs) in bnxt_sriov_configure()
1112 u32 i = 0, active_vfs = bp->pf.active_vfs, vf_id; in bnxt_hwrm_exec_fwd_req() local
1116 vf_id = find_next_bit(bp->pf.vf_event_bmap, active_vfs, i); in bnxt_hwrm_exec_fwd_req()
1117 if (vf_id >= active_vfs) in bnxt_hwrm_exec_fwd_req()