Lines Matching refs:max_tc
29 for (i = 0; i < bp->max_tc; i++) { in bnxt_queue_to_tc()
31 for (j = 0; j < bp->max_tc; j++) { in bnxt_queue_to_tc()
97 u8 max_tc) in bnxt_hwrm_queue_cos2bw_cfg() argument
108 for (i = 0; i < max_tc; i++) { in bnxt_hwrm_queue_cos2bw_cfg()
162 for (i = 0; i < bp->max_tc; i++, data += sizeof(cos2bw.cfg)) { in bnxt_hwrm_queue_cos2bw_qcfg()
188 int max = bp->max_tc; in bnxt_queue_remap()
253 for (i = 0; i < bp->max_tc; i++) { in bnxt_hwrm_queue_pfc_cfg()
267 for (i = 0; i < bp->max_tc; i++) { in bnxt_hwrm_queue_pfc_cfg()
468 u8 max_tc = 0; in bnxt_ets_validate() local
472 if (ets->prio_tc[i] > bp->max_tc) { in bnxt_ets_validate()
477 if (ets->prio_tc[i] > max_tc) in bnxt_ets_validate()
478 max_tc = ets->prio_tc[i]; in bnxt_ets_validate()
480 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) in bnxt_ets_validate()
503 if (max_tc >= bp->max_tc) in bnxt_ets_validate()
504 *tc = bp->max_tc; in bnxt_ets_validate()
506 *tc = max_tc + 1; in bnxt_ets_validate()
516 ets->ets_cap = bp->max_tc; in bnxt_dcbnl_ieee_getets()
551 u8 max_tc = 0; in bnxt_dcbnl_ieee_setets() local
558 rc = bnxt_ets_validate(bp, ets, &max_tc); in bnxt_dcbnl_ieee_setets()
569 rc = bnxt_setup_mq_tc(dev, max_tc); in bnxt_dcbnl_ieee_setets()
572 rc = bnxt_hwrm_queue_cos2bw_cfg(bp, ets, max_tc); in bnxt_dcbnl_ieee_setets()