Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c529 u16 vf_stat_ctx, vf_vnics, vf_ring_grps; in bnxt_hwrm_func_vf_resc_cfg() local
546 vf_stat_ctx = bnxt_get_avail_stat_ctxs_for_en(bp); in bnxt_hwrm_func_vf_resc_cfg()
576 vf_stat_ctx /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()
585 req->min_stat_ctx = cpu_to_le16(vf_stat_ctx); in bnxt_hwrm_func_vf_resc_cfg()
594 req->max_stat_ctx = cpu_to_le16(vf_stat_ctx); in bnxt_hwrm_func_vf_resc_cfg()
639 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings, vf_stat_ctx, vf_vnics; in bnxt_hwrm_func_cfg() local
654 vf_stat_ctx = bnxt_get_avail_stat_ctxs_for_en(bp) / num_vfs; in bnxt_hwrm_func_cfg()
690 req->num_stat_ctxs = cpu_to_le16(vf_stat_ctx); in bnxt_hwrm_func_cfg()
715 hw_resc->max_stat_ctxs -= vf_stat_ctx * num_vfs; in bnxt_hwrm_func_cfg()