developer | eca9e8f | 2022-10-24 11:36:03 +0800 | [diff] [blame] | 1 | #################################################################### |
| 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 | #################################################################### |
| 8 | config 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 | #################################################################### |
| 23 | config queue |
| 24 | option id 0 |
| 25 | option minrate 30 |
| 26 | option maxrate 100 |
| 27 | option weight 4 |
| 28 | option resv 4 |
| 29 | |
| 30 | config queue |
| 31 | option id 1 |
| 32 | option minrate 30 |
| 33 | option maxrate 100 |
| 34 | option weight 2 |
| 35 | option resv 4 |
| 36 | |
| 37 | config queue |
| 38 | option id 2 |
| 39 | option minrate 30 |
| 40 | option maxrate 100 |
| 41 | option weight 2 |
| 42 | option resv 4 |
| 43 | |
| 44 | config queue |
| 45 | option id 3 |
| 46 | option minrate 30 |
| 47 | option maxrate 100 |
| 48 | option weight 4 |
| 49 | option resv 4 |
| 50 | |
| 51 | config queue |
| 52 | option id 4 |
| 53 | option minrate 30 |
| 54 | option maxrate 100 |
| 55 | option weight 6 |
| 56 | option resv 4 |
| 57 | |
| 58 | config queue |
| 59 | option id 5 |
| 60 | option minrate 30 |
| 61 | option maxrate 100 |
| 62 | option weight 6 |
| 63 | option resv 4 |
| 64 | |
| 65 | config queue |
| 66 | option id 6 |
| 67 | option minrate 30 |
| 68 | option maxrate 100 |
| 69 | option weight 8 |
| 70 | option resv 4 |
| 71 | |
| 72 | config queue |
| 73 | option id 7 |
| 74 | option minrate 30 |
| 75 | option maxrate 100 |
| 76 | option weight 8 |
| 77 | option resv 4 |
| 78 | |
| 79 | config queue |
| 80 | option id 8 |
| 81 | option minrate 30 |
| 82 | option maxrate 100 |
| 83 | option weight 4 |
| 84 | option resv 4 |
| 85 | |
| 86 | config queue |
| 87 | option id 9 |
| 88 | option minrate 30 |
| 89 | option maxrate 100 |
| 90 | option weight 2 |
| 91 | option resv 4 |
| 92 | |
| 93 | config queue |
| 94 | option id 10 |
| 95 | option minrate 30 |
| 96 | option maxrate 100 |
| 97 | option weight 2 |
| 98 | option resv 4 |
| 99 | |
| 100 | config queue |
| 101 | option id 11 |
| 102 | option minrate 30 |
| 103 | option maxrate 100 |
| 104 | option weight 4 |
| 105 | option resv 4 |
| 106 | |
| 107 | config queue |
| 108 | option id 12 |
| 109 | option minrate 30 |
| 110 | option maxrate 100 |
| 111 | option weight 6 |
| 112 | option resv 4 |
| 113 | |
| 114 | config queue |
| 115 | option id 13 |
| 116 | option minrate 30 |
| 117 | option maxrate 100 |
| 118 | option weight 6 |
| 119 | option resv 4 |
| 120 | |
| 121 | config queue |
| 122 | option id 14 |
| 123 | option minrate 30 |
| 124 | option maxrate 100 |
| 125 | option weight 8 |
| 126 | option resv 4 |
| 127 | |
| 128 | config queue |
| 129 | option id 15 |
| 130 | option minrate 30 |
| 131 | option maxrate 100 |
| 132 | option weight 8 |
| 133 | option resv 4 |
| 134 | |