Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.c61 unsigned int max_stat_ctxs; in bnxt_register_dev() local
64 max_stat_ctxs = bnxt_get_max_func_stat_ctxs(bp); in bnxt_register_dev()
65 if (max_stat_ctxs <= BNXT_MIN_ROCE_STAT_CTXS || in bnxt_register_dev()
66 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.h1127 u16 max_stat_ctxs; member
Dbnxt.c7573 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in bnxt_hwrm_func_resc_qcaps()
7727 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in __bnxt_hwrm_func_qcaps()
9044 return bp->hw_resc.max_stat_ctxs; in bnxt_get_max_func_stat_ctxs()
13307 hw_resc->max_stat_ctxs - bnxt_get_ulp_stat_ctxs(bp)); in _bnxt_get_max_rings()