Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_resc.c34 return bd->hw_resc.max_stat_ctxs; in bnge_get_max_func_stat_ctxs()
39 unsigned int max_stat_ctxs; in bnge_aux_has_enough_resources() local
41 max_stat_ctxs = bnge_get_max_func_stat_ctxs(bd); in bnge_aux_has_enough_resources()
42 if (max_stat_ctxs <= BNGE_MIN_ROCE_STAT_CTXS || in bnge_aux_has_enough_resources()
43 bd->nq_nr_rings == max_stat_ctxs) in bnge_aux_has_enough_resources()
446 hw_resc->max_stat_ctxs); in _bnge_get_max_rings()
H A Dbnge_resc.h33 u16 max_stat_ctxs; member
H A Dbnge_hwrm_lib.c565 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in bnge_hwrm_func_resc_qcaps()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ulp.c118 unsigned int max_stat_ctxs; in bnxt_register_dev() local
128 max_stat_ctxs = bnxt_get_max_func_stat_ctxs(bp); in bnxt_register_dev()
129 if (max_stat_ctxs <= BNXT_MIN_ROCE_STAT_CTXS || in bnxt_register_dev()
130 bp->cp_nr_rings == max_stat_ctxs) { in bnxt_register_dev()
H A Dbnxt_sriov.c729 hw_resc->max_stat_ctxs -= le16_to_cpu(req->min_stat_ctx) * n; in bnxt_hwrm_func_vf_resc_cfg()
827 hw_resc->max_stat_ctxs -= vf_stat_ctx * num_vfs; in bnxt_hwrm_func_cfg()
H A Dbnxt.h1365 u16 max_stat_ctxs; member
H A Dbnxt.c9621 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in bnxt_hwrm_func_resc_qcaps()
9811 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in __bnxt_hwrm_func_qcaps()
11362 return bp->hw_resc.max_stat_ctxs; in bnxt_get_max_func_stat_ctxs()
16451 hw_resc->max_stat_ctxs - in _bnxt_get_max_rings()