Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c448 u16 vf_stat_ctx, vf_vnics, vf_ring_grps; in bnxt_hwrm_func_vf_resc_cfg() local
455 vf_stat_ctx = hw_resc->max_stat_ctxs - bp->num_stat_ctxs; in bnxt_hwrm_func_vf_resc_cfg()
485 vf_stat_ctx /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()
493 req.min_stat_ctx = cpu_to_le16(vf_stat_ctx); in bnxt_hwrm_func_vf_resc_cfg()
501 req.max_stat_ctx = cpu_to_le16(vf_stat_ctx); in bnxt_hwrm_func_vf_resc_cfg()
540 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings, vf_stat_ctx, vf_vnics; in bnxt_hwrm_func_cfg() local
554 vf_stat_ctx = (max_stat_ctxs - bp->num_stat_ctxs) / num_vfs; in bnxt_hwrm_func_cfg()
590 req.num_stat_ctxs = cpu_to_le16(vf_stat_ctx); in bnxt_hwrm_func_cfg()
618 hw_resc->max_stat_ctxs -= vf_stat_ctx * num_vfs; in bnxt_hwrm_func_cfg()