Lines Matching refs:qopt
931 struct tc_mqprio_qopt *qopt, in taprio_parse_mqprio_opt() argument
937 if (!qopt && !dev->num_tc) { in taprio_parse_mqprio_opt()
949 if (qopt->num_tc > TC_MAX_QUEUE) { in taprio_parse_mqprio_opt()
955 if (qopt->num_tc > dev->num_tx_queues) { in taprio_parse_mqprio_opt()
962 if (qopt->prio_tc_map[i] >= qopt->num_tc) { in taprio_parse_mqprio_opt()
968 for (i = 0; i < qopt->num_tc; i++) { in taprio_parse_mqprio_opt()
969 unsigned int last = qopt->offset[i] + qopt->count[i]; in taprio_parse_mqprio_opt()
974 if (qopt->offset[i] >= dev->num_tx_queues || in taprio_parse_mqprio_opt()
975 !qopt->count[i] || in taprio_parse_mqprio_opt()
985 for (j = i + 1; j < qopt->num_tc; j++) { in taprio_parse_mqprio_opt()
986 if (last > qopt->offset[j]) { in taprio_parse_mqprio_opt()