Merge "Resolve NameError in test_utils.py"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_l2fwd-2.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
19 no-output=no ; disable DPDK debug output
20
21 [port 0]
22 name=p0
23 mac=hardware
24 promiscuous=yes
25
26 [port 1]
27 name=p1
28 mac=hardware
29 promiscuous=yes
30
31 [defaults]
32 mempool size=4K
33
34 [variables]
35 $sut_mac0=@@dst_mac0
36 $sut_mac1=@@dst_mac1
37
38 [global]
39 start time=5
40 name=Basic Gen
41
42 [core 0]
43 mode=master
44
45 [core 1]
46 name=gen 0
47 task=0
48 mode=gen
49 tx port=p0
50 bps=1250000000
51 ; Ethernet + IP + UDP
52 pkt inline=${sut_mac0} 3c fd fe 9f a3 08 08 00 45 00 00 24 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 10 55 7b 00 01 02 03 04 05 06 07
53 lat pos=42
54 signature pos=46
55 signature=0xcafedeca
56
57 [core 2]
58 name=gen 1
59 task=0
60 mode=gen
61 tx port=p1
62 bps=1250000000
63 ; Ethernet + IP + UDP
64 pkt inline=${sut_mac1} 3c fd fe 9f a3 08 08 00 45 00 00 24 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 13 88 13 88 00 10 55 7b 00 01 02 03 04 05 06 07
65 lat pos=42
66 signature pos=46
67 signature=0xcafedeca
68
69 [core 3]
70 name=rec 0
71 task=0
72 mode=lat
73 rx port=p0
74 lat pos=42
75 signature pos=46
76 signature=0xcafedeca
77
78 [core 4]
79 name=rec 0
80 task=0
81 mode=lat
82 rx port=p1
83 lat pos=42
84 signature pos=46
85 signature=0xcafedeca