Fix latency in l2 and l3 PROX generator config files
[yardstick.git] / samples / vnf_samples / nsut / prox / configs / gen_bng-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 [eal options]
17 -n=4 ; tester_memory_channels
18 no-output=no ; disable DPDK debug output
19
20 [variables]
21 $qinq_tag_inline=88 a8
22 $sut_mac0=@@dst_mac0
23 $sut_mac1=@@dst_mac1
24 $sut_mac2=@@dst_mac2
25 $sut_mac3=@@dst_mac3
26
27 [port 0]
28 name=cpe0
29 mac=hardware
30 [port 1]
31 name=inet0
32 mac=hardware
33 [port 2]
34 name=cpe1
35 mac=hardware
36 [port 3]
37 name=inet1
38 mac=hardware
39
40 [defaults]
41 mempool size=4K
42
43 [global]
44 start time=5
45 name=BNG gen
46 shuffle=yes
47
48 [core 0]
49 mode=master
50
51 [core 1]
52 name=arp
53
54 task=0
55 mode=gen
56 tx port=cpe0
57 bps=12500000
58 ; Ethernet + QinQ + ARP-reply
59 pkt inline=${sut_mac0} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
60 ; svlan: [0..127]
61 random=000000000XXXXXXX
62 rand_offset=14
63 ; cvlan: 256*[0..15]+16*[0..3]+[0..3]
64 random=0000XXXX00XX00XX
65 rand_offset=18
66
67 [core 1]
68 name=arp_task
69 task=1
70 mode=gen
71 tx port=cpe1
72 bps=12500000
73 ; Ethernet + QinQ + ARP-reply
74 pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 08 06 00 01 08 00 06 04 00 02 00 1e 67 3e b8 df c0 a8 01 01 00 00 00 00 00 00 c0 a8 01 01
75 ; svlan: [128..255]
76 random=000000001XXXXXXX
77 rand_offset=14
78 ; cvlan: 256*[0..15]+16*[0..3]+[0..3]
79 random=0000XXXX00XX00XX
80 rand_offset=18
81
82 [core 2]
83 name=cpe0
84 task=0
85 mode=gen
86 tx port=cpe0
87 bps=1069289928
88 ; Ethernet + QinQ + IP + UDP
89 pkt inline=${sut_mac0} 70 00 00 00 00 01 ${qinq_tag_inline} 00 01 81 00 00 01 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
90 ; svlan: [0..127]
91 random=000000000XXXXXXX
92 rand_offset=14
93 ; cvlan: 256*[0..15]+16*[0..3]+[0..3]
94 random=0000XXXX00XX00XX
95 rand_offset=18
96 ; dst_ip: [10,11].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
97 random=0000101XXXXXXXXXXXXX0000XXXXXXXX
98 rand_offset=38
99 lat pos=42
100
101 [core 3]
102 name=cpe1
103 task=0
104 mode=gen
105 tx port=cpe1
106 bps=1069289928
107 ; Ethernet + QinQ + IP + UDP
108 pkt inline=${sut_mac2} 70 00 00 00 00 03 ${qinq_tag_inline} 00 01 81 00 00 01 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
109 ; svlan: [128..255]
110 random=000000001XXXXXXX
111 rand_offset=14
112 ; cvlan: 256*[0..15]+16*[0..3]+[0..3]
113 random=0000XXXX00XX00XX
114 rand_offset=18
115 ; dst_ip: [10,11].[0..255].[0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240].[0..255]
116 random=0000101XXXXXXXXXXXXX0000XXXXXXXX
117 rand_offset=38
118 lat pos=42
119
120 [core 4]
121 name=inet0
122 task=0
123 mode=gen
124 tx port=inet0
125 bps=1250000000
126 ; Ethernet + MPLS + IP + GRE + IP + UDP
127 pkt inline=${sut_mac1} 70 00 00 00 00 02 88 47 00 00 31 00 45 00 00 38 00 01 00 00 40 2f 7c 94 7f 00 00 01 7f 00 00 01 20 00 08 00 00 00 00 00 45 00 00 1c 00 01 00 00 40 11 f6 b7 c0 a8 01 c7 c0 a8 01 01 00 35 00 35 00 08 7b 5b
128 ; GRE key: [0..65535]
129 random=0000000000000000XXXXXXXXXXXXXXXX
130 rand_offset=42
131 lat pos=66
132
133 [core 5]
134 name=inet1
135 task=0
136 mode=gen
137 tx port=inet1
138 bps=1250000000
139 ; Ethernet + MPLS + IP + GRE + IP + UDP
140 pkt inline=${sut_mac3} 70 00 00 00 00 04 88 47 00 00 31 00 45 00 00 38 00 01 00 00 40 2f 7c 94 7f 00 00 01 7f 00 00 01 20 00 08 00 00 00 00 00 45 00 00 1c 00 01 00 00 40 11 f6 b7 c0 a8 01 c7 c0 a8 01 01 00 35 00 35 00 08 7b 5b
141 ; GRE key: [0..65535]
142 random=0000000000000000XXXXXXXXXXXXXXXX
143 rand_offset=42
144 lat pos=66
145
146 [core 8]
147 name=CPE0
148 task=0
149 mode=lat
150 rx port=cpe0
151 lat pos=42
152
153 [core 9]
154 name=CPE1
155 task=0
156 mode=lat
157 rx port=cpe1
158 lat pos=42
159
160 [core 10]
161 name=INET0
162 task=0
163 mode=lat
164 rx port=inet0
165 lat pos=66
166
167 [core 11]
168 name=INET1
169 task=0
170 mode=lat
171 rx port=inet1
172 lat pos=66
173