1 ; Copyright (c) 2017 Intel Corporation
3 ; Licensed under the Apache License, Version 2.0 (the "License");
4 ; you may not use this file except in compliance with the License.
5 ; You may obtain a copy of the License at
7 ; http://www.apache.org/licenses/LICENSE-2.0
9 ; Unless required by applicable law or agreed to in writing, software
10 ; distributed under the License is distributed on an "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ; See the License for the specific language governing permissions and
13 ; limitations under the License.
15 ; This file enables the following hierarchical scheduler configuration for each
17 ; * Single subport (subport 0):
18 ; - Subport rate set to 100% of port rate
19 ; - Each of the 4 traffic classes has rate set to 100% of port rate
20 ; * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:
21 ; - Pipe rate set to 1/4K of port rate
22 ; - Each of the 4 traffic classes has rate set to 100% of pipe rate
23 ; - Within each traffic class, the byte-level WRR weights for the 4 queues
26 ; For more details, please refer to chapter "Quality of Service (QoS) Framework"
27 ; of Intel Data Plane Development Kit (Intel DPDK) Programmer's Guide.
31 frame overhead = 24 ; frame overhead = Preamble (7) + SFD (1) + FCS (4) + IFG (12)
32 mtu = 1522; mtu = Q-in-Q MTU (FCS not included)
33 number of subports per port = 1
34 number of pipes per subport = 4096
35 queue sizes = 64 64 64 64
37 ; Subport configuration
39 tb rate = 1250000000 ; Bytes per second
40 tb size = 1000000 ; Bytes
42 tc 0 rate = 1250000000 ; Bytes per second
43 tc 1 rate = 1250000000 ; Bytes per second
44 tc 2 rate = 1250000000 ; Bytes per second
45 tc 3 rate = 1250000000 ; Bytes per second
46 tc period = 10 ; Milliseconds
48 pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0
52 tb rate = 1250000000 ; Bytes per second
53 tb size = 1000000 ; Bytes
55 tc 0 rate = 1250000000 ; Bytes per second
56 tc 1 rate = 1250000000 ; Bytes per second
57 tc 2 rate = 1250000000 ; Bytes per second
58 tc 3 rate = 1250000000 ; Bytes per second
59 tc period = 40 ; Milliseconds
61 tc 3 oversubscription weight = 1
63 tc 0 wrr weights = 1 1 1 1
64 tc 1 wrr weights = 1 1 1 1
65 tc 2 wrr weights = 1 1 1 1
66 tc 3 wrr weights = 1 1 1 1
68 ; RED params per traffic class and color (Green / Yellow / Red)
70 tc 0 wred min = 48 40 32
71 tc 0 wred max = 64 64 64
72 tc 0 wred inv prob = 10 10 10
73 tc 0 wred weight = 9 9 9
75 tc 1 wred min = 48 40 32
76 tc 1 wred max = 64 64 64
77 tc 1 wred inv prob = 10 10 10
78 tc 1 wred weight = 9 9 9
80 tc 2 wred min = 48 40 32
81 tc 2 wred max = 64 64 64
82 tc 2 wred inv prob = 10 10 10
83 tc 2 wred weight = 9 9 9
85 tc 3 wred min = 48 40 32
86 tc 3 wred max = 64 64 64
87 tc 3 wred inv prob = 10 10 10
88 tc 3 wred weight = 9 9 9