Fix latency in l2 and l3 PROX generator config files
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_mpls_tag_untag-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 ; force number of memory channels
19 no-output=no ; disable DPDK debug output
20
21 [port 0]
22 name=taggd1
23 mac=hardware
24 [port 1]
25 name=plain1
26 mac=hardware
27
28 [defaults]
29 mempool size=4K
30
31 [variables]
32 $sut_mac0=@@dst_mac0
33 $sut_mac1=@@dst_mac1
34
35 [global]
36 start time=5
37 name=MPLS tag/untag
38 shuffle=yes
39
40 [core 0]
41 mode=master
42
43 [core 1]
44 name=tag1
45 task=0
46 mode=gen
47 tx port=taggd1
48 bps=1250000000
49 ; Ethernet + MPLS + IP + UDP
50 pkt inline=${sut_mac0} 70 00 00 00 00 01 88 47 00 00 31 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
51
52 [core 2]
53 name=udp1
54 task=0
55 mode=gen
56 tx port=plain1
57 bps=1250000000
58 ; Ethernet + IP + UDP
59 pkt inline=${sut_mac1} 70 00 00 00 00 02 08 00 45 00 00 1c 00 01 00 00 40 11 f7 7d c0 a8 01 01 c0 a8 01 01 00 35 00 35 00 08 7c 21  FFFFFFFF
60
61 [core 3]
62 task=0
63 mode=lat
64 rx port=taggd1
65 lat pos=46
66
67 [core 4]
68 task=0
69 mode=lat
70 rx port=plain1
71 lat pos=42