Fix latency in l2 and l3 PROX generator config files
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_l2fwd-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
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 [port 2]
32 name=p2
33 mac=hardware
34 promiscuous=yes
35
36 [port 3]
37 name=p3
38 mac=hardware
39 promiscuous=yes
40
41 [defaults]
42 mempool size=4K
43
44 [variables]
45 $sut_mac0=@@dst_mac0
46 $sut_mac1=@@dst_mac1
47 $sut_mac2=@@dst_mac2
48 $sut_mac3=@@dst_mac3
49
50 [global]
51 start time=5
52 name=Basic Gen x4
53
54 [core 0]
55 mode=master
56
57 [core 1]
58 name=gen 0
59 task=0
60 mode=gen
61 tx port=p0
62 bps=1250000000
63 ; Ethernet + IP + UDP
64 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
65 lat pos=42
66 signature pos=46
67 signature=0xcafedeca
68
69 [core 2]
70 name=gen 1
71 task=0
72 mode=gen
73 tx port=p1
74 bps=1250000000
75 ; Ethernet + IP + UDP
76 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
77 lat pos=42
78 signature pos=46
79 signature=0xcafedeca
80
81 [core 3]
82 name=gen 2
83 task=0
84 mode=gen
85 tx port=p2
86 bps=1250000000
87 ; Ethernet + IP + UDP
88 pkt inline=${sut_mac2} 3c fd fe 9f a5 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
89 lat pos=42
90 signature pos=46
91 signature=0xcafedeca
92
93 [core 4]
94 name=gen 3
95 task=0
96 mode=gen
97 tx port=p3
98 bps=1250000000
99 ; Ethernet + IP + UDP
100 pkt inline=${sut_mac3} 3c fd fe 9f a5 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
101 lat pos=42
102 signature pos=46
103 signature=0xcafedeca
104
105 [core 5]
106 name=rec 0
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 1
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 2
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 3
134 task=0
135 mode=lat
136 rx port=p3
137 lat pos=42
138 signature pos=46
139 signature=0xcafedeca