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
24 ; Subport configuration
26 number of pipes per subport = 4096
27 queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
29 subport 0-8 = 0 ; These subports are configured with subport profile 0
32 tb rate = 1250000000 ; Bytes per second
33 tb size = 1000000 ; Bytes
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
49 tc period = 10 ; Milliseconds
51 pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0
55 tb rate = 305175 ; Bytes per second
56 tb size = 1000000 ; Bytes
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
72 tc period = 40 ; Milliseconds
74 tc 12 oversubscription weight = 1
76 tc 12 wrr weights = 1 1 1 1
78 ; RED params per traffic class and color (Green / Yellow / 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
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
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
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
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
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
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
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
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
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
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
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
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