blob: b5a29e40f0ea265caafba679aa4ef3ca7a861590 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001####################################################################
2# hqos: 1:ON, 0:OFF #
3# txq_num: 16:default (only supports 64 queues for MT7622) #
developerbcde4cb2023-11-03 10:28:37 +08004# sch_num: 2 or 4 (only supports 2 schedulers for MT7622) #
developerfd40db22021-04-29 10:08:25 +08005# scheduling: wrr: weighted round-robin, sp: strict priority #
6# sch0_bw: sch0 bandwidth (unit:Kbps) #
7# sch1_bw: sch1 bandwidth (unit:Kbps) #
developerbcde4cb2023-11-03 10:28:37 +08008# sch2_bw: sch2 bandwidth (unit:Kbps) #
9# sch3_bw: sch3 bandwidth (unit:Kbps) #
developerfd40db22021-04-29 10:08:25 +080010####################################################################
11config global global
12 option enable 1
developer70cdf6e2021-12-07 18:58:35 +080013 option hqos 0
developerfd40db22021-04-29 10:08:25 +080014 option txq_num 16
developerbcde4cb2023-11-03 10:28:37 +080015 option sch_num 2
developerfd40db22021-04-29 10:08:25 +080016 option scheduling 'wrr'
17 option sch0_bw 1000000
18 option sch1_bw 1000000
developerbcde4cb2023-11-03 10:28:37 +080019 option sch2_bw 1000000
20 option sch3_bw 1000000
developerfd40db22021-04-29 10:08:25 +080021
22####################################################################
23# id: queue id #
24# minrate: percentage of min rate limit #
25# maxrate: percentage of max rate limit #
developerbcde4cb2023-11-03 10:28:37 +080026# weight: weight for queue schedule (only for wrr) #
developerfd40db22021-04-29 10:08:25 +080027# resv: buffer reserved for HW/SW path #
28####################################################################
29config queue
30 option id 0
31 option minrate 30
32 option maxrate 100
33 option weight 4
34 option resv 4
35
36config queue
37 option id 1
38 option minrate 30
39 option maxrate 100
40 option weight 2
41 option resv 4
42
43config queue
44 option id 2
45 option minrate 30
46 option maxrate 100
47 option weight 2
48 option resv 4
49
50config queue
51 option id 3
52 option minrate 30
53 option maxrate 100
54 option weight 4
55 option resv 4
56
57config queue
58 option id 4
59 option minrate 30
60 option maxrate 100
61 option weight 6
62 option resv 4
63
64config queue
65 option id 5
66 option minrate 30
67 option maxrate 100
68 option weight 6
69 option resv 4
70
71config queue
72 option id 6
73 option minrate 30
74 option maxrate 100
75 option weight 8
76 option resv 4
77
78config queue
79 option id 7
80 option minrate 30
81 option maxrate 100
82 option weight 8
83 option resv 4
84
85config queue
86 option id 8
87 option minrate 30
88 option maxrate 100
89 option weight 4
90 option resv 4
91
92config queue
93 option id 9
94 option minrate 30
95 option maxrate 100
96 option weight 2
97 option resv 4
98
99config queue
100 option id 10
101 option minrate 30
102 option maxrate 100
103 option weight 2
104 option resv 4
105
106config queue
107 option id 11
108 option minrate 30
109 option maxrate 100
110 option weight 4
111 option resv 4
112
113config queue
114 option id 12
115 option minrate 30
116 option maxrate 100
117 option weight 6
118 option resv 4
119
120config queue
121 option id 13
122 option minrate 30
123 option maxrate 100
124 option weight 6
125 option resv 4
126
127config queue
128 option id 14
129 option minrate 30
130 option maxrate 100
131 option weight 8
132 option resv 4
133
134config queue
135 option id 15
136 option minrate 30
137 option maxrate 100
138 option weight 8
139 option resv 4
140
141####################################################################
142# Default setting supports 16 queues (id: 0~15) #
143# Only supports 64 queues for MT7622 #
144####################################################################
145config queue
146 option id 16
147 option minrate 30
148 option maxrate 100
149 option weight 4
150 option resv 4
151
152config queue
153 option id 17
154 option minrate 30
155 option maxrate 100
156 option weight 2
157 option resv 4
158
159config queue
160 option id 18
161 option minrate 30
162 option maxrate 100
163 option weight 2
164 option resv 4
165
166config queue
167 option id 19
168 option minrate 30
169 option maxrate 100
170 option weight 4
171 option resv 4
172
173config queue
174 option id 20
175 option minrate 30
176 option maxrate 100
177 option weight 6
178 option resv 4
179
180config queue
181 option id 21
182 option minrate 30
183 option maxrate 100
184 option weight 6
185 option resv 4
186
187config queue
188 option id 22
189 option minrate 30
190 option maxrate 100
191 option weight 8
192 option resv 4
193
194config queue
195 option id 23
196 option minrate 30
197 option maxrate 100
198 option weight 8
199 option resv 4
200
201config queue
202 option id 24
203 option minrate 30
204 option maxrate 100
205 option weight 4
206 option resv 4
207
208config queue
209 option id 25
210 option minrate 30
211 option maxrate 100
212 option weight 2
213 option resv 4
214
215config queue
216 option id 26
217 option minrate 30
218 option maxrate 100
219 option weight 2
220 option resv 4
221
222config queue
223 option id 27
224 option minrate 30
225 option maxrate 100
226 option weight 4
227 option resv 4
228
229config queue
230 option id 28
231 option minrate 30
232 option maxrate 100
233 option weight 6
234 option resv 4
235
236config queue
237 option id 29
238 option minrate 30
239 option maxrate 100
240 option weight 6
241 option resv 4
242
243config queue
244 option id 30
245 option minrate 30
246 option maxrate 100
247 option weight 8
248 option resv 4
249
250config queue
251 option id 31
252 option minrate 30
253 option maxrate 100
254 option weight 8
255 option resv 4
256
257config queue
258 option id 32
259 option minrate 30
260 option maxrate 100
261 option weight 4
262 option resv 4
263
264config queue
265 option id 33
266 option minrate 30
267 option maxrate 100
268 option weight 2
269 option resv 4
270
271config queue
272 option id 34
273 option minrate 30
274 option maxrate 100
275 option weight 2
276 option resv 4
277
278config queue
279 option id 35
280 option minrate 30
281 option maxrate 100
282 option weight 4
283 option resv 4
284
285config queue
286 option id 36
287 option minrate 30
288 option maxrate 100
289 option weight 6
290 option resv 4
291
292config queue
293 option id 37
294 option minrate 30
295 option maxrate 100
296 option weight 6
297 option resv 4
298
299config queue
300 option id 38
301 option minrate 30
302 option maxrate 100
303 option weight 8
304 option resv 4
305
306config queue
307 option id 39
308 option minrate 30
309 option maxrate 100
310 option weight 8
311 option resv 4
312
313config queue
314 option id 40
315 option minrate 30
316 option maxrate 100
317 option weight 4
318 option resv 4
319
320config queue
321 option id 41
322 option minrate 30
323 option maxrate 100
324 option weight 2
325 option resv 4
326
327config queue
328 option id 42
329 option minrate 30
330 option maxrate 100
331 option weight 2
332 option resv 4
333
334config queue
335 option id 43
336 option minrate 30
337 option maxrate 100
338 option weight 4
339 option resv 4
340
341config queue
342 option id 44
343 option minrate 30
344 option maxrate 100
345 option weight 6
346 option resv 4
347
348config queue
349 option id 45
350 option minrate 30
351 option maxrate 100
352 option weight 6
353 option resv 4
354
355config queue
356 option id 46
357 option minrate 30
358 option maxrate 100
359 option weight 8
360 option resv 4
361
362config queue
363 option id 47
364 option minrate 30
365 option maxrate 100
366 option weight 8
367 option resv 4
368
369config queue
370 option id 48
371 option minrate 30
372 option maxrate 100
373 option weight 4
374 option resv 4
375
376config queue
377 option id 49
378 option minrate 30
379 option maxrate 100
380 option weight 2
381 option resv 4
382
383config queue
384 option id 50
385 option minrate 30
386 option maxrate 100
387 option weight 2
388 option resv 4
389
390config queue
391 option id 51
392 option minrate 30
393 option maxrate 100
394 option weight 4
395 option resv 4
396
397config queue
398 option id 52
399 option minrate 30
400 option maxrate 100
401 option weight 6
402 option resv 4
403
404config queue
405 option id 53
406 option minrate 30
407 option maxrate 100
408 option weight 6
409 option resv 4
410
411config queue
412 option id 54
413 option minrate 30
414 option maxrate 100
415 option weight 8
416 option resv 4
417
418config queue
419 option id 55
420 option minrate 30
421 option maxrate 100
422 option weight 8
423 option resv 4
424
425config queue
426 option id 56
427 option minrate 30
428 option maxrate 100
429 option weight 4
430 option resv 4
431
432config queue
433 option id 57
434 option minrate 30
435 option maxrate 100
436 option weight 2
437 option resv 4
438
439config queue
440 option id 58
441 option minrate 30
442 option maxrate 100
443 option weight 2
444 option resv 4
445
446config queue
447 option id 59
448 option minrate 30
449 option maxrate 100
450 option weight 4
451 option resv 4
452
453config queue
454 option id 60
455 option minrate 30
456 option maxrate 100
457 option weight 6
458 option resv 4
459
460config queue
461 option id 61
462 option minrate 30
463 option maxrate 100
464 option weight 6
465 option resv 4
466
467config queue
468 option id 62
469 option minrate 30
470 option maxrate 100
471 option weight 8
472 option resv 4
473
474config queue
475 option id 63
476 option minrate 30
477 option maxrate 100
478 option weight 8
479 option resv 4
480
481config queue
482 option id 64
483 option minrate 30
484 option maxrate 100
485 option weight 8
486 option resv 4
487
488config queue
489 option id 65
490 option minrate 30
491 option maxrate 100
492 option weight 8
493 option resv 4
494
495config queue
496 option id 66
497 option minrate 30
498 option maxrate 100
499 option weight 8
500 option resv 4
501
502config queue
503 option id 67
504 option minrate 30
505 option maxrate 100
506 option weight 8
507 option resv 4
508
509config queue
510 option id 68
511 option minrate 30
512 option maxrate 100
513 option weight 8
514 option resv 4
515
516config queue
517 option id 69
518 option minrate 30
519 option maxrate 100
520 option weight 8
521 option resv 4
522
523config queue
524 option id 70
525 option minrate 30
526 option maxrate 100
527 option weight 8
528 option resv 4
529
530config queue
531 option id 71
532 option minrate 30
533 option maxrate 100
534 option weight 8
535 option resv 4
536
537config queue
538 option id 72
539 option minrate 30
540 option maxrate 100
541 option weight 8
542 option resv 4
543
544config queue
545 option id 73
546 option minrate 30
547 option maxrate 100
548 option weight 8
549 option resv 4
550
551config queue
552 option id 74
553 option minrate 30
554 option maxrate 100
555 option weight 8
556 option resv 4
557
558config queue
559 option id 75
560 option minrate 30
561 option maxrate 100
562 option weight 8
563 option resv 4
564
565config queue
566 option id 76
567 option minrate 30
568 option maxrate 100
569 option weight 8
570 option resv 4
571
572config queue
573 option id 77
574 option minrate 30
575 option maxrate 100
576 option weight 8
577 option resv 4
578
579config queue
580 option id 78
581 option minrate 30
582 option maxrate 100
583 option weight 8
584 option resv 4
585
586config queue
587 option id 79
588 option minrate 30
589 option maxrate 100
590 option weight 8
591 option resv 4
592
593config queue
594 option id 80
595 option minrate 30
596 option maxrate 100
597 option weight 8
598 option resv 4
599
600config queue
601 option id 81
602 option minrate 30
603 option maxrate 100
604 option weight 8
605 option resv 4
606
607config queue
608 option id 82
609 option minrate 30
610 option maxrate 100
611 option weight 8
612 option resv 4
613
614config queue
615 option id 83
616 option minrate 30
617 option maxrate 100
618 option weight 8
619 option resv 4
620
621config queue
622 option id 84
623 option minrate 30
624 option maxrate 100
625 option weight 8
626 option resv 4
627
628config queue
629 option id 85
630 option minrate 30
631 option maxrate 100
632 option weight 8
633 option resv 4
634
635config queue
636 option id 86
637 option minrate 30
638 option maxrate 100
639 option weight 8
640 option resv 4
641
642config queue
643 option id 87
644 option minrate 30
645 option maxrate 100
646 option weight 8
647 option resv 4
648
649config queue
650 option id 88
651 option minrate 30
652 option maxrate 100
653 option weight 8
654 option resv 4
655
656config queue
657 option id 89
658 option minrate 30
659 option maxrate 100
660 option weight 8
661 option resv 4
662
663config queue
664 option id 90
665 option minrate 30
666 option maxrate 100
667 option weight 8
668 option resv 4
669
670config queue
671 option id 91
672 option minrate 30
673 option maxrate 100
674 option weight 8
675 option resv 4
676
677config queue
678 option id 92
679 option minrate 30
680 option maxrate 100
681 option weight 8
682 option resv 4
683
684config queue
685 option id 93
686 option minrate 30
687 option maxrate 100
688 option weight 8
689 option resv 4
690
691config queue
692 option id 94
693 option minrate 30
694 option maxrate 100
695 option weight 8
696 option resv 4
697
698config queue
699 option id 95
700 option minrate 30
701 option maxrate 100
702 option weight 8
703 option resv 4
704
705config queue
706 option id 96
707 option minrate 30
708 option maxrate 100
709 option weight 8
710 option resv 4
711
712config queue
713 option id 97
714 option minrate 30
715 option maxrate 100
716 option weight 8
717 option resv 4
718
719config queue
720 option id 98
721 option minrate 30
722 option maxrate 100
723 option weight 8
724 option resv 4
725
726config queue
727 option id 99
728 option minrate 30
729 option maxrate 100
730 option weight 8
731 option resv 4
732
733config queue
734 option id 100
735 option minrate 30
736 option maxrate 100
737 option weight 8
738 option resv 4
739
740config queue
741 option id 101
742 option minrate 30
743 option maxrate 100
744 option weight 8
745 option resv 4
746
747config queue
748 option id 102
749 option minrate 30
750 option maxrate 100
751 option weight 8
752 option resv 4
753
754config queue
755 option id 103
756 option minrate 30
757 option maxrate 100
758 option weight 8
759 option resv 4
760
761config queue
762 option id 104
763 option minrate 30
764 option maxrate 100
765 option weight 8
766 option resv 4
767
768config queue
769 option id 105
770 option minrate 30
771 option maxrate 100
772 option weight 8
773 option resv 4
774
775config queue
776 option id 106
777 option minrate 30
778 option maxrate 100
779 option weight 8
780 option resv 4
781
782config queue
783 option id 107
784 option minrate 30
785 option maxrate 100
786 option weight 8
787 option resv 4
788
789config queue
790 option id 108
791 option minrate 30
792 option maxrate 100
793 option weight 8
794 option resv 4
795
796config queue
797 option id 109
798 option minrate 30
799 option maxrate 100
800 option weight 8
801 option resv 4
802
803config queue
804 option id 110
805 option minrate 30
806 option maxrate 100
807 option weight 8
808 option resv 4
809
810config queue
811 option id 111
812 option minrate 30
813 option maxrate 100
814 option weight 8
815 option resv 4
816
817config queue
818 option id 112
819 option minrate 30
820 option maxrate 100
821 option weight 8
822 option resv 4
823
824config queue
825 option id 113
826 option minrate 30
827 option maxrate 100
828 option weight 8
829 option resv 4
830
831config queue
832 option id 114
833 option minrate 30
834 option maxrate 100
835 option weight 8
836 option resv 4
837
838config queue
839 option id 115
840 option minrate 30
841 option maxrate 100
842 option weight 8
843 option resv 4
844
845config queue
846 option id 116
847 option minrate 30
848 option maxrate 100
849 option weight 8
850 option resv 4
851
852config queue
853 option id 117
854 option minrate 30
855 option maxrate 100
856 option weight 8
857 option resv 4
858
859config queue
860 option id 118
861 option minrate 30
862 option maxrate 100
863 option weight 8
864 option resv 4
865
866config queue
867 option id 119
868 option minrate 30
869 option maxrate 100
870 option weight 8
871 option resv 4
872
873config queue
874 option id 120
875 option minrate 30
876 option maxrate 100
877 option weight 8
878 option resv 4
879
880config queue
881 option id 121
882 option minrate 30
883 option maxrate 100
884 option weight 8
885 option resv 4
886
887config queue
888 option id 122
889 option minrate 30
890 option maxrate 100
891 option weight 8
892 option resv 4
893
894config queue
895 option id 123
896 option minrate 30
897 option maxrate 100
898 option weight 8
899 option resv 4
900
901config queue
902 option id 124
903 option minrate 30
904 option maxrate 100
905 option weight 8
906 option resv 4
907
908config queue
909 option id 125
910 option minrate 30
911 option maxrate 100
912 option weight 8
913 option resv 4
914
915config queue
916 option id 126
917 option minrate 30
918 option maxrate 100
919 option weight 8
920 option resv 4
921
922config queue
923 option id 127
924 option minrate 30
925 option maxrate 100
926 option weight 8
927 option resv 4