xref: /dpdk/examples/qos_sched/profile.cfg (revision 86dfed2a8ed704e013f054985a92d46f07ff48d1)
1abd5ed65SXiaolong Ye;   SPDX-License-Identifier: BSD-3-Clause
2abd5ed65SXiaolong Ye;   Copyright(c) 2010-2019 Intel Corporation.
3de3cfa2cSIntel
4de3cfa2cSIntel; This file enables the following hierarchical scheduler configuration for each
5de3cfa2cSIntel; 10GbE output port:
6de3cfa2cSIntel;	* Single subport (subport 0):
7de3cfa2cSIntel;		- Subport rate set to 100% of port rate
8be1e5332SJasvinder Singh;		- Each of the 13 traffic classes has rate set to 100% of port rate
9de3cfa2cSIntel;	* 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:
10de3cfa2cSIntel;		- Pipe rate set to 1/4K of port rate
11be1e5332SJasvinder Singh;		- Each of the 13 traffic classes has rate set to 100% of pipe rate
12be1e5332SJasvinder Singh;		- Within lowest priority traffic class (best-effort), the byte-level
13be1e5332SJasvinder Singh;		  WRR weights for the 4 queues of best effort traffic class are set
14be1e5332SJasvinder Singh;		  to 1:1:1:1
15de3cfa2cSIntel;
16de3cfa2cSIntel; For more details, please refer to chapter "Quality of Service (QoS) Framework"
174b152471SThomas Monjalon; of Data Plane Development Kit (DPDK) Programmer's Guide.
18de3cfa2cSIntel
19de3cfa2cSIntel; Port configuration
20de3cfa2cSIntel[port]
21de3cfa2cSIntelframe overhead = 24
22de3cfa2cSIntelnumber of subports per port = 1
23de3cfa2cSIntel
24de3cfa2cSIntel; Subport configuration
25de3cfa2cSIntel[subport 0]
26b0c1628bSJasvinder Singhnumber of pipes per subport = 4096
27b0c1628bSJasvinder Singhqueue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
28b0c1628bSJasvinder Singh
29*86dfed2aSBruce Richardsonpipe 0-4095 = 0                ; These pipes are configured with pipe profile 0
30*86dfed2aSBruce Richardson
31802d214dSSavinay Dharmappa[subport profile 0]
32de3cfa2cSInteltb rate = 1250000000           ; Bytes per second
33de3cfa2cSInteltb size = 1000000              ; Bytes
34de3cfa2cSIntel
35de3cfa2cSInteltc 0 rate = 1250000000         ; Bytes per second
36de3cfa2cSInteltc 1 rate = 1250000000         ; Bytes per second
37de3cfa2cSInteltc 2 rate = 1250000000         ; Bytes per second
38de3cfa2cSInteltc 3 rate = 1250000000         ; Bytes per second
39be1e5332SJasvinder Singhtc 4 rate = 1250000000         ; Bytes per second
40be1e5332SJasvinder Singhtc 5 rate = 1250000000         ; Bytes per second
41be1e5332SJasvinder Singhtc 6 rate = 1250000000         ; Bytes per second
42be1e5332SJasvinder Singhtc 7 rate = 1250000000         ; Bytes per second
43be1e5332SJasvinder Singhtc 8 rate = 1250000000         ; Bytes per second
44be1e5332SJasvinder Singhtc 9 rate = 1250000000         ; Bytes per second
45be1e5332SJasvinder Singhtc 10 rate = 1250000000        ; Bytes per second
46be1e5332SJasvinder Singhtc 11 rate = 1250000000        ; Bytes per second
47be1e5332SJasvinder Singhtc 12 rate = 1250000000        ; Bytes per second
48be1e5332SJasvinder Singh
49de3cfa2cSInteltc period = 10                 ; Milliseconds
50de3cfa2cSIntel
51de3cfa2cSIntel; Pipe configuration
52de3cfa2cSIntel[pipe profile 0]
53de3cfa2cSInteltb rate = 305175               ; Bytes per second
54de3cfa2cSInteltb size = 1000000              ; Bytes
55de3cfa2cSIntel
56de3cfa2cSInteltc 0 rate = 305175             ; Bytes per second
57de3cfa2cSInteltc 1 rate = 305175             ; Bytes per second
58de3cfa2cSInteltc 2 rate = 305175             ; Bytes per second
59de3cfa2cSInteltc 3 rate = 305175             ; Bytes per second
60be1e5332SJasvinder Singhtc 4 rate = 305175             ; Bytes per second
61be1e5332SJasvinder Singhtc 5 rate = 305175             ; Bytes per second
62be1e5332SJasvinder Singhtc 6 rate = 305175             ; Bytes per second
63be1e5332SJasvinder Singhtc 7 rate = 305175             ; Bytes per second
64be1e5332SJasvinder Singhtc 8 rate = 305175             ; Bytes per second
65be1e5332SJasvinder Singhtc 9 rate = 305175             ; Bytes per second
66be1e5332SJasvinder Singhtc 10 rate = 305175            ; Bytes per second
67be1e5332SJasvinder Singhtc 11 rate = 305175            ; Bytes per second
68be1e5332SJasvinder Singhtc 12 rate = 305175            ; Bytes per second
69be1e5332SJasvinder Singh
70de3cfa2cSInteltc period = 40                ; Milliseconds
71de3cfa2cSIntel
72be1e5332SJasvinder Singhtc 12 oversubscription weight = 1
73de3cfa2cSIntel
74be1e5332SJasvinder Singhtc 12 wrr weights = 1 1 1 1
75