Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c45 unsigned int max_stat_ctxs; in bnxt_register_dev() local
47 max_stat_ctxs = bnxt_get_max_func_stat_ctxs(bp); in bnxt_register_dev()
48 if (max_stat_ctxs <= BNXT_MIN_ROCE_STAT_CTXS || in bnxt_register_dev()
49 bp->cp_nr_rings == max_stat_ctxs) in bnxt_register_dev()
Dbnxt_sriov.c623 hw_resc->max_stat_ctxs -= le16_to_cpu(req->min_stat_ctx) * n; in bnxt_hwrm_func_vf_resc_cfg()
715 hw_resc->max_stat_ctxs -= vf_stat_ctx * num_vfs; in bnxt_hwrm_func_cfg()
Dbnxt.h1105 u16 max_stat_ctxs; member
Dbnxt.c7568 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in bnxt_hwrm_func_resc_qcaps()
7722 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in __bnxt_hwrm_func_qcaps()
9034 return bp->hw_resc.max_stat_ctxs; in bnxt_get_max_func_stat_ctxs()
13234 hw_resc->max_stat_ctxs - bnxt_get_ulp_stat_ctxs(bp)); in _bnxt_get_max_rings()