xref: /dpdk/examples/qos_sched/profile.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
24; Subport configuration
25[subport 0]
26number of pipes per subport = 4096
27queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
28
29pipe 0-4095 = 0                ; These pipes are configured with pipe profile 0
30
31[subport profile 0]
32tb rate = 1250000000           ; Bytes per second
33tb size = 1000000              ; Bytes
34
35tc 0 rate = 1250000000         ; Bytes per second
36tc 1 rate = 1250000000         ; Bytes per second
37tc 2 rate = 1250000000         ; Bytes per second
38tc 3 rate = 1250000000         ; Bytes per second
39tc 4 rate = 1250000000         ; Bytes per second
40tc 5 rate = 1250000000         ; Bytes per second
41tc 6 rate = 1250000000         ; Bytes per second
42tc 7 rate = 1250000000         ; Bytes per second
43tc 8 rate = 1250000000         ; Bytes per second
44tc 9 rate = 1250000000         ; Bytes per second
45tc 10 rate = 1250000000        ; Bytes per second
46tc 11 rate = 1250000000        ; Bytes per second
47tc 12 rate = 1250000000        ; Bytes per second
48
49tc period = 10                 ; Milliseconds
50
51; Pipe configuration
52[pipe profile 0]
53tb rate = 305175               ; Bytes per second
54tb size = 1000000              ; Bytes
55
56tc 0 rate = 305175             ; Bytes per second
57tc 1 rate = 305175             ; Bytes per second
58tc 2 rate = 305175             ; Bytes per second
59tc 3 rate = 305175             ; Bytes per second
60tc 4 rate = 305175             ; Bytes per second
61tc 5 rate = 305175             ; Bytes per second
62tc 6 rate = 305175             ; Bytes per second
63tc 7 rate = 305175             ; Bytes per second
64tc 8 rate = 305175             ; Bytes per second
65tc 9 rate = 305175             ; Bytes per second
66tc 10 rate = 305175            ; Bytes per second
67tc 11 rate = 305175            ; Bytes per second
68tc 12 rate = 305175            ; Bytes per second
69
70tc period = 40                ; Milliseconds
71
72tc 12 oversubscription weight = 1
73
74tc 12 wrr weights = 1 1 1 1
75