3 ; Copyright(c) 2010-2019 Intel Corporation. All rights reserved.
6 ; Redistribution and use in source and binary forms, with or without
7 ; modification, are permitted provided that the following conditions
10 ; * Redistributions of source code must retain the above copyright
11 ; notice, this list of conditions and the following disclaimer.
12 ; * Redistributions in binary form must reproduce the above copyright
13 ; notice, this list of conditions and the following disclaimer in
14 ; the documentation and/or other materials provided with the
16 ; * Neither the name of Intel Corporation nor the names of its
17 ; contributors may be used to endorse or promote products derived
18 ; from this software without specific prior written permission.
20 ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 ; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 ; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 ; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 ; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 ; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 ; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 ; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 ; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 ; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 ; This file enables the following hierarchical scheduler configuration for each
34 ; * Single subport (subport 0):
35 ; - Subport rate set to 100% of port rate
36 ; - Each of the 13 traffic classes has rate set to 100% of port rate
37 ; * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:
38 ; - Pipe rate set to 1/4K of port rate
39 ; - Each of the 13 traffic classes has rate set to 100% of pipe rate
40 ; - Within lowest priority traffic class (best-effort), the byte-level
41 ; WRR weights for the 4 queues of best effort traffic class are set
44 ; For more details, please refer to chapter "Quality of Service (QoS) Framework"
45 ; of Data Plane Development Kit (DPDK) Programmer's Guide.
50 number of subports per port = 1
51 number of pipes per subport = 4096
52 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
54 ; Subport configuration
56 tb rate = 1250000000 ; Bytes per second
57 tb size = 1000000 ; Bytes
59 tc 0 rate = 1250000000 ; Bytes per second
60 tc 1 rate = 1250000000 ; Bytes per second
61 tc 2 rate = 1250000000 ; Bytes per second
62 tc 3 rate = 1250000000 ; Bytes per second
63 tc 4 rate = 1250000000 ; Bytes per second
64 tc 5 rate = 1250000000 ; Bytes per second
65 tc 6 rate = 1250000000 ; Bytes per second
66 tc 7 rate = 1250000000 ; Bytes per second
67 tc 8 rate = 1250000000 ; Bytes per second
68 tc 9 rate = 1250000000 ; Bytes per second
69 tc 10 rate = 1250000000 ; Bytes per second
70 tc 11 rate = 1250000000 ; Bytes per second
71 tc 12 rate = 1250000000 ; Bytes per second
73 tc period = 10 ; Milliseconds
75 pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0
79 tb rate = 305175 ; Bytes per second
80 tb size = 1000000 ; Bytes
82 tc 0 rate = 305175 ; Bytes per second
83 tc 1 rate = 305175 ; Bytes per second
84 tc 2 rate = 305175 ; Bytes per second
85 tc 3 rate = 305175 ; Bytes per second
86 tc 4 rate = 305175 ; Bytes per second
87 tc 5 rate = 305175 ; Bytes per second
88 tc 6 rate = 305175 ; Bytes per second
89 tc 7 rate = 305175 ; Bytes per second
90 tc 8 rate = 305175 ; Bytes per second
91 tc 9 rate = 305175 ; Bytes per second
92 tc 10 rate = 305175 ; Bytes per second
93 tc 11 rate = 305175 ; Bytes per second
94 tc 12 rate = 305175 ; Bytes per second
96 tc period = 40 ; Milliseconds
98 tc 12 oversubscription weight = 1
100 tc 12 wrr weights = 1 1 1 1
102 ; RED params per traffic class and color (Green / Yellow / Red)
104 tc 0 wred min = 48 40 32
105 tc 0 wred max = 64 64 64
106 tc 0 wred inv prob = 10 10 10
107 tc 0 wred weight = 9 9 9
109 tc 1 wred min = 48 40 32
110 tc 1 wred max = 64 64 64
111 tc 1 wred inv prob = 10 10 10
112 tc 1 wred weight = 9 9 9
114 tc 2 wred min = 48 40 32
115 tc 2 wred max = 64 64 64
116 tc 2 wred inv prob = 10 10 10
117 tc 2 wred weight = 9 9 9
119 tc 3 wred min = 48 40 32
120 tc 3 wred max = 64 64 64
121 tc 3 wred inv prob = 10 10 10
122 tc 3 wred weight = 9 9 9
124 tc 4 wred min = 48 40 32
125 tc 4 wred max = 64 64 64
126 tc 4 wred inv prob = 10 10 10
127 tc 4 wred weight = 9 9 9
129 tc 5 wred min = 48 40 32
130 tc 5 wred max = 64 64 64
131 tc 5 wred inv prob = 10 10 10
132 tc 5 wred weight = 9 9 9
134 tc 6 wred min = 48 40 32
135 tc 6 wred max = 64 64 64
136 tc 6 wred inv prob = 10 10 10
137 tc 6 wred weight = 9 9 9
139 tc 7 wred min = 48 40 32
140 tc 7 wred max = 64 64 64
141 tc 7 wred inv prob = 10 10 10
142 tc 7 wred weight = 9 9 9
144 tc 8 wred min = 48 40 32
145 tc 8 wred max = 64 64 64
146 tc 8 wred inv prob = 10 10 10
147 tc 8 wred weight = 9 9 9