]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | ; BSD LICENSE |
2 | ; | |
3 | ; Copyright(c) 2010-2014 Intel Corporation. All rights reserved. | |
4 | ; All rights reserved. | |
5 | ; | |
6 | ; Redistribution and use in source and binary forms, with or without | |
7 | ; modification, are permitted provided that the following conditions | |
8 | ; are met: | |
9 | ; | |
10 | ; * Redistributions of source code must retain the above copyright | |
11 | ; notice, this list of conditions and the following disclaimer. | |
12 | ; * Redistributions in binary form must reproduce the above copyright | |
13 | ; notice, this list of conditions and the following disclaimer in | |
14 | ; the documentation and/or other materials provided with the | |
15 | ; distribution. | |
16 | ; * Neither the name of Intel Corporation nor the names of its | |
17 | ; contributors may be used to endorse or promote products derived | |
18 | ; from this software without specific prior written permission. | |
19 | ; | |
20 | ; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
21 | ; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
22 | ; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
23 | ; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
24 | ; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
25 | ; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
26 | ; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
27 | ; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
28 | ; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
29 | ; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
30 | ; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
31 | ||
32 | ; This file enables the following hierarchical scheduler configuration for each | |
33 | ; 10GbE output port: | |
34 | ; * Single subport (subport 0): | |
35 | ; - Subport rate set to 100% of port rate | |
36 | ; - Each of the 4 traffic classes has rate set to 100% of port rate | |
37 | ; * 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration: | |
38 | ; - Pipe rate set to 1/4K of port rate | |
39 | ; - Each of the 4 traffic classes has rate set to 100% of pipe rate | |
40 | ; - Within each traffic class, the byte-level WRR weights for the 4 queues | |
41 | ; are set to 1:1:1:1 | |
42 | ; | |
43 | ; For more details, please refer to chapter "Quality of Service (QoS) Framework" | |
44 | ; of Data Plane Development Kit (DPDK) Programmer's Guide. | |
45 | ||
46 | ; Port configuration | |
47 | [port] | |
48 | frame overhead = 24 ; frame overhead = Preamble (7) + SFD (1) + FCS (4) + IFG (12) | |
49 | mtu = 1522; mtu = Q-in-Q MTU (FCS not included) | |
50 | number of subports per port = 1 | |
51 | number of pipes per subport = 4096 | |
52 | queue sizes = 64 64 64 64 | |
53 | ||
54 | ; Subport configuration | |
55 | [subport 0] | |
56 | tb rate = 1250000000 ; Bytes per second | |
57 | tb size = 1000000 ; Bytes | |
58 | ||
59 | tc 0 rate = 1250000000 ; Bytes per second | |
60 | tc 1 rate = 1250000000 ; Bytes per second | |
61 | tc 2 rate = 1250000000 ; Bytes per second | |
62 | tc 3 rate = 1250000000 ; Bytes per second | |
63 | tc period = 10 ; Milliseconds | |
64 | ||
65 | pipe 0-4095 = 0 ; These pipes are configured with pipe profile 0 | |
66 | ||
67 | ; Pipe configuration | |
68 | [pipe profile 0] | |
69 | tb rate = 305175 ; Bytes per second | |
70 | tb size = 1000000 ; Bytes | |
71 | ||
72 | tc 0 rate = 305175 ; Bytes per second | |
73 | tc 1 rate = 305175 ; Bytes per second | |
74 | tc 2 rate = 305175 ; Bytes per second | |
75 | tc 3 rate = 305175 ; Bytes per second | |
76 | tc period = 40 ; Milliseconds | |
77 | ||
78 | tc 3 oversubscription weight = 1 | |
79 | ||
80 | tc 0 wrr weights = 1 1 1 1 | |
81 | tc 1 wrr weights = 1 1 1 1 | |
82 | tc 2 wrr weights = 1 1 1 1 | |
83 | tc 3 wrr weights = 1 1 1 1 | |
84 | ||
85 | ; RED params per traffic class and color (Green / Yellow / Red) | |
86 | [red] | |
87 | tc 0 wred min = 48 40 32 | |
88 | tc 0 wred max = 64 64 64 | |
89 | tc 0 wred inv prob = 10 10 10 | |
90 | tc 0 wred weight = 9 9 9 | |
91 | ||
92 | tc 1 wred min = 48 40 32 | |
93 | tc 1 wred max = 64 64 64 | |
94 | tc 1 wred inv prob = 10 10 10 | |
95 | tc 1 wred weight = 9 9 9 | |
96 | ||
97 | tc 2 wred min = 48 40 32 | |
98 | tc 2 wred max = 64 64 64 | |
99 | tc 2 wred inv prob = 10 10 10 | |
100 | tc 2 wred weight = 9 9 9 | |
101 | ||
102 | tc 3 wred min = 48 40 32 | |
103 | tc 3 wred max = 64 64 64 | |
104 | tc 3 wred inv prob = 10 10 10 | |
105 | tc 3 wred weight = 9 9 9 |