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