Merge "Yardstick TC082: move sample test case perf.yaml"
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_mpls_tag_untag-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=taggd1
23 mac=hardware
24 [port 1]
25 name=plain1
26 mac=hardware
27 [port 2]
28 name=plain2
29 mac=hardware
30 [port 3]
31 name=taggd2
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
43 [global]
44 start time=5
45 name=MPLS tag/untag
46 shuffle=yes
47
48 [core 0]
49 mode=master
50
51 [core 1]
52 name=tag1
53 task=0
54 mode=gen
55 tx port=taggd1
56 bps=1250000000
57 ; Ethernet + MPLS + IP + UDP
58 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
59
60 [core 2]
61 name=udp1
62 task=0
63 mode=gen
64 tx port=plain1
65 bps=1250000000
66 ; Ethernet + IP + UDP
67 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
68
69 [core 3]
70 name=udp2
71 task=0
72 mode=gen
73 tx port=plain2
74 bps=1250000000
75 ; Ethernet + IP + UDP
76 pkt inline=${sut_mac2} 70 00 00 00 00 03 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
77
78 [core 4]
79 name=tag2
80 task=0
81 mode=gen
82 tx port=taggd2
83 bps=1250000000
84 ; Ethernet + MPLS + IP + UDP
85 pkt inline=${sut_mac3} 70 00 00 00 00 04 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
86
87 [core 5]
88 task=0
89 mode=lat
90 rx port=taggd1
91 lat pos=46
92
93 [core 6]
94 task=0
95 mode=lat
96 rx port=plain1
97 lat pos=42
98
99 [core 7]
100 task=0
101 mode=lat
102 rx port=plain2
103 lat pos=42
104
105 [core 8]
106 task=0
107 mode=lat
108 rx port=taggd2
109 lat pos=46