Lines Matching refs:mqprio
5143 struct tc_mqprio_qopt_offload *mqprio) in mvneta_setup_mqprio() argument
5149 if (mqprio->qopt.hw != TC_MQPRIO_HW_OFFLOAD_TCS) in mvneta_setup_mqprio()
5152 num_tc = mqprio->qopt.num_tc; in mvneta_setup_mqprio()
5165 netdev_set_num_tc(dev, mqprio->qopt.num_tc); in mvneta_setup_mqprio()
5167 for (tc = 0; tc < mqprio->qopt.num_tc; tc++) { in mvneta_setup_mqprio()
5168 netdev_set_tc_queue(dev, tc, mqprio->qopt.count[tc], in mvneta_setup_mqprio()
5169 mqprio->qopt.offset[tc]); in mvneta_setup_mqprio()
5171 for (rxq = mqprio->qopt.offset[tc]; in mvneta_setup_mqprio()
5172 rxq < mqprio->qopt.count[tc] + mqprio->qopt.offset[tc]; in mvneta_setup_mqprio()
5181 if (mqprio->shaper != TC_MQPRIO_SHAPER_BW_RATE) { in mvneta_setup_mqprio()
5186 if (mqprio->qopt.num_tc > txq_number) in mvneta_setup_mqprio()
5193 for (tc = 0; tc < mqprio->qopt.num_tc; tc++) { in mvneta_setup_mqprio()
5194 for (txq = mqprio->qopt.offset[tc]; in mvneta_setup_mqprio()
5195 txq < mqprio->qopt.count[tc] + mqprio->qopt.offset[tc]; in mvneta_setup_mqprio()
5201 mqprio->min_rate[tc], in mvneta_setup_mqprio()
5202 mqprio->max_rate[tc]); in mvneta_setup_mqprio()