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