Lines Matching refs:mqprio
5218 struct tc_mqprio_qopt_offload *mqprio)
5224 if (mqprio->qopt.hw != TC_MQPRIO_HW_OFFLOAD_TCS)
5227 num_tc = mqprio->qopt.num_tc;
5240 netdev_set_num_tc(dev, mqprio->qopt.num_tc);
5242 for (tc = 0; tc < mqprio->qopt.num_tc; tc++) {
5243 netdev_set_tc_queue(dev, tc, mqprio->qopt.count[tc],
5244 mqprio->qopt.offset[tc]);
5246 for (rxq = mqprio->qopt.offset[tc];
5247 rxq < mqprio->qopt.count[tc] + mqprio->qopt.offset[tc];
5256 if (mqprio->shaper != TC_MQPRIO_SHAPER_BW_RATE) {
5261 if (mqprio->qopt.num_tc > txq_number)
5268 for (tc = 0; tc < mqprio->qopt.num_tc; tc++) {
5269 for (txq = mqprio->qopt.offset[tc];
5270 txq < mqprio->qopt.count[tc] + mqprio->qopt.offset[tc];
5276 mqprio->min_rate[tc],
5277 mqprio->max_rate[tc]);