xref: /dpdk/examples/qos_sched/profile_red.cfg (revision 86dfed2a8ed704e013f054985a92d46f07ff48d1)
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]
21frame overhead = 24
22number of subports per port = 1
23
24subport 0-8 = 0                ; These subports are configured with subport profile 0
25
26; Subport configuration
27[subport 0]
28number of pipes per subport = 4096
29queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
30
31pipe 0-4095 = 0                ; These pipes are configured with pipe profile 0
32
33[subport profile 0]
34tb rate = 1250000000           ; Bytes per second
35tb size = 1000000              ; Bytes
36
37tc 0 rate = 1250000000         ; Bytes per second
38tc 1 rate = 1250000000         ; Bytes per second
39tc 2 rate = 1250000000         ; Bytes per second
40tc 3 rate = 1250000000         ; Bytes per second
41tc 4 rate = 1250000000         ; Bytes per second
42tc 5 rate = 1250000000         ; Bytes per second
43tc 6 rate = 1250000000         ; Bytes per second
44tc 7 rate = 1250000000         ; Bytes per second
45tc 8 rate = 1250000000         ; Bytes per second
46tc 9 rate = 1250000000         ; Bytes per second
47tc 10 rate = 1250000000        ; Bytes per second
48tc 11 rate = 1250000000        ; Bytes per second
49tc 12 rate = 1250000000        ; Bytes per second
50
51tc period = 10                 ; Milliseconds
52
53; Pipe configuration
54[pipe profile 0]
55tb rate = 305175               ; Bytes per second
56tb size = 1000000              ; Bytes
57
58tc 0 rate = 305175             ; Bytes per second
59tc 1 rate = 305175             ; Bytes per second
60tc 2 rate = 305175             ; Bytes per second
61tc 3 rate = 305175             ; Bytes per second
62tc 4 rate = 305175             ; Bytes per second
63tc 5 rate = 305175             ; Bytes per second
64tc 6 rate = 305175             ; Bytes per second
65tc 7 rate = 305175             ; Bytes per second
66tc 8 rate = 305175             ; Bytes per second
67tc 9 rate = 305175             ; Bytes per second
68tc 10 rate = 305175            ; Bytes per second
69tc 11 rate = 305175            ; Bytes per second
70tc 12 rate = 305175            ; Bytes per second
71
72tc period = 40                ; Milliseconds
73
74tc 12 oversubscription weight = 1
75
76tc 12 wrr weights = 1 1 1 1
77
78; RED params per traffic class and color (Green / Yellow / Red)
79[red]
80tc 0 wred min = 48 40 32
81tc 0 wred max = 64 64 64
82tc 0 wred inv prob = 10 10 10
83tc 0 wred weight = 9 9 9
84
85tc 1 wred min = 48 40 32
86tc 1 wred max = 64 64 64
87tc 1 wred inv prob = 10 10 10
88tc 1 wred weight = 9 9 9
89
90tc 2 wred min = 48 40 32
91tc 2 wred max = 64 64 64
92tc 2 wred inv prob = 10 10 10
93tc 2 wred weight = 9 9 9
94
95tc 3 wred min = 48 40 32
96tc 3 wred max = 64 64 64
97tc 3 wred inv prob = 10 10 10
98tc 3 wred weight = 9 9 9
99
100tc 4 wred min = 48 40 32
101tc 4 wred max = 64 64 64
102tc 4 wred inv prob = 10 10 10
103tc 4 wred weight = 9 9 9
104
105tc 5 wred min = 48 40 32
106tc 5 wred max = 64 64 64
107tc 5 wred inv prob = 10 10 10
108tc 5 wred weight = 9 9 9
109
110tc 6 wred min = 48 40 32
111tc 6 wred max = 64 64 64
112tc 6 wred inv prob = 10 10 10
113tc 6 wred weight = 9 9 9
114
115tc 7 wred min = 48 40 32
116tc 7 wred max = 64 64 64
117tc 7 wred inv prob = 10 10 10
118tc 7 wred weight = 9 9 9
119
120tc 8 wred min = 48 40 32
121tc 8 wred max = 64 64 64
122tc 8 wred inv prob = 10 10 10
123tc 8 wred weight = 9 9 9
124
125tc 9 wred min = 48 40 32
126tc 9 wred max = 64 64 64
127tc 9 wred inv prob = 10 10 10
128tc 9 wred weight = 9 9 9
129
130tc 10 wred min = 48 40 32
131tc 10 wred max = 64 64 64
132tc 10 wred inv prob = 10 10 10
133tc 10 wred weight = 9 9 9
134
135tc 11 wred min = 48 40 32
136tc 11 wred max = 64 64 64
137tc 11 wred inv prob = 10 10 10
138tc 11 wred weight = 9 9 9
139
140tc 12 wred min = 48 40 32
141tc 12 wred max = 64 64 64
142tc 12 wred inv prob = 10 10 10
143tc 12 wred weight = 9 9 9
144