CSIT-387 collect HW stats if binary search fails
[csit.git] / tests / perf / Long_Xconnect_Intel-X520-DA2.robot
1 # Copyright (c) 2016 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 | Library | resources.libraries.python.InterfaceUtil
17 | Library | resources.libraries.python.NodePath
18 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
19 | ...        | NIC_Intel-X520-DA2
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 | Test Setup | Setup all DUTs before test
24 | Test Teardown | Run Keywords
25 | ...           | Run Keyword If Test Failed
26 | ...           | Traffic should pass with no loss | 10
27 | ...           | ${min_rate}pps | ${framesize} | 3-node-xconnect
28 | ...           | fail_on_loss=${False}
29 | ...           | AND | Remove startup configuration of VPP from all DUTs
30 | ...           | AND | Show vpp trace dump on all DUTs
31 | Documentation | *RFC2544: Pkt throughput L2XC test cases*
32 | ...
33 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
34 | ... | with single links between nodes.
35 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 cross connect.
36 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 cross-
37 | ... | connect. 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 static
48 | ... | payload. MAC addresses are matching MAC addresses of the TG node
49 | ... | interfaces.
50 | ... | *[Ref] Applicable standard specifications:* RFC2544.
51
52 *** Test Cases ***
53 | TC01: 64B NDR binary search - DUT L2XC - 1thread 1core 1rxq
54 | | [Documentation]
55 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
56 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
57 | | ... | using binary search start at 10GE linerate, step 100kpps.
58 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
59 | | ${framesize}= | Set Variable | 64
60 | | ${min_rate}= | Set Variable | 100000
61 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
62 | | ${binary_min}= | Set Variable | ${min_rate}
63 | | ${binary_max}= | Set Variable | ${max_rate}
64 | | ${threshold}= | Set Variable | ${min_rate}
65 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
66 | | And   Add PCI devices to DUTs from 3-node single link topology
67 | | And   Add No Multi Seg to all DUTs
68 | | And   Apply startup configuration on all VPP DUTs
69 | | And   L2 xconnect initialized in a 3-node circular topology
70 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
71 | | ...                                       | ${binary_max} | 3-node-xconnect
72 | | ...                                       | ${min_rate} | ${max_rate}
73 | | ...                                       | ${threshold}
74
75 | TC02: 64B PDR binary search - DUT L2XC - 1thread 1core 1rxq
76 | | [Documentation]
77 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
78 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
79 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
80 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
81 | | ${framesize}= | Set Variable | 64
82 | | ${min_rate}= | Set Variable | 100000
83 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
84 | | ${binary_min}= | Set Variable | ${min_rate}
85 | | ${binary_max}= | Set Variable | ${max_rate}
86 | | ${threshold}= | Set Variable | ${min_rate}
87 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
88 | | And   Add PCI devices to DUTs from 3-node single link topology
89 | | And   Add No Multi Seg to all DUTs
90 | | And   Apply startup configuration on all VPP DUTs
91 | | And   L2 xconnect initialized in a 3-node circular topology
92 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
93 | | ...                                       | ${binary_max} | 3-node-xconnect
94 | | ...                                       | ${min_rate} | ${max_rate}
95 | | ...                                       | ${threshold}
96 | | ...                                       | ${glob_loss_acceptance}
97 | | ...                                       | ${glob_loss_acceptance_type}
98
99 | TC03: 1518B NDR binary search - DUT L2XC - 1thread 1core 1rxq
100 | | [Documentation]
101 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
102 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
103 | | ... | using binary search start at 10GE linerate, step 10kpps.
104 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
105 | | ${framesize}= | Set Variable | 1518
106 | | ${min_rate}= | Set Variable | 10000
107 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
108 | | ${binary_min}= | Set Variable | ${min_rate}
109 | | ${binary_max}= | Set Variable | ${max_rate}
110 | | ${threshold}= | Set Variable | ${min_rate}
111 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
112 | | And   Add PCI devices to DUTs from 3-node single link topology
113 | | And   Add No Multi Seg to all DUTs
114 | | And   Apply startup configuration on all VPP DUTs
115 | | And   L2 xconnect initialized in a 3-node circular topology
116 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
117 | | ...                                       | ${binary_max} | 3-node-xconnect
118 | | ...                                       | ${min_rate} | ${max_rate}
119 | | ...                                       | ${threshold}
120
121 | TC04: 1518B PDR binary search - DUT L2XC - 1thread 1core 1rxq
122 | | [Documentation]
123 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
124 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
125 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
126 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
127 | | ${framesize}= | Set Variable | 1518
128 | | ${min_rate}= | Set Variable | 10000
129 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
130 | | ${binary_min}= | Set Variable | ${min_rate}
131 | | ${binary_max}= | Set Variable | ${max_rate}
132 | | ${threshold}= | Set Variable | ${min_rate}
133 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
134 | | And   Add PCI devices to DUTs from 3-node single link topology
135 | | And   Add No Multi Seg to all DUTs
136 | | And   Apply startup configuration on all VPP DUTs
137 | | And   L2 xconnect initialized in a 3-node circular topology
138 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
139 | | ...                                       | ${binary_max} | 3-node-xconnect
140 | | ...                                       | ${min_rate} | ${max_rate}
141 | | ...                                       | ${threshold}
142 | | ...                                       | ${glob_loss_acceptance}
143 | | ...                                       | ${glob_loss_acceptance_type}
144
145 | TC05: 9000B NDR binary search - DUT L2XC - 1thread 1core 1rxq
146 | | [Documentation]
147 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
148 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
149 | | ... | using binary search start at 10GE linerate, step 5kpps.
150 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
151 | | ${framesize}= | Set Variable | 9000
152 | | ${min_rate}= | Set Variable | 5000
153 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
154 | | ${binary_min}= | Set Variable | ${min_rate}
155 | | ${binary_max}= | Set Variable | ${max_rate}
156 | | ${threshold}= | Set Variable | ${min_rate}
157 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
158 | | And   Add PCI devices to DUTs from 3-node single link topology
159 | | And   Apply startup configuration on all VPP DUTs
160 | | And   L2 xconnect initialized in a 3-node circular topology
161 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
162 | | ...                                       | ${binary_max} | 3-node-xconnect
163 | | ...                                       | ${min_rate} | ${max_rate}
164 | | ...                                       | ${threshold}
165
166 | TC06: 9000B PDR binary search - DUT L2XC - 1thread 1core 1rxq
167 | | [Documentation]
168 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
169 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
170 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
171 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
172 | | ${framesize}= | Set Variable | 9000
173 | | ${min_rate}= | Set Variable | 5000
174 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
175 | | ${binary_min}= | Set Variable | ${min_rate}
176 | | ${binary_max}= | Set Variable | ${max_rate}
177 | | ${threshold}= | Set Variable | ${min_rate}
178 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
179 | | And   Add PCI devices to DUTs from 3-node single link topology
180 | | And   Apply startup configuration on all VPP DUTs
181 | | And   L2 xconnect initialized in a 3-node circular topology
182 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
183 | | ...                                       | ${binary_max} | 3-node-xconnect
184 | | ...                                       | ${min_rate} | ${max_rate}
185 | | ...                                       | ${threshold}
186 | | ...                                       | ${glob_loss_acceptance}
187 | | ...                                       | ${glob_loss_acceptance_type}
188
189 | TC07: 64B NDR binary search - DUT L2XC - 2threads 2cores 1rxq
190 | | [Documentation]
191 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
192 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
193 | | ... | using binary search start at 10GE linerate, step 100kpps.
194 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
195 | | ${framesize}= | Set Variable | 64
196 | | ${min_rate}= | Set Variable | 100000
197 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
198 | | ${binary_min}= | Set Variable | ${min_rate}
199 | | ${binary_max}= | Set Variable | ${max_rate}
200 | | ${threshold}= | Set Variable | ${min_rate}
201 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
202 | | And   Add PCI devices to DUTs from 3-node single link topology
203 | | And   Add No Multi Seg to all DUTs
204 | | And   Apply startup configuration on all VPP DUTs
205 | | And   L2 xconnect initialized in a 3-node circular topology
206 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
207 | | ...                                       | ${binary_max} | 3-node-xconnect
208 | | ...                                       | ${min_rate} | ${max_rate}
209 | | ...                                       | ${threshold}
210
211 | TC08: 64B PDR binary search - DUT L2XC - 2threads 2cores 1rxq
212 | | [Documentation]
213 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
214 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
215 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
216 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
217 | | ${framesize}= | Set Variable | 64
218 | | ${min_rate}= | Set Variable | 100000
219 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
220 | | ${binary_min}= | Set Variable | ${min_rate}
221 | | ${binary_max}= | Set Variable | ${max_rate}
222 | | ${threshold}= | Set Variable | ${min_rate}
223 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
224 | | And   Add PCI devices to DUTs from 3-node single link topology
225 | | And   Add No Multi Seg to all DUTs
226 | | And   Apply startup configuration on all VPP DUTs
227 | | And   L2 xconnect initialized in a 3-node circular topology
228 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
229 | | ...                                       | ${binary_max} | 3-node-xconnect
230 | | ...                                       | ${min_rate} | ${max_rate}
231 | | ...                                       | ${threshold}
232 | | ...                                       | ${glob_loss_acceptance}
233 | | ...                                       | ${glob_loss_acceptance_type}
234
235 | TC09: 1518B NDR binary search - DUT L2XC - 2threads 2cores 1rxq
236 | | [Documentation]
237 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
238 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
239 | | ... | using binary search start at 10GE linerate, step 10kpps.
240 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
241 | | ${framesize}= | Set Variable | 1518
242 | | ${min_rate}= | Set Variable | 10000
243 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
244 | | ${binary_min}= | Set Variable | ${min_rate}
245 | | ${binary_max}= | Set Variable | ${max_rate}
246 | | ${threshold}= | Set Variable | ${min_rate}
247 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
248 | | And   Add PCI devices to DUTs from 3-node single link topology
249 | | And   Add No Multi Seg to all DUTs
250 | | And   Apply startup configuration on all VPP DUTs
251 | | And   L2 xconnect initialized in a 3-node circular topology
252 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
253 | | ...                                       | ${binary_max} | 3-node-xconnect
254 | | ...                                       | ${min_rate} | ${max_rate}
255 | | ...                                       | ${threshold}
256
257 | TC10: 1518B PDR binary search - DUT L2XC - 2threads 2cores 1rxq
258 | | [Documentation]
259 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
260 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
261 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
262 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
263 | | ${framesize}= | Set Variable | 1518
264 | | ${min_rate}= | Set Variable | 10000
265 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
266 | | ${binary_min}= | Set Variable | ${min_rate}
267 | | ${binary_max}= | Set Variable | ${max_rate}
268 | | ${threshold}= | Set Variable | ${min_rate}
269 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
270 | | And   Add PCI devices to DUTs from 3-node single link topology
271 | | And   Add No Multi Seg to all DUTs
272 | | And   Apply startup configuration on all VPP DUTs
273 | | And   L2 xconnect initialized in a 3-node circular topology
274 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
275 | | ...                                       | ${binary_max} | 3-node-xconnect
276 | | ...                                       | ${min_rate} | ${max_rate}
277 | | ...                                       | ${threshold}
278 | | ...                                       | ${glob_loss_acceptance}
279 | | ...                                       | ${glob_loss_acceptance_type}
280
281 | TC11: 9000B NDR binary search - DUT L2XC - 2threads 2cores 1rxq
282 | | [Documentation]
283 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
284 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
285 | | ... | using binary search start at 10GE linerate, step 5kpps.
286 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
287 | | ${framesize}= | Set Variable | 9000
288 | | ${min_rate}= | Set Variable | 5000
289 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
290 | | ${binary_min}= | Set Variable | ${min_rate}
291 | | ${binary_max}= | Set Variable | ${max_rate}
292 | | ${threshold}= | Set Variable | ${min_rate}
293 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
294 | | And   Add PCI devices to DUTs from 3-node single link topology
295 | | And   Apply startup configuration on all VPP DUTs
296 | | And   L2 xconnect initialized in a 3-node circular topology
297 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
298 | | ...                                       | ${binary_max} | 3-node-xconnect
299 | | ...                                       | ${min_rate} | ${max_rate}
300 | | ...                                       | ${threshold}
301
302 | TC12: 9000B PDR binary search - DUT L2XC - 2threads 2cores 1rxq
303 | | [Documentation]
304 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
305 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
306 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
307 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
308 | | ${framesize}= | Set Variable | 9000
309 | | ${min_rate}= | Set Variable | 5000
310 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
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 rxqueues '1' without HTT to all DUTs
315 | | And   Add PCI devices to DUTs from 3-node single link topology
316 | | And   Apply startup configuration on all VPP DUTs
317 | | And   L2 xconnect initialized in a 3-node circular topology
318 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
319 | | ...                                       | ${binary_max} | 3-node-xconnect
320 | | ...                                       | ${min_rate} | ${max_rate}
321 | | ...                                       | ${threshold}
322 | | ...                                       | ${glob_loss_acceptance}
323 | | ...                                       | ${glob_loss_acceptance_type}
324
325 | TC13: 64B NDR binary search - DUT L2XC - 4threads 4cores 2rxq
326 | | [Documentation]
327 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
328 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
329 | | ... | using binary search start at 10GE linerate, step 100kpps.
330 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
331 | | ${framesize}= | Set Variable | 64
332 | | ${min_rate}= | Set Variable | 100000
333 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
334 | | ${binary_min}= | Set Variable | ${min_rate}
335 | | ${binary_max}= | Set Variable | ${max_rate}
336 | | ${threshold}= | Set Variable | ${min_rate}
337 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
338 | | And   Add PCI devices to DUTs from 3-node single link topology
339 | | And   Add No Multi Seg to all DUTs
340 | | And   Apply startup configuration on all VPP DUTs
341 | | And   L2 xconnect initialized in a 3-node circular topology
342 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
343 | | ...                                       | ${binary_max} | 3-node-xconnect
344 | | ...                                       | ${min_rate} | ${max_rate}
345 | | ...                                       | ${threshold}
346
347 | TC14: 64B PDR binary search - DUT L2XC - 4threads 4cores 2rxq
348 | | [Documentation]
349 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
350 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
351 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
352 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
353 | | ${framesize}= | Set Variable | 64
354 | | ${min_rate}= | Set Variable | 100000
355 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
356 | | ${binary_min}= | Set Variable | ${min_rate}
357 | | ${binary_max}= | Set Variable | ${max_rate}
358 | | ${threshold}= | Set Variable | ${min_rate}
359 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
360 | | And   Add PCI devices to DUTs from 3-node single link topology
361 | | And   Add No Multi Seg to all DUTs
362 | | And   Apply startup configuration on all VPP DUTs
363 | | And   L2 xconnect initialized in a 3-node circular topology
364 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
365 | | ...                                       | ${binary_max} | 3-node-xconnect
366 | | ...                                       | ${min_rate} | ${max_rate}
367 | | ...                                       | ${threshold}
368 | | ...                                       | ${glob_loss_acceptance}
369 | | ...                                       | ${glob_loss_acceptance_type}
370
371 | TC15: 1518B NDR binary search - DUT L2XC - 4threads 4cores 2rxq
372 | | [Documentation]
373 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
374 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
375 | | ... | using binary search start at 10GE linerate, step 10kpps.
376 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
377 | | ${framesize}= | Set Variable | 1518
378 | | ${min_rate}= | Set Variable | 10000
379 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
380 | | ${binary_min}= | Set Variable | ${min_rate}
381 | | ${binary_max}= | Set Variable | ${max_rate}
382 | | ${threshold}= | Set Variable | ${min_rate}
383 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
384 | | And   Add PCI devices to DUTs from 3-node single link topology
385 | | And   Add No Multi Seg to all DUTs
386 | | And   Apply startup configuration on all VPP DUTs
387 | | And   L2 xconnect initialized in a 3-node circular topology
388 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
389 | | ...                                       | ${binary_max} | 3-node-xconnect
390 | | ...                                       | ${min_rate} | ${max_rate}
391 | | ...                                       | ${threshold}
392
393 | TC16: 1518B PDR binary search - DUT L2XC - 4threads 4cores 2rxq
394 | | [Documentation]
395 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
396 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
397 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
398 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
399 | | ${framesize}= | Set Variable | 1518
400 | | ${min_rate}= | Set Variable | 10000
401 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
402 | | ${binary_min}= | Set Variable | ${min_rate}
403 | | ${binary_max}= | Set Variable | ${max_rate}
404 | | ${threshold}= | Set Variable | ${min_rate}
405 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
406 | | And   Add PCI devices to DUTs from 3-node single link topology
407 | | And   Add No Multi Seg to all DUTs
408 | | And   Apply startup configuration on all VPP DUTs
409 | | And   L2 xconnect initialized in a 3-node circular topology
410 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
411 | | ...                                       | ${binary_max} | 3-node-xconnect
412 | | ...                                       | ${min_rate} | ${max_rate}
413 | | ...                                       | ${threshold}
414 | | ...                                       | ${glob_loss_acceptance}
415 | | ...                                       | ${glob_loss_acceptance_type}
416
417 | TC17: 9000B NDR binary search - DUT L2XC - 4threads 4cores 2rxq
418 | | [Documentation]
419 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
420 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
421 | | ... | using binary search start at 10GE linerate, step 5kpps.
422 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
423 | | ${framesize}= | Set Variable | 9000
424 | | ${min_rate}= | Set Variable | 5000
425 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
426 | | ${binary_min}= | Set Variable | ${min_rate}
427 | | ${binary_max}= | Set Variable | ${max_rate}
428 | | ${threshold}= | Set Variable | ${min_rate}
429 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
430 | | And   Add PCI devices to DUTs from 3-node single link topology
431 | | And   Apply startup configuration on all VPP DUTs
432 | | And   L2 xconnect initialized in a 3-node circular topology
433 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
434 | | ...                                       | ${binary_max} | 3-node-xconnect
435 | | ...                                       | ${min_rate} | ${max_rate}
436 | | ...                                       | ${threshold}
437
438 | TC18: 9000B PDR binary search - DUT L2XC - 4threads 4cores 2rxq
439 | | [Documentation]
440 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
441 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
442 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
443 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
444 | | ${framesize}= | Set Variable | 9000
445 | | ${min_rate}= | Set Variable | 5000
446 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
447 | | ${binary_min}= | Set Variable | ${min_rate}
448 | | ${binary_max}= | Set Variable | ${max_rate}
449 | | ${threshold}= | Set Variable | ${min_rate}
450 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
451 | | And   Add PCI devices to DUTs from 3-node single link topology
452 | | And   Apply startup configuration on all VPP DUTs
453 | | And   L2 xconnect initialized in a 3-node circular topology
454 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
455 | | ...                                       | ${binary_max} | 3-node-xconnect
456 | | ...                                       | ${min_rate} | ${max_rate}
457 | | ...                                       | ${threshold}
458 | | ...                                       | ${glob_loss_acceptance}
459 | | ...                                       | ${glob_loss_acceptance_type}
460
461 | TC19: IMIX_v4_1 NDR binary search - DUT L2XC - 1thread 1core 1rxq
462 | | [Documentation]
463 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
464 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame size
465 | | ... | using binary search start at 10GE linerate, step 100kpps.
466 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
467 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
468 | | ${framesize}= | Set Variable | IMIX_v4_1
469 | | ${min_rate}= | Set Variable | 100000
470 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1}
471 | | ${binary_min}= | Set Variable | ${min_rate}
472 | | ${binary_max}= | Set Variable | ${max_rate}
473 | | ${threshold}= | Set Variable | ${min_rate}
474 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
475 | | And   Add all PCI devices to all DUTs
476 | | And   Add No Multi Seg to all DUTs
477 | | And   Apply startup configuration on all VPP DUTs
478 | | And   L2 xconnect initialized in a 3-node circular topology
479 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
480 | | ...                                       | ${binary_max} | 3-node-xconnect
481 | | ...                                       | ${min_rate} | ${max_rate}
482 | | ...                                       | ${threshold}
483
484 | TC20: IMIX_v4_1 PDR binary search - DUT L2XC - 1thread 1core 1rxq
485 | | [Documentation]
486 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
487 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frame size
488 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
489 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
490 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
491 | | ${framesize}= | Set Variable | IMIX_v4_1
492 | | ${min_rate}= | Set Variable | 100000
493 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1}
494 | | ${binary_min}= | Set Variable | ${min_rate}
495 | | ${binary_max}= | Set Variable | ${max_rate}
496 | | ${threshold}= | Set Variable | ${min_rate}
497 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
498 | | And   Add all PCI devices to all DUTs
499 | | And   Add No Multi Seg to all DUTs
500 | | And   Apply startup configuration on all VPP DUTs
501 | | And   L2 xconnect initialized in a 3-node circular topology
502 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
503 | | ...                                       | ${binary_max} | 3-node-xconnect
504 | | ...                                       | ${min_rate} | ${max_rate}
505 | | ...                                       | ${threshold}
506 | | ...                                       | ${glob_loss_acceptance}
507 | | ...                                       | ${glob_loss_acceptance_type}