Renaming of all perf TCs.
[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 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
17 | ... | NIC_Intel-X520-DA2 | L2BDMACLRN | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY
18 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
19 | ... | L2 | Intel-X520-DA2
20 | Suite Teardown | 3-node Performance Suite Teardown
21 | Test Setup | Setup all DUTs before test
22 | Test Teardown | Run Keywords
23 | ... | Run Keyword If Test Failed
24 | ... | Traffic should pass with no loss | 10 | ${min_rate}pps | ${framesize}
25 | ... | 3-node-bridge | fail_on_loss=${False}
26 | ... | AND | Remove startup configuration of VPP from all DUTs
27 | ... | AND | Show vpp trace dump on all DUTs
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} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
104
105 | tc03-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
106 | | [Documentation]
107 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
108 | | ... | 1 receive queue per NIC port.
109 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
110 | | ... | linerate, step 10kpps.
111 | | ...
112 | | [Tags] | 1T1C | STHREAD | NDRDISC
113 | | ...
114 | | ${framesize}= | Set Variable | ${1518}
115 | | ${min_rate}= | Set Variable | ${10000}
116 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
117 | | ${binary_min}= | Set Variable | ${min_rate}
118 | | ${binary_max}= | Set Variable | ${max_rate}
119 | | ${threshold}= | Set Variable | ${min_rate}
120 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
121 | | And Add PCI devices to DUTs from 3-node single link topology
122 | | And Apply startup configuration on all VPP DUTs
123 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
124 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
125 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
126 | | ... | ${threshold}
127
128 | tc04-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
129 | | [Documentation]
130 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
131 | | ... | 1 receive queue per NIC port.
132 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
133 | | ... | linerate, step 10kpps, LT=0.5%.
134 | | ...
135 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
136 | | ...
137 | | ${framesize}= | Set Variable | ${1518}
138 | | ${min_rate}= | Set Variable | ${10000}
139 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
140 | | ${binary_min}= | Set Variable | ${min_rate}
141 | | ${binary_max}= | Set Variable | ${max_rate}
142 | | ${threshold}= | Set Variable | ${min_rate}
143 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
144 | | And Add PCI devices to DUTs from 3-node single link topology
145 | | And Apply startup configuration on all VPP DUTs
146 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
147 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
148 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
149 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
150
151 | tc05-9000B-1t1c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
152 | | [Documentation]
153 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
154 | | ... | 1 receive queue per NIC port.
155 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
156 | | ... | linerate, step 5kpps.
157 | | ...
158 | | [Tags] | 1T1C | STHREAD | NDRDISC
159 | | ...
160 | | ${framesize}= | Set Variable | ${9000}
161 | | ${min_rate}= | Set Variable | ${10000}
162 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
163 | | ${binary_min}= | Set Variable | ${min_rate}
164 | | ${binary_max}= | Set Variable | ${max_rate}
165 | | ${threshold}= | Set Variable | ${min_rate}
166 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
167 | | And Add PCI devices to DUTs from 3-node single link topology
168 | | And Apply startup configuration on all VPP DUTs
169 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
170 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
171 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
172 | | ... | ${threshold}
173
174 | tc06-9000B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
175 | | [Documentation]
176 | | ... | [Cfg] DUT runs L2BD forwarding config with 1 thread, 1 phy core,\
177 | | ... | 1 receive queue per NIC port.
178 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
179 | | ... | linerate, step 5kpps, LT=0.5%.
180 | | ...
181 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
182 | | ...
183 | | ${framesize}= | Set Variable | ${9000}
184 | | ${min_rate}= | Set Variable | ${10000}
185 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
186 | | ${binary_min}= | Set Variable | ${min_rate}
187 | | ${binary_max}= | Set Variable | ${max_rate}
188 | | ${threshold}= | Set Variable | ${min_rate}
189 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
190 | | And Add PCI devices to DUTs from 3-node single link topology
191 | | And Apply startup configuration on all VPP DUTs
192 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
193 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
194 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
195 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
196
197 | tc07-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
198 | | [Documentation]
199 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
200 | | ... | 1 receive queue per NIC port.
201 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
202 | | ... | linerate, step 100kpps.
203 | | ...
204 | | [Tags] | 2T2C | MTHREAD | NDRDISC
205 | | ...
206 | | ${framesize}= | Set Variable | ${64}
207 | | ${min_rate}= | Set Variable | ${100000}
208 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
209 | | ${binary_min}= | Set Variable | ${min_rate}
210 | | ${binary_max}= | Set Variable | ${max_rate}
211 | | ${threshold}= | Set Variable | ${min_rate}
212 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
213 | | And Add PCI devices to DUTs from 3-node single link topology
214 | | And Add No Multi Seg to all DUTs
215 | | And Apply startup configuration on all VPP DUTs
216 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
217 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
218 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
219 | | ... | ${threshold}
220
221 | tc08-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
222 | | [Documentation]
223 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
224 | | ... | 1 receive queue per NIC port.
225 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
226 | | ... | linerate, step 100kpps, LT=0.5%.
227 | | ...
228 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
229 | | ...
230 | | ${framesize}= | Set Variable | ${64}
231 | | ${min_rate}= | Set Variable | ${100000}
232 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
233 | | ${binary_min}= | Set Variable | ${min_rate}
234 | | ${binary_max}= | Set Variable | ${max_rate}
235 | | ${threshold}= | Set Variable | ${min_rate}
236 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
237 | | And Add PCI devices to DUTs from 3-node single link topology
238 | | And Add No Multi Seg to all DUTs
239 | | And Apply startup configuration on all VPP DUTs
240 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
241 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
242 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
243 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
244
245 | tc09-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
246 | | [Documentation]
247 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
248 | | ... | 1 receive queue per NIC port.
249 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
250 | | ... | linerate, step 10kpps.
251 | | ...
252 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
253 | | ...
254 | | ${framesize}= | Set Variable | ${1518}
255 | | ${min_rate}= | Set Variable | ${10000}
256 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
257 | | ${binary_min}= | Set Variable | ${min_rate}
258 | | ${binary_max}= | Set Variable | ${max_rate}
259 | | ${threshold}= | Set Variable | ${min_rate}
260 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
261 | | And Add PCI devices to DUTs from 3-node single link topology
262 | | And Apply startup configuration on all VPP DUTs
263 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
264 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
265 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
266 | | ... | ${threshold}
267
268 | tc10-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
269 | | [Documentation]
270 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
271 | | ... | 1 receive queue per NIC port.
272 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
273 | | ... | linerate, step 10kpps, LT=0.5%.
274 | | ...
275 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
276 | | ...
277 | | ${framesize}= | Set Variable | ${1518}
278 | | ${min_rate}= | Set Variable | ${10000}
279 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
280 | | ${binary_min}= | Set Variable | ${min_rate}
281 | | ${binary_max}= | Set Variable | ${max_rate}
282 | | ${threshold}= | Set Variable | ${min_rate}
283 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
284 | | And Add PCI devices to DUTs from 3-node single link topology
285 | | And Apply startup configuration on all VPP DUTs
286 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
287 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
288 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
289 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
290
291 | tc11-9000B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
292 | | [Documentation]
293 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
294 | | ... | 1 receive queue per NIC port.
295 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
296 | | ... | linerate, step 5kpps.
297 | | ...
298 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
299 | | ...
300 | | ${framesize}= | Set Variable | ${9000}
301 | | ${min_rate}= | Set Variable | ${10000}
302 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
303 | | ${binary_min}= | Set Variable | ${min_rate}
304 | | ${binary_max}= | Set Variable | ${max_rate}
305 | | ${threshold}= | Set Variable | ${min_rate}
306 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
307 | | And Add PCI devices to DUTs from 3-node single link topology
308 | | And Apply startup configuration on all VPP DUTs
309 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
310 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
311 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
312 | | ... | ${threshold}
313
314 | tc12-9000B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
315 | | [Documentation]
316 | | ... | [Cfg] DUT runs L2BD forwarding config with 2 threads, 2 phy cores,\
317 | | ... | 1 receive queue per NIC port.
318 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
319 | | ... | linerate, step 5kpps, LT=0.5%.
320 | | ...
321 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
322 | | ...
323 | | ${framesize}= | Set Variable | ${9000}
324 | | ${min_rate}= | Set Variable | ${10000}
325 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
326 | | ${binary_min}= | Set Variable | ${min_rate}
327 | | ${binary_max}= | Set Variable | ${max_rate}
328 | | ${threshold}= | Set Variable | ${min_rate}
329 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
330 | | And Add PCI devices to DUTs from 3-node single link topology
331 | | And Apply startup configuration on all VPP DUTs
332 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
333 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
334 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
335 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
336
337 | tc13-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
338 | | [Documentation]
339 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
340 | | ... | 2 receive queues per NIC port.
341 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
342 | | ... | linerate, step 100kpps.
343 | | ...
344 | | [Tags] | 4T4C | MTHREAD | NDRDISC
345 | | ...
346 | | ${framesize}= | Set Variable | ${64}
347 | | ${min_rate}= | Set Variable | ${100000}
348 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
349 | | ${binary_min}= | Set Variable | ${min_rate}
350 | | ${binary_max}= | Set Variable | ${max_rate}
351 | | ${threshold}= | Set Variable | ${min_rate}
352 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
353 | | And Add PCI devices to DUTs from 3-node single link topology
354 | | And Add No Multi Seg to all DUTs
355 | | And Apply startup configuration on all VPP DUTs
356 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
357 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
358 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
359 | | ... | ${threshold}
360
361 | tc14-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
362 | | [Documentation]
363 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
364 | | ... | 2 receive queues per NIC port.
365 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
366 | | ... | linerate, step 100kpps, LT=0.5%.
367 | | ...
368 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
369 | | ...
370 | | ${framesize}= | Set Variable | ${64}
371 | | ${min_rate}= | Set Variable | ${100000}
372 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
373 | | ${binary_min}= | Set Variable | ${min_rate}
374 | | ${binary_max}= | Set Variable | ${max_rate}
375 | | ${threshold}= | Set Variable | ${min_rate}
376 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
377 | | And Add PCI devices to DUTs from 3-node single link topology
378 | | And Add No Multi Seg to all DUTs
379 | | And Apply startup configuration on all VPP DUTs
380 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
381 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
382 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
383 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
384
385 | tc15-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
386 | | [Documentation]
387 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
388 | | ... | 2 receive queues per NIC port.
389 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
390 | | ... | linerate, step 10kpps.
391 | | ...
392 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
393 | | ...
394 | | ${framesize}= | Set Variable | ${1518}
395 | | ${min_rate}= | Set Variable | ${10000}
396 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
397 | | ${binary_min}= | Set Variable | ${min_rate}
398 | | ${binary_max}= | Set Variable | ${max_rate}
399 | | ${threshold}= | Set Variable | ${min_rate}
400 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
401 | | And Add PCI devices to DUTs from 3-node single link topology
402 | | And Apply startup configuration on all VPP DUTs
403 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
404 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
405 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
406 | | ... | ${threshold}
407
408 | tc16-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
409 | | [Documentation]
410 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
411 | | ... | 2 receive queues per NIC port.
412 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
413 | | ... | linerate, step 10kpps, LT=0.5%.
414 | | ...
415 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
416 | | ...
417 | | ${framesize}= | Set Variable | ${1518}
418 | | ${min_rate}= | Set Variable | ${10000}
419 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
420 | | ${binary_min}= | Set Variable | ${min_rate}
421 | | ${binary_max}= | Set Variable | ${max_rate}
422 | | ${threshold}= | Set Variable | ${min_rate}
423 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
424 | | And Add PCI devices to DUTs from 3-node single link topology
425 | | And Apply startup configuration on all VPP DUTs
426 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
427 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
428 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
429 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
430
431 | tc17-9000B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc
432 | | [Documentation]
433 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
434 | | ... | 2 receive queues per NIC port.
435 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\
436 | | ... | linerate, step 5kpps.
437 | | ...
438 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
439 | | ...
440 | | ${framesize}= | Set Variable | ${9000}
441 | | ${min_rate}= | Set Variable | ${10000}
442 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
443 | | ${binary_min}= | Set Variable | ${min_rate}
444 | | ${binary_max}= | Set Variable | ${max_rate}
445 | | ${threshold}= | Set Variable | ${min_rate}
446 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
447 | | And Add PCI devices to DUTs from 3-node single link topology
448 | | And Apply startup configuration on all VPP DUTs
449 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
450 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
451 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
452 | | ... | ${threshold}
453
454 | tc18-9000B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc
455 | | [Documentation]
456 | | ... | [Cfg] DUT runs L2BD forwarding config with 4 threads, 4 phy cores,\
457 | | ... | 2 receive queues per NIC port.
458 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\
459 | | ... | linerate, step 5kpps, LT=0.5%.
460 | | ...
461 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
462 | | ...
463 | | ${framesize}= | Set Variable | ${9000}
464 | | ${min_rate}= | Set Variable | ${10000}
465 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
466 | | ${binary_min}= | Set Variable | ${min_rate}
467 | | ${binary_max}= | Set Variable | ${max_rate}
468 | | ${threshold}= | Set Variable | ${min_rate}
469 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
470 | | And Add PCI devices to DUTs from 3-node single link topology
471 | | And Apply startup configuration on all VPP DUTs
472 | | And L2 bridge domain with VXLANoIPv4 initialized in a 3-node circular topology
473 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
474 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
475 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}