]> git.proxmox.com Git - ceph.git/blob - ceph/src/dpdk/examples/qos_sched/profile_ov.cfg
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / dpdk / examples / qos_sched / profile_ov.cfg
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 ; Port configuration
33 [port]
34 frame overhead = 24
35 number of subports per port = 1
36 number of pipes per subport = 32
37 queue sizes = 64 64 64 64
38
39 ; Subport configuration
40 [subport 0]
41 tb rate = 8400000 ; Bytes per second
42 tb size = 100000 ; Bytes
43
44 tc 0 rate = 8400000 ; Bytes per second
45 tc 1 rate = 8400000 ; Bytes per second
46 tc 2 rate = 8400000 ; Bytes per second
47 tc 3 rate = 8400000 ; Bytes per second
48 tc period = 10 ; Milliseconds
49
50 pipe 0-31 = 0 ; These pipes are configured with pipe profile 0
51
52 ; Pipe configuration
53 [pipe profile 0]
54 tb rate = 16800000 ; Bytes per second
55 tb size = 1000000 ; Bytes
56
57 tc 0 rate = 16800000 ; Bytes per second
58 tc 1 rate = 16800000 ; Bytes per second
59 tc 2 rate = 16800000 ; Bytes per second
60 tc 3 rate = 16800000 ; Bytes per second
61 tc period = 28 ; Milliseconds
62
63 tc 3 oversubscription weight = 1
64
65 tc 0 wrr weights = 1 1 1 1
66 tc 1 wrr weights = 1 1 1 1
67 tc 2 wrr weights = 1 1 1 1
68 tc 3 wrr weights = 1 1 1 1
69
70 ; RED params per traffic class and color (Green / Yellow / Red)
71 [red]
72 tc 0 wred min = 48 40 32
73 tc 0 wred max = 64 64 64
74 tc 0 wred inv prob = 10 10 10
75 tc 0 wred weight = 9 9 9
76
77 tc 1 wred min = 48 40 32
78 tc 1 wred max = 64 64 64
79 tc 1 wred inv prob = 10 10 10
80 tc 1 wred weight = 9 9 9
81
82 tc 2 wred min = 48 40 32
83 tc 2 wred max = 64 64 64
84 tc 2 wred inv prob = 10 10 10
85 tc 2 wred weight = 9 9 9
86
87 tc 3 wred min = 48 40 32
88 tc 3 wred max = 64 64 64
89 tc 3 wred inv prob = 10 10 10
90 tc 3 wred weight = 9 9 9