Merge "Standalone XML machine type is not longer valid"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_l3fwd-4.cfg
1 # Copyright (c) 2016-2017 Intel Corporation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #      http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 #
15 #;
16
17 [eal options]
18 -n=4 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
20
21 [port 0]
22 name=p0
23 mac=hardware
24 [port 1]
25 name=p1
26 mac=hardware
27 [port 2]
28 name=p2
29 mac=hardware
30 [port 3]
31 name=p3
32 mac=hardware
33
34 [defaults]
35 mempool size=4K
36
37 [variables]
38 $sut_mac0=@@dst_mac0
39 $sut_mac1=@@dst_mac1
40 $sut_mac2=@@dst_mac2
41 $sut_mac3=@@dst_mac3
42 $tester_mac0=@@src_mac0
43 $tester_mac1=@@src_mac1
44 $tester_mac2=@@src_mac2
45 $tester_mac3=@@src_mac3
46 [global]
47 start time=5
48 name=Routing Gen
49
50 [core 0]
51 mode=master
52
53 [core 1]
54 name=p0
55 task=0
56 mode=gen
57 tx port=p0
58 bps=1250000000
59 pkt inline=${sut_mac0} ${tester_mac0} 08 00 45 00 00 24 00 01 00 00 40 11 f7 7d c0 a8 01 01 0a 00 00 00 13 88 13 88 00 10 55 7b 00 01 02 03 04 05 06 07
60 random=0000101XXXXXXXXXXXXX0000XXXXXXX1
61 rand_offset=30
62 lat pos=42
63 signature pos=46
64 signature=0xcafedeca
65
66 [core 2]
67 name=p1
68 task=0
69 mode=gen
70 tx port=p1
71 bps=1250000000
72 pkt inline=${sut_mac1} ${tester_mac1} 08 00 45 00 00 24 00 01 00 00 40 11 f7 7d c0 a8 01 01 0a 00 00 00 13 88 13 88 00 10 55 7b 00 01 02 03 04 05 06 07
73 random=0000101XXXXXXXXXXXXX0000XXXXXXX1
74 rand_offset=30
75 lat pos=42
76 signature pos=46
77 signature=0xcafedeca
78
79 [core 3]
80 name=p2
81 task=0
82 mode=gen
83 tx port=p2
84 bps=1250000000
85 pkt inline=${sut_mac2} ${tester_mac2} 08 00 45 00 00 24 00 01 00 00 40 11 f7 7d c0 a8 01 01 0a 00 00 00 13 88 13 88 00 10 55 7b 00 01 02 03 04 05 06 07
86 random=0000101XXXXXXXXXXXXX0000XXXXXXX1
87 rand_offset=30
88 lat pos=42
89 signature pos=46
90 signature=0xcafedeca
91
92 [core 4]
93 name=p3
94 task=0
95 mode=gen
96 tx port=p3
97 bps=1250000000
98 pkt inline=${sut_mac3} ${tester_mac3} 08 00 45 00 00 24 00 01 00 00 40 11 f7 7d c0 a8 01 01 0a 00 00 00 13 88 13 88 00 10 55 7b 00 01 02 03 04 05 06 07
99 random=0000101XXXXXXXXXXXXX0000XXXXXXX1
100 rand_offset=30
101 lat pos=42
102 signature pos=46
103 signature=0xcafedeca
104
105 [core 5]
106 name=REC_P0
107 task=0
108 mode=lat
109 rx port=p0
110 lat pos=42
111 signature pos=46
112 signature=0xcafedeca
113
114 [core 6]
115 name=REC_P1
116 task=0
117 mode=lat
118 rx port=p1
119 lat pos=42
120 signature pos=46
121 signature=0xcafedeca
122
123 [core 7]
124 name=REC_P2
125 task=0
126 mode=lat
127 rx port=p2
128 lat pos=42
129 signature pos=46
130 signature=0xcafedeca
131
132 [core 8]
133 name=REC_P3
134 task=0
135 mode=lat
136 rx port=p3
137 lat pos=42
138 signature pos=46
139 signature=0xcafedeca