examples/fips_validation: add jansson dependency
[dpdk.git] / examples / qos_sched / profile.cfg
1 ;   SPDX-License-Identifier: BSD-3-Clause
2 ;   Copyright(c) 2010-2019 Intel Corporation.
3
4 ; This file enables the following hierarchical scheduler configuration for each
5 ; 10GbE output port:
6 ;       * Single subport (subport 0):
7 ;               - Subport rate set to 100% of port rate
8 ;               - Each of the 13 traffic classes has rate set to 100% of port rate
9 ;       * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:
10 ;               - Pipe rate set to 1/4K of port rate
11 ;               - Each of the 13 traffic classes has rate set to 100% of pipe rate
12 ;               - Within lowest priority traffic class (best-effort), the byte-level
13 ;                 WRR weights for the 4 queues of best effort traffic class are set
14 ;                 to 1:1:1:1
15 ;
16 ; For more details, please refer to chapter "Quality of Service (QoS) Framework"
17 ; of Data Plane Development Kit (DPDK) Programmer's Guide.
18
19 ; Port configuration
20 [port]
21 frame overhead = 24
22 number of subports per port = 1
23
24 ; Subport configuration
25 [subport 0]
26 number of pipes per subport = 4096
27 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
28
29 subport 0-8 = 0                ; These subports are configured with subport profile 0
30
31 [subport profile 0]
32 tb rate = 1250000000           ; Bytes per second
33 tb size = 1000000              ; Bytes
34
35 tc 0 rate = 1250000000         ; Bytes per second
36 tc 1 rate = 1250000000         ; Bytes per second
37 tc 2 rate = 1250000000         ; Bytes per second
38 tc 3 rate = 1250000000         ; Bytes per second
39 tc 4 rate = 1250000000         ; Bytes per second
40 tc 5 rate = 1250000000         ; Bytes per second
41 tc 6 rate = 1250000000         ; Bytes per second
42 tc 7 rate = 1250000000         ; Bytes per second
43 tc 8 rate = 1250000000         ; Bytes per second
44 tc 9 rate = 1250000000         ; Bytes per second
45 tc 10 rate = 1250000000        ; Bytes per second
46 tc 11 rate = 1250000000        ; Bytes per second
47 tc 12 rate = 1250000000        ; Bytes per second
48
49 tc period = 10                 ; Milliseconds
50
51 pipe 0-4095 = 0                ; These pipes are configured with pipe profile 0
52
53 ; Pipe configuration
54 [pipe profile 0]
55 tb rate = 305175               ; Bytes per second
56 tb size = 1000000              ; Bytes
57
58 tc 0 rate = 305175             ; Bytes per second
59 tc 1 rate = 305175             ; Bytes per second
60 tc 2 rate = 305175             ; Bytes per second
61 tc 3 rate = 305175             ; Bytes per second
62 tc 4 rate = 305175             ; Bytes per second
63 tc 5 rate = 305175             ; Bytes per second
64 tc 6 rate = 305175             ; Bytes per second
65 tc 7 rate = 305175             ; Bytes per second
66 tc 8 rate = 305175             ; Bytes per second
67 tc 9 rate = 305175             ; Bytes per second
68 tc 10 rate = 305175            ; Bytes per second
69 tc 11 rate = 305175            ; Bytes per second
70 tc 12 rate = 305175            ; Bytes per second
71
72 tc period = 40                ; Milliseconds
73
74 tc 12 oversubscription weight = 1
75
76 tc 12 wrr weights = 1 1 1 1
77
78 ; RED params per traffic class and color (Green / Yellow / Red)
79 ;[red]
80 ;tc 0 wred min = 48 40 32
81 ;tc 0 wred max = 64 64 64
82 ;tc 0 wred inv prob = 10 10 10
83 ;tc 0 wred weight = 9 9 9
84
85 ;tc 1 wred min = 48 40 32
86 ;tc 1 wred max = 64 64 64
87 ;tc 1 wred inv prob = 10 10 10
88 ;tc 1 wred weight = 9 9 9
89
90 ;tc 2 wred min = 48 40 32
91 ;tc 2 wred max = 64 64 64
92 ;tc 2 wred inv prob = 10 10 10
93 ;tc 2 wred weight = 9 9 9
94
95 ;tc 3 wred min = 48 40 32
96 ;tc 3 wred max = 64 64 64
97 ;tc 3 wred inv prob = 10 10 10
98 ;tc 3 wred weight = 9 9 9
99
100 ;tc 4 wred min = 48 40 32
101 ;tc 4 wred max = 64 64 64
102 ;tc 4 wred inv prob = 10 10 10
103 ;tc 4 wred weight = 9 9 9
104
105 ;tc 5 wred min = 48 40 32
106 ;tc 5 wred max = 64 64 64
107 ;tc 5 wred inv prob = 10 10 10
108 ;tc 5 wred weight = 9 9 9
109
110 ;tc 6 wred min = 48 40 32
111 ;tc 6 wred max = 64 64 64
112 ;tc 6 wred inv prob = 10 10 10
113 ;tc 6 wred weight = 9 9 9
114
115 ;tc 7 wred min = 48 40 32
116 ;tc 7 wred max = 64 64 64
117 ;tc 7 wred inv prob = 10 10 10
118 ;tc 7 wred weight = 9 9 9
119
120 ;tc 8 wred min = 48 40 32
121 ;tc 8 wred max = 64 64 64
122 ;tc 8 wred inv prob = 10 10 10
123 ;tc 8 wred weight = 9 9 9
124
125 ;tc 9 wred min = 48 40 32
126 ;tc 9 wred max = 64 64 64
127 ;tc 9 wred inv prob = 10 10 10
128 ;tc 9 wred weight = 9 9 9
129
130 ;tc 10 wred min = 48 40 32
131 ;tc 10 wred max = 64 64 64
132 ;tc 10 wred inv prob = 10 10 10
133 ;tc 10 wred weight = 9 9 9
134
135 ;tc 11 wred min = 48 40 32
136 ;tc 11 wred max = 64 64 64
137 ;tc 11 wred inv prob = 10 10 10
138 ;tc 11 wred weight = 9 9 9
139
140 ;tc 12 wred min = 48 40 32
141 ;tc 12 wred max = 64 64 64
142 ;tc 12 wred inv prob = 10 10 10
143 ;tc 12 wred weight = 9 9 9
144
145 [pie]
146 tc 0 qdelay ref = 15
147 tc 0 max burst = 150
148 tc 0 update interval = 15
149 tc 0 tailq th = 64
150
151 tc 1 qdelay ref = 15
152 tc 1 max burst = 150
153 tc 1 update interval = 15
154 tc 1 tailq th = 64
155
156 tc 2 qdelay ref = 15
157 tc 2 max burst = 150
158 tc 2 update interval = 15
159 tc 2 tailq th = 64
160
161 tc 3 qdelay ref = 15
162 tc 3 max burst = 150
163 tc 3 update interval = 15
164 tc 3 tailq th = 64
165
166 tc 4 qdelay ref = 15
167 tc 4 max burst = 150
168 tc 4 update interval = 15
169 tc 4 tailq th = 64
170
171 tc 5 qdelay ref = 15
172 tc 5 max burst = 150
173 tc 5 update interval = 15
174 tc 5 tailq th = 64
175
176 tc 6 qdelay ref = 15
177 tc 6 max burst = 150
178 tc 6 update interval = 15
179 tc 6 tailq th = 64
180
181 tc 7 qdelay ref = 15
182 tc 7 max burst = 150
183 tc 7 update interval = 15
184 tc 7 tailq th = 64
185
186 tc 8 qdelay ref = 15
187 tc 8 max burst = 150
188 tc 8 update interval = 15
189 tc 8 tailq th = 64
190
191 tc 9 qdelay ref = 15
192 tc 9 max burst = 150
193 tc 9 update interval = 15
194 tc 9 tailq th = 64
195
196 tc 10 qdelay ref = 15
197 tc 10 max burst = 150
198 tc 10 update interval = 15
199 tc 10 tailq th = 64
200
201 tc 11 qdelay ref = 15
202 tc 11 max burst = 150
203 tc 11 update interval = 15
204 tc 11 tailq th = 64
205
206 tc 12 qdelay ref = 15
207 tc 12 max burst = 150
208 tc 12 update interval = 15
209 tc 12 tailq th = 64