CSIT-604: Bootstrap file for vpp-csit-verify-master-centos7-nightly
[csit.git] / tests / vpp / perf / ip4_tunnels / 10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-ndrpdrdisc.robot
1 # Copyright (c) 2017 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/performance/performance_setup.robot
16 | ...
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
18 | ... | NIC_Intel-X520-DA2 | L2BDMACLRN | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY
19 | ...
20 | Suite Setup | Set up 3-node performance topology with DUT's NIC model
21 | ... | L2 | Intel-X520-DA2
22 | Suite Teardown | Tear down 3-node performance topology
23 | ...
24 | Test Setup | Set up performance test
25 | ...
26 | Test Teardown | Tear down performance discovery test | ${min_rate}pps
27 | ... | ${framesize} | ${traffic_profile}
28 | ...
29 | Documentation | *RFC2544: Packet throughput L2BD with VXLANoIPv4 test cases*
30 | ...
31 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
32 | ... | with single links between nodes.
33 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 bridge domain on TG-DUTn.
34 | ... | Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUT1 and DUT2.
35 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 bridge
36 | ... | domain. VXLAN tunnels are configured between L2BDs on DUT1 and DUT2.
37 | ... | DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel.
38 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
39 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
40 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
41 | ... | of packets transmitted. NDR and PDR are discovered for different
42 | ... | Ethernet L2 frame sizes using either binary search or linear search
43 | ... | algorithms with configured starting rate and final step that determines
44 | ... | throughput measurement resolution. Test packets are generated by TG on
45 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
46 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
47 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and
48 | ... | generated payload. MAC addresses are matching MAC addresses of the TG
49 | ... | node interfaces.
50 | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348.
51
52 *** Variables ***
53 # X520-DA2 bandwidth limit
54 | ${s_limit} | ${10000000000}
55 | ${vxlan_overhead} | ${50}
56 # Traffic profile:
57 | ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
58
59 *** Test Cases ***
60 | tc01-64B-1t1c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
61 | | [Documentation]
62 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
63 | | ... | 1 receive queue per NIC port.
64 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
65 | | ... | linerate, step 100kpps.
66 | | ...
67 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
68 | | ...
69 | | ${framesize}= | Set Variable | ${64}
70 | | ${min_rate}= | Set Variable | ${100000}
71 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
72 | | ${binary_min}= | Set Variable | ${min_rate}
73 | | ${binary_max}= | Set Variable | ${max_rate}
74 | | ${threshold}= | Set Variable | ${min_rate}
75 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
76 | | And Add PCI devices to DUTs in 3-node single link topology
77 | | And Add no multi seg to all DUTs
78 | | And Apply startup configuration on all VPP DUTs
79 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
80 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
81 | | ... | ${binary_max} | ${traffic_profile}
82 | | ... | ${min_rate} | ${max_rate} | ${threshold}
83
84 | tc02-64B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
85 | | [Documentation]
86 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
87 | | ... | 1 receive queue per NIC port.
88 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
89 | | ... | linerate, step 100kpps, LT=0.5%.
90 | | ...
91 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
92 | | ...
93 | | ${framesize}= | Set Variable | ${64}
94 | | ${min_rate}= | Set Variable | ${100000}
95 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
96 | | ${binary_min}= | Set Variable | ${min_rate}
97 | | ${binary_max}= | Set Variable | ${max_rate}
98 | | ${threshold}= | Set Variable | ${min_rate}
99 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
100 | | And Add PCI devices to DUTs in 3-node single link topology
101 | | And Add no multi seg to all DUTs
102 | | And Apply startup configuration on all VPP DUTs
103 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
104 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
105 | | ... | ${binary_max} | ${traffic_profile}
106 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
107 | | ... | ${perf_pdr_loss_acceptance_type}
108
109 | tc03-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
110 | | [Documentation]
111 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
112 | | ... | 1 receive queue per NIC port.
113 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
114 | | ... | linerate, step 10kpps.
115 | | ...
116 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
117 | | ...
118 | | ${framesize}= | Set Variable | ${1518}
119 | | ${min_rate}= | Set Variable | ${10000}
120 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
121 | | ${binary_min}= | Set Variable | ${min_rate}
122 | | ${binary_max}= | Set Variable | ${max_rate}
123 | | ${threshold}= | Set Variable | ${min_rate}
124 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
125 | | And Add PCI devices to DUTs in 3-node single link topology
126 | | And Apply startup configuration on all VPP DUTs
127 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
128 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
129 | | ... | ${binary_max} | ${traffic_profile}
130 | | ... | ${min_rate} | ${max_rate} | ${threshold}
131
132 | tc04-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
133 | | [Documentation]
134 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
135 | | ... | 1 receive queue per NIC port.
136 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
137 | | ... | linerate, step 10kpps, LT=0.5%.
138 | | ...
139 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
140 | | ...
141 | | ${framesize}= | Set Variable | ${1518}
142 | | ${min_rate}= | Set Variable | ${10000}
143 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
144 | | ${binary_min}= | Set Variable | ${min_rate}
145 | | ${binary_max}= | Set Variable | ${max_rate}
146 | | ${threshold}= | Set Variable | ${min_rate}
147 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
148 | | And Add PCI devices to DUTs in 3-node single link topology
149 | | And Apply startup configuration on all VPP DUTs
150 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
151 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
152 | | ... | ${binary_max} | ${traffic_profile}
153 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
154 | | ... | ${perf_pdr_loss_acceptance_type}
155
156 | tc05-9000B-1t1c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
157 | | [Documentation]
158 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
159 | | ... | 1 receive queue per NIC port.
160 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
161 | | ... | linerate, step 5kpps.
162 | | ...
163 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
164 | | ...
165 | | ${framesize}= | Set Variable | ${9000}
166 | | ${min_rate}= | Set Variable | ${10000}
167 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
168 | | ${binary_min}= | Set Variable | ${min_rate}
169 | | ${binary_max}= | Set Variable | ${max_rate}
170 | | ${threshold}= | Set Variable | ${min_rate}
171 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
172 | | And Add PCI devices to DUTs in 3-node single link topology
173 | | And Apply startup configuration on all VPP DUTs
174 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
175 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
176 | | ... | ${binary_max} | ${traffic_profile}
177 | | ... | ${min_rate} | ${max_rate} | ${threshold}
178
179 | tc06-9000B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
180 | | [Documentation]
181 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
182 | | ... | 1 receive queue per NIC port.
183 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
184 | | ... | linerate, step 5kpps, LT=0.5%.
185 | | ...
186 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
187 | | ...
188 | | ${framesize}= | Set Variable | ${9000}
189 | | ${min_rate}= | Set Variable | ${10000}
190 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
191 | | ${binary_min}= | Set Variable | ${min_rate}
192 | | ${binary_max}= | Set Variable | ${max_rate}
193 | | ${threshold}= | Set Variable | ${min_rate}
194 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
195 | | And Add PCI devices to DUTs in 3-node single link topology
196 | | And Apply startup configuration on all VPP DUTs
197 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
198 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
199 | | ... | ${binary_max} | ${traffic_profile}
200 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
201 | | ... | ${perf_pdr_loss_acceptance_type}
202
203 | tc07-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
204 | | [Documentation]
205 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
206 | | ... | 1 receive queue per NIC port.
207 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
208 | | ... | linerate, step 100kpps.
209 | | ...
210 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
211 | | ...
212 | | ${framesize}= | Set Variable | ${64}
213 | | ${min_rate}= | Set Variable | ${100000}
214 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
215 | | ${binary_min}= | Set Variable | ${min_rate}
216 | | ${binary_max}= | Set Variable | ${max_rate}
217 | | ${threshold}= | Set Variable | ${min_rate}
218 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
219 | | And Add PCI devices to DUTs in 3-node single link topology
220 | | And Add no multi seg to all DUTs
221 | | And Apply startup configuration on all VPP DUTs
222 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
223 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
224 | | ... | ${binary_max} | ${traffic_profile}
225 | | ... | ${min_rate} | ${max_rate} | ${threshold}
226
227 | tc08-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
228 | | [Documentation]
229 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
230 | | ... | 1 receive queue per NIC port.
231 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
232 | | ... | linerate, step 100kpps, LT=0.5%.
233 | | ...
234 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
235 | | ...
236 | | ${framesize}= | Set Variable | ${64}
237 | | ${min_rate}= | Set Variable | ${100000}
238 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
239 | | ${binary_min}= | Set Variable | ${min_rate}
240 | | ${binary_max}= | Set Variable | ${max_rate}
241 | | ${threshold}= | Set Variable | ${min_rate}
242 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
243 | | And Add PCI devices to DUTs in 3-node single link topology
244 | | And Add no multi seg to all DUTs
245 | | And Apply startup configuration on all VPP DUTs
246 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
247 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
248 | | ... | ${binary_max} | ${traffic_profile}
249 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
250 | | ... | ${perf_pdr_loss_acceptance_type}
251
252 | tc09-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
253 | | [Documentation]
254 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
255 | | ... | 1 receive queue per NIC port.
256 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
257 | | ... | linerate, step 10kpps.
258 | | ...
259 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
260 | | ...
261 | | ${framesize}= | Set Variable | ${1518}
262 | | ${min_rate}= | Set Variable | ${10000}
263 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
264 | | ${binary_min}= | Set Variable | ${min_rate}
265 | | ${binary_max}= | Set Variable | ${max_rate}
266 | | ${threshold}= | Set Variable | ${min_rate}
267 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
268 | | And Add PCI devices to DUTs in 3-node single link topology
269 | | And Apply startup configuration on all VPP DUTs
270 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
271 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
272 | | ... | ${binary_max} | ${traffic_profile}
273 | | ... | ${min_rate} | ${max_rate} | ${threshold}
274
275 | tc10-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
276 | | [Documentation]
277 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
278 | | ... | 1 receive queue per NIC port.
279 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
280 | | ... | linerate, step 10kpps, LT=0.5%.
281 | | ...
282 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
283 | | ...
284 | | ${framesize}= | Set Variable | ${1518}
285 | | ${min_rate}= | Set Variable | ${10000}
286 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
287 | | ${binary_min}= | Set Variable | ${min_rate}
288 | | ${binary_max}= | Set Variable | ${max_rate}
289 | | ${threshold}= | Set Variable | ${min_rate}
290 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
291 | | And Add PCI devices to DUTs in 3-node single link topology
292 | | And Apply startup configuration on all VPP DUTs
293 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
294 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
295 | | ... | ${binary_max} | ${traffic_profile}
296 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
297 | | ... | ${perf_pdr_loss_acceptance_type}
298
299 | tc11-9000B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
300 | | [Documentation]
301 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
302 | | ... | 1 receive queue per NIC port.
303 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
304 | | ... | linerate, step 5kpps.
305 | | ...
306 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
307 | | ...
308 | | ${framesize}= | Set Variable | ${9000}
309 | | ${min_rate}= | Set Variable | ${10000}
310 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
311 | | ${binary_min}= | Set Variable | ${min_rate}
312 | | ${binary_max}= | Set Variable | ${max_rate}
313 | | ${threshold}= | Set Variable | ${min_rate}
314 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
315 | | And Add PCI devices to DUTs in 3-node single link topology
316 | | And Apply startup configuration on all VPP DUTs
317 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
318 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
319 | | ... | ${binary_max} | ${traffic_profile}
320 | | ... | ${min_rate} | ${max_rate} | ${threshold}
321
322 | tc12-9000B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
323 | | [Documentation]
324 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
325 | | ... | 1 receive queue per NIC port.
326 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
327 | | ... | linerate, step 5kpps, LT=0.5%.
328 | | ...
329 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
330 | | ...
331 | | ${framesize}= | Set Variable | ${9000}
332 | | ${min_rate}= | Set Variable | ${10000}
333 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
334 | | ${binary_min}= | Set Variable | ${min_rate}
335 | | ${binary_max}= | Set Variable | ${max_rate}
336 | | ${threshold}= | Set Variable | ${min_rate}
337 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
338 | | And Add PCI devices to DUTs in 3-node single link topology
339 | | And Apply startup configuration on all VPP DUTs
340 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
341 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
342 | | ... | ${binary_max} | ${traffic_profile}
343 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
344 | | ... | ${perf_pdr_loss_acceptance_type}
345
346 | tc13-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
347 | | [Documentation]
348 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
349 | | ... | 2 receive queues per NIC port.
350 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
351 | | ... | linerate, step 100kpps.
352 | | ...
353 | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC
354 | | ...
355 | | ${framesize}= | Set Variable | ${64}
356 | | ${min_rate}= | Set Variable | ${100000}
357 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
358 | | ${binary_min}= | Set Variable | ${min_rate}
359 | | ${binary_max}= | Set Variable | ${max_rate}
360 | | ${threshold}= | Set Variable | ${min_rate}
361 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
362 | | And Add PCI devices to DUTs in 3-node single link topology
363 | | And Add no multi seg to all DUTs
364 | | And Apply startup configuration on all VPP DUTs
365 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
366 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
367 | | ... | ${binary_max} | ${traffic_profile}
368 | | ... | ${min_rate} | ${max_rate} | ${threshold}
369
370 | tc14-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
371 | | [Documentation]
372 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
373 | | ... | 2 receive queues per NIC port.
374 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
375 | | ... | linerate, step 100kpps, LT=0.5%.
376 | | ...
377 | | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
378 | | ...
379 | | ${framesize}= | Set Variable | ${64}
380 | | ${min_rate}= | Set Variable | ${100000}
381 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
382 | | ${binary_min}= | Set Variable | ${min_rate}
383 | | ${binary_max}= | Set Variable | ${max_rate}
384 | | ${threshold}= | Set Variable | ${min_rate}
385 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
386 | | And Add PCI devices to DUTs in 3-node single link topology
387 | | And Add no multi seg to all DUTs
388 | | And Apply startup configuration on all VPP DUTs
389 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
390 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
391 | | ... | ${binary_max} | ${traffic_profile}
392 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
393 | | ... | ${perf_pdr_loss_acceptance_type}
394
395 | tc15-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
396 | | [Documentation]
397 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
398 | | ... | 2 receive queues per NIC port.
399 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
400 | | ... | linerate, step 10kpps.
401 | | ...
402 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
403 | | ...
404 | | ${framesize}= | Set Variable | ${1518}
405 | | ${min_rate}= | Set Variable | ${10000}
406 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
407 | | ${binary_min}= | Set Variable | ${min_rate}
408 | | ${binary_max}= | Set Variable | ${max_rate}
409 | | ${threshold}= | Set Variable | ${min_rate}
410 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
411 | | And Add PCI devices to DUTs in 3-node single link topology
412 | | And Apply startup configuration on all VPP DUTs
413 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
414 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
415 | | ... | ${binary_max} | ${traffic_profile}
416 | | ... | ${min_rate} | ${max_rate} | ${threshold}
417
418 | tc16-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
419 | | [Documentation]
420 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
421 | | ... | 2 receive queues per NIC port.
422 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
423 | | ... | linerate, step 10kpps, LT=0.5%.
424 | | ...
425 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
426 | | ...
427 | | ${framesize}= | Set Variable | ${1518}
428 | | ${min_rate}= | Set Variable | ${10000}
429 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
430 | | ${binary_min}= | Set Variable | ${min_rate}
431 | | ${binary_max}= | Set Variable | ${max_rate}
432 | | ${threshold}= | Set Variable | ${min_rate}
433 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
434 | | And Add PCI devices to DUTs in 3-node single link topology
435 | | And Apply startup configuration on all VPP DUTs
436 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
437 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
438 | | ... | ${binary_max} | ${traffic_profile}
439 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
440 | | ... | ${perf_pdr_loss_acceptance_type}
441
442 | tc17-9000B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
443 | | [Documentation]
444 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
445 | | ... | 2 receive queues per NIC port.
446 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
447 | | ... | linerate, step 5kpps.
448 | | ...
449 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
450 | | ...
451 | | ${framesize}= | Set Variable | ${9000}
452 | | ${min_rate}= | Set Variable | ${10000}
453 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
454 | | ${binary_min}= | Set Variable | ${min_rate}
455 | | ${binary_max}= | Set Variable | ${max_rate}
456 | | ${threshold}= | Set Variable | ${min_rate}
457 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
458 | | And Add PCI devices to DUTs in 3-node single link topology
459 | | And Apply startup configuration on all VPP DUTs
460 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
461 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
462 | | ... | ${binary_max} | ${traffic_profile}
463 | | ... | ${min_rate} | ${max_rate} | ${threshold}
464
465 | tc18-9000B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
466 | | [Documentation]
467 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
468 | | ... | 2 receive queues per NIC port.
469 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
470 | | ... | linerate, step 5kpps, LT=0.5%.
471 | | ...
472 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
473 | | ...
474 | | ${framesize}= | Set Variable | ${9000}
475 | | ${min_rate}= | Set Variable | ${10000}
476 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
477 | | ${binary_min}= | Set Variable | ${min_rate}
478 | | ${binary_max}= | Set Variable | ${max_rate}
479 | | ${threshold}= | Set Variable | ${min_rate}
480 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
481 | | And Add PCI devices to DUTs in 3-node single link topology
482 | | And Apply startup configuration on all VPP DUTs
483 | | And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
484 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
485 | | ... | ${binary_max} | ${traffic_profile}
486 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
487 | | ... | ${perf_pdr_loss_acceptance_type}