Lines Matching refs:max_tc
28 for (i = 0; i < bp->max_tc; i++) { in bnxt_queue_to_tc()
30 for (j = 0; j < bp->max_tc; j++) { in bnxt_queue_to_tc()
92 u8 max_tc) in bnxt_hwrm_queue_cos2bw_cfg() argument
100 for (i = 0; i < max_tc; i++) { in bnxt_hwrm_queue_cos2bw_cfg()
153 for (i = 0; i < bp->max_tc; i++, data += sizeof(cos2bw) - 4) { in bnxt_hwrm_queue_cos2bw_qcfg()
179 int max = bp->max_tc; in bnxt_queue_remap()
244 for (i = 0; i < bp->max_tc; i++) { in bnxt_hwrm_queue_pfc_cfg()
258 for (i = 0; i < bp->max_tc; i++) { in bnxt_hwrm_queue_pfc_cfg()
443 u8 max_tc = 0; in bnxt_ets_validate() local
447 if (ets->prio_tc[i] > bp->max_tc) { in bnxt_ets_validate()
452 if (ets->prio_tc[i] > max_tc) in bnxt_ets_validate()
453 max_tc = ets->prio_tc[i]; in bnxt_ets_validate()
455 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > bp->max_tc) in bnxt_ets_validate()
471 if (max_tc >= bp->max_tc) in bnxt_ets_validate()
472 *tc = bp->max_tc; in bnxt_ets_validate()
474 *tc = max_tc + 1; in bnxt_ets_validate()
483 ets->ets_cap = bp->max_tc; in bnxt_dcbnl_ieee_getets()
514 u8 max_tc = 0; in bnxt_dcbnl_ieee_setets() local
521 rc = bnxt_ets_validate(bp, ets, &max_tc); in bnxt_dcbnl_ieee_setets()
532 rc = bnxt_setup_mq_tc(dev, max_tc); in bnxt_dcbnl_ieee_setets()
535 rc = bnxt_hwrm_queue_cos2bw_cfg(bp, ets, max_tc); in bnxt_dcbnl_ieee_setets()