Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_cpr.c217 if (bp->pf->active_vfs <= 0) { in bnxt_handle_fwd_req()
236 fw_vf_id >= bp->pf->first_vf_id + bp->pf->active_vfs) { in bnxt_handle_fwd_req()
240 (bp->pf->first_vf_id) + bp->pf->active_vfs - 1, in bnxt_handle_fwd_req()
241 bp->pf->first_vf_id, bp->pf->active_vfs); in bnxt_handle_fwd_req()
H A Drte_pmd_bnxt.c121 for (i = 0; i < bp->pf->active_vfs; i++) { in rte_pmd_bnxt_set_all_queues_drop_en()
200 if (!bp->pf->active_vfs) in rte_pmd_bnxt_set_vf_rate_limit()
H A Dbnxt.h256 uint16_t active_vfs; member
H A Dbnxt_hwrm.c3597 bp->pf->active_vfs = 0; in bnxt_process_vf_resc_config_new()
3626 bp->pf->active_vfs++; in bnxt_process_vf_resc_config_new()
3642 bp->pf->active_vfs = 0; in bnxt_process_vf_resc_config_old()
3678 bp->pf->active_vfs++; in bnxt_process_vf_resc_config_old()
/f-stack/dpdk/drivers/common/octeontx2/
H A Dotx2_dev.c199 uint16_t max_bits = sizeof(dev->active_vfs[0]) * 8; in vf_pf_process_msgs()
202 dev->active_vfs[vf / max_bits] |= in vf_pf_process_msgs()
399 uint16_t max_bits = sizeof(dev->active_vfs[0]) * sizeof(uint64_t); in pf_vf_mbox_send_up_msg()
410 if (!(dev->active_vfs[vf / max_bits] & (BIT_ULL(vf)))) in pf_vf_mbox_send_up_msg()
871 count += __builtin_popcount(dev->active_vfs[i]); in otx2_dev_active_vfs()
954 memset(&dev->active_vfs, 0, sizeof(dev->active_vfs)); in otx2_dev_priv_init()
H A Dotx2_dev.h78 uint64_t active_vfs[MAX_VFPF_DWORD_BITS]; \
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_sriov.h183 u64 active_vfs[ECORE_VF_ARRAY_LENGTH]; member
H A Decore_sriov.c1243 p_hwfn->pf_iov_info->active_vfs[vf->relative_vf_id / 64] |= in ecore_iov_init_hw_for_vf()
1321 p_hwfn->pf_iov_info->active_vfs[vf->relative_vf_id / 64] &= in ecore_iov_release_hw_for_vf()