Searched refs:max_stat_ctxs (Results 1 – 7 of 7) sorted by relevance
34 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() local41 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()
33 u16 max_stat_ctxs; member
565 hw_resc->max_stat_ctxs = le16_to_cpu(resp->max_stat_ctx); in bnge_hwrm_func_resc_qcaps()
118 unsigned int max_stat_ctxs; in bnxt_register_dev() local128 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()
729 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()
1365 u16 max_stat_ctxs; member
9621 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()