Lines Matching refs:max_tc
43 for (i = 0; i < softc->max_tc; i++) { in bnxt_tx_queue_to_tc()
45 for (j = 0; j < softc->max_tc; j++) { in bnxt_tx_queue_to_tc()
114 uint8_t max_tc) in bnxt_hwrm_queue_cos2bw_cfg() argument
123 for (i = 0; i < max_tc; i++) { in bnxt_hwrm_queue_cos2bw_cfg()
176 for (i = 0; i < softc->max_tc; i++, data += sizeof(cos2bw.cfg)) { in bnxt_hwrm_queue_cos2bw_qcfg()
201 int max = softc->max_tc; in bnxt_queue_remap()
228 rc = bnxt_hwrm_queue_cos2bw_cfg(softc, softc->ieee_ets, softc->max_tc); in bnxt_queue_remap()
255 for (i = 0; i < softc->max_tc; i++) { in bnxt_hwrm_queue_pfc_cfg()
274 for (i = 0; i < softc->max_tc; i++) { in bnxt_hwrm_queue_pfc_cfg()
560 uint8_t max_tc = 0; in bnxt_ets_validate() local
564 if (ets->prio_tc[i] > softc->max_tc) { in bnxt_ets_validate()
569 if (ets->prio_tc[i] > max_tc) in bnxt_ets_validate()
570 max_tc = ets->prio_tc[i]; in bnxt_ets_validate()
572 if ((ets->tc_tx_bw[i] || ets->tc_tsa[i]) && i > softc->max_tc) in bnxt_ets_validate()
595 if (max_tc >= softc->max_tc) in bnxt_ets_validate()
596 *tc = softc->max_tc; in bnxt_ets_validate()
598 *tc = max_tc + 1; in bnxt_ets_validate()
620 ets->ets_cap = softc->max_tc; in bnxt_dcb_ieee_getets()
634 uint8_t max_tc = 0; in bnxt_dcb_ieee_setets() local
641 rc = bnxt_ets_validate(softc, ets, &max_tc); in bnxt_dcb_ieee_setets()
645 rc = bnxt_hwrm_queue_cos2bw_cfg(softc, ets, max_tc); in bnxt_dcb_ieee_setets()