1 ; SPDX-License-Identifier: BSD-3-Clause
2 ; Copyright(c) 2010-2019 Intel Corporation.
4 ; This file enables the following hierarchical scheduler configuration for each
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
16 ; For more details, please refer to chapter "Quality of Service (QoS) Framework"
17 ; of Data Plane Development Kit (DPDK) Programmer's Guide.
22 number of subports per port = 1
23 number of pipes per subport = 4096
24 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
26 ; Subport configuration
28 tb rate = 1250000000 ; Bytes per second
29 tb size = 1000000 ; Bytes
31 tc 0 rate = 1250000000 ; Bytes per second
32 tc 1 rate = 1250000000 ; Bytes per second
33 tc 2 rate = 1250000000 ; Bytes per second
34 tc 3 rate = 1250000000 ; Bytes per second
35 tc 4 rate = 1250000000 ; Bytes per second
36 tc 5 rate = 1250000000 ; Bytes per second
37 tc 6 rate = 1250000000 ; Bytes per second
38 tc 7 rate = 1250000000 ; Bytes per second
39 tc 8 rate = 1250000000 ; Bytes per second
40 tc 9 rate = 1250000000 ; Bytes per second
41 tc 10 rate = 1250000000 ; Bytes per second
42 tc 11 rate = 1250000000 ; Bytes per second
43 tc 12 rate = 1250000000 ; Bytes per second
45 tc period = 10 ; Milliseconds
47 pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0
51 tb rate = 305175 ; Bytes per second
52 tb size = 1000000 ; Bytes
54 tc 0 rate = 305175 ; Bytes per second
55 tc 1 rate = 305175 ; Bytes per second
56 tc 2 rate = 305175 ; Bytes per second
57 tc 3 rate = 305175 ; Bytes per second
58 tc 4 rate = 305175 ; Bytes per second
59 tc 5 rate = 305175 ; Bytes per second
60 tc 6 rate = 305175 ; Bytes per second
61 tc 7 rate = 305175 ; Bytes per second
62 tc 8 rate = 305175 ; Bytes per second
63 tc 9 rate = 305175 ; Bytes per second
64 tc 10 rate = 305175 ; Bytes per second
65 tc 11 rate = 305175 ; Bytes per second
66 tc 12 rate = 305175 ; Bytes per second
68 tc period = 40 ; Milliseconds
70 tc 12 oversubscription weight = 1
72 tc 12 wrr weights = 1 1 1 1
74 ; RED params per traffic class and color (Green / Yellow / Red)
76 tc 0 wred min = 48 40 32
77 tc 0 wred max = 64 64 64
78 tc 0 wred inv prob = 10 10 10
79 tc 0 wred weight = 9 9 9
81 tc 1 wred min = 48 40 32
82 tc 1 wred max = 64 64 64
83 tc 1 wred inv prob = 10 10 10
84 tc 1 wred weight = 9 9 9
86 tc 2 wred min = 48 40 32
87 tc 2 wred max = 64 64 64
88 tc 2 wred inv prob = 10 10 10
89 tc 2 wred weight = 9 9 9
91 tc 3 wred min = 48 40 32
92 tc 3 wred max = 64 64 64
93 tc 3 wred inv prob = 10 10 10
94 tc 3 wred weight = 9 9 9
96 tc 4 wred min = 48 40 32
97 tc 4 wred max = 64 64 64
98 tc 4 wred inv prob = 10 10 10
99 tc 4 wred weight = 9 9 9
101 tc 5 wred min = 48 40 32
102 tc 5 wred max = 64 64 64
103 tc 5 wred inv prob = 10 10 10
104 tc 5 wred weight = 9 9 9
106 tc 6 wred min = 48 40 32
107 tc 6 wred max = 64 64 64
108 tc 6 wred inv prob = 10 10 10
109 tc 6 wred weight = 9 9 9
111 tc 7 wred min = 48 40 32
112 tc 7 wred max = 64 64 64
113 tc 7 wred inv prob = 10 10 10
114 tc 7 wred weight = 9 9 9
116 tc 8 wred min = 48 40 32
117 tc 8 wred max = 64 64 64
118 tc 8 wred inv prob = 10 10 10
119 tc 8 wred weight = 9 9 9
121 tc 9 wred min = 48 40 32
122 tc 9 wred max = 64 64 64
123 tc 9 wred inv prob = 10 10 10
124 tc 9 wred weight = 9 9 9
126 tc 10 wred min = 48 40 32
127 tc 10 wred max = 64 64 64
128 tc 10 wred inv prob = 10 10 10
129 tc 10 wred weight = 9 9 9
131 tc 11 wred min = 48 40 32
132 tc 11 wred max = 64 64 64
133 tc 11 wred inv prob = 10 10 10
134 tc 11 wred weight = 9 9 9
136 tc 12 wred min = 48 40 32
137 tc 12 wred max = 64 64 64
138 tc 12 wred inv prob = 10 10 10
139 tc 12 wred weight = 9 9 9