Searched refs:max_cp_rings (Results 1 – 4 of 4) sorted by relevance
123 int max_idx, max_cp_rings; in bnxt_req_msix_vecs() local138 max_cp_rings = bnxt_get_max_func_cp_rings(bp); in bnxt_req_msix_vecs()148 max_idx = min_t(int, bp->total_irqs, max_cp_rings); in bnxt_req_msix_vecs()
597 hw_resc->max_cp_rings -= le16_to_cpu(req.min_cmpl_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()686 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()
1057 u16 max_cp_rings; member
7217 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in bnxt_hwrm_func_resc_qcaps()7295 hw_resc->max_cp_rings = le16_to_cpu(resp->max_cmpl_rings); in __bnxt_hwrm_func_qcaps()8462 return bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings()8467 unsigned int cp = bp->hw_resc.max_cp_rings; in bnxt_get_max_func_cp_rings_for_en()8482 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs()