Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c44 unsigned int max_stat_ctxs; in bnxt_register_dev() local
46 max_stat_ctxs = bnxt_get_max_func_stat_ctxs(bp); in bnxt_register_dev()
47 if (max_stat_ctxs <= BNXT_MIN_ROCE_STAT_CTXS || in bnxt_register_dev()
48 bp->cp_nr_rings == max_stat_ctxs) in bnxt_register_dev()
Dbnxt_sriov.c602 hw_resc->max_stat_ctxs -= le16_to_cpu(req.min_stat_ctx) * n; in bnxt_hwrm_func_vf_resc_cfg()
691 hw_resc->max_stat_ctxs -= vf_stat_ctx * num_vfs; in bnxt_hwrm_func_cfg()
Dbnxt.h1038 u16 max_stat_ctxs; member
Dbnxt.c6901 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in bnxt_hwrm_func_resc_qcaps()
6966 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in __bnxt_hwrm_func_qcaps()
7942 return bp->hw_resc.max_stat_ctxs; in bnxt_get_max_func_stat_ctxs()
11420 hw_resc->max_stat_ctxs - bnxt_get_ulp_stat_ctxs(bp)); in _bnxt_get_max_rings()