Suite: performance.
[csit.git] / tests / suites / performance / 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 Keyword | Remove startup configuration of VPP from all DUTs
25 | Documentation | *RFC2544: Pkt throughput L2XC test cases*
26 | ...
27 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
28 | ... | with single links between nodes.
29 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 switching of IPv4.
30 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 cross-
31 | ... | connect. DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel.
32 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
33 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
34 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
35 | ... | of packets transmitted. NDR and PDR are discovered for different
36 | ... | Ethernet L2 frame sizes using either binary search or linear search
37 | ... | algorithms with configured starting rate and final step that determines
38 | ... | throughput measurement resolution. Test packets are generated by TG on
39 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
40 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
41 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and static
42 | ... | payload. MAC addresses are matching MAC addresses of the TG node
43 | ... | interfaces.
44 | ... | *[Ref] Applicable standard specifications:* RFC2544.
45
46 *** Test Cases ***
47 | TC01: 64B NDR binary search - DUT L2XC - 1thread 1core 1rxq
48 | | [Documentation]
49 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
50 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
51 | | ... | using binary search start at 10GE linerate, step 100kpps.
52 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
53 | | ${framesize}= | Set Variable | 64
54 | | ${min_rate}= | Set Variable | 100000
55 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
56 | | ${binary_min}= | Set Variable | ${min_rate}
57 | | ${binary_max}= | Set Variable | ${max_rate}
58 | | ${threshold}= | Set Variable | ${min_rate}
59 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
60 | | And   Add all PCI devices to all DUTs
61 | | And   Add No Multi Seg to all DUTs
62 | | And   Apply startup configuration on all VPP DUTs
63 | | And   L2 xconnect initialized in a 3-node circular topology
64 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
65 | | ...                                       | ${binary_max} | 3-node-xconnect
66 | | ...                                       | ${min_rate} | ${max_rate}
67 | | ...                                       | ${threshold}
68
69 | TC02: 64B PDR binary search - DUT L2XC - 1thread 1core 1rxq
70 | | [Documentation]
71 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
72 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
73 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
74 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
75 | | ${framesize}= | Set Variable | 64
76 | | ${min_rate}= | Set Variable | 100000
77 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
78 | | ${binary_min}= | Set Variable | ${min_rate}
79 | | ${binary_max}= | Set Variable | ${max_rate}
80 | | ${threshold}= | Set Variable | ${min_rate}
81 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
82 | | And   Add all PCI devices to all DUTs
83 | | And   Add No Multi Seg to all DUTs
84 | | And   Apply startup configuration on all VPP DUTs
85 | | And   L2 xconnect initialized in a 3-node circular topology
86 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
87 | | ...                                       | ${binary_max} | 3-node-xconnect
88 | | ...                                       | ${min_rate} | ${max_rate}
89 | | ...                                       | ${threshold}
90 | | ...                                       | ${glob_loss_acceptance}
91 | | ...                                       | ${glob_loss_acceptance_type}
92
93 | TC03: 1518B NDR binary search - DUT L2XC - 1thread 1core 1rxq
94 | | [Documentation]
95 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
96 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
97 | | ... | using binary search start at 10GE linerate, step 10kpps.
98 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
99 | | ${framesize}= | Set Variable | 1518
100 | | ${min_rate}= | Set Variable | 10000
101 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
102 | | ${binary_min}= | Set Variable | ${min_rate}
103 | | ${binary_max}= | Set Variable | ${max_rate}
104 | | ${threshold}= | Set Variable | ${min_rate}
105 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
106 | | And   Add all PCI devices to all DUTs
107 | | And   Add No Multi Seg to all DUTs
108 | | And   Apply startup configuration on all VPP DUTs
109 | | And   L2 xconnect initialized in a 3-node circular topology
110 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
111 | | ...                                       | ${binary_max} | 3-node-xconnect
112 | | ...                                       | ${min_rate} | ${max_rate}
113 | | ...                                       | ${threshold}
114
115 | TC04: 1518B PDR binary search - DUT L2XC - 1thread 1core 1rxq
116 | | [Documentation]
117 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
118 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
119 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
120 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
121 | | ${framesize}= | Set Variable | 1518
122 | | ${min_rate}= | Set Variable | 10000
123 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
124 | | ${binary_min}= | Set Variable | ${min_rate}
125 | | ${binary_max}= | Set Variable | ${max_rate}
126 | | ${threshold}= | Set Variable | ${min_rate}
127 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
128 | | And   Add all PCI devices to all DUTs
129 | | And   Add No Multi Seg to all DUTs
130 | | And   Apply startup configuration on all VPP DUTs
131 | | And   L2 xconnect initialized in a 3-node circular topology
132 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
133 | | ...                                       | ${binary_max} | 3-node-xconnect
134 | | ...                                       | ${min_rate} | ${max_rate}
135 | | ...                                       | ${threshold}
136 | | ...                                       | ${glob_loss_acceptance}
137 | | ...                                       | ${glob_loss_acceptance_type}
138
139 | TC05: 9000B NDR binary search - DUT L2XC - 1thread 1core 1rxq
140 | | [Documentation]
141 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
142 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
143 | | ... | using binary search start at 10GE linerate, step 5kpps.
144 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
145 | | ${framesize}= | Set Variable | 9000
146 | | ${min_rate}= | Set Variable | 5000
147 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
148 | | ${binary_min}= | Set Variable | ${min_rate}
149 | | ${binary_max}= | Set Variable | ${max_rate}
150 | | ${threshold}= | Set Variable | ${min_rate}
151 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
152 | | And   Add all PCI devices to all DUTs
153 | | And   Apply startup configuration on all VPP DUTs
154 | | And   L2 xconnect initialized in a 3-node circular topology
155 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
156 | | ...                                       | ${binary_max} | 3-node-xconnect
157 | | ...                                       | ${min_rate} | ${max_rate}
158 | | ...                                       | ${threshold}
159
160 | TC06: 9000B PDR binary search - DUT L2XC - 1thread 1core 1rxq
161 | | [Documentation]
162 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \
163 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
164 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
165 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
166 | | ${framesize}= | Set Variable | 9000
167 | | ${min_rate}= | Set Variable | 5000
168 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
169 | | ${binary_min}= | Set Variable | ${min_rate}
170 | | ${binary_max}= | Set Variable | ${max_rate}
171 | | ${threshold}= | Set Variable | ${min_rate}
172 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
173 | | And   Add all PCI devices to all DUTs
174 | | And   Apply startup configuration on all VPP DUTs
175 | | And   L2 xconnect initialized in a 3-node circular topology
176 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
177 | | ...                                       | ${binary_max} | 3-node-xconnect
178 | | ...                                       | ${min_rate} | ${max_rate}
179 | | ...                                       | ${threshold}
180 | | ...                                       | ${glob_loss_acceptance}
181 | | ...                                       | ${glob_loss_acceptance_type}
182
183 | TC07: 64B NDR binary search - DUT L2XC - 2threads 2cores 1rxq
184 | | [Documentation]
185 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
186 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
187 | | ... | using binary search start at 10GE linerate, step 100kpps.
188 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
189 | | ${framesize}= | Set Variable | 64
190 | | ${min_rate}= | Set Variable | 100000
191 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
192 | | ${binary_min}= | Set Variable | ${min_rate}
193 | | ${binary_max}= | Set Variable | ${max_rate}
194 | | ${threshold}= | Set Variable | ${min_rate}
195 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
196 | | And   Add all PCI devices to all DUTs
197 | | And   Add No Multi Seg to all DUTs
198 | | And   Apply startup configuration on all VPP DUTs
199 | | And   L2 xconnect initialized in a 3-node circular topology
200 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
201 | | ...                                       | ${binary_max} | 3-node-xconnect
202 | | ...                                       | ${min_rate} | ${max_rate}
203 | | ...                                       | ${threshold}
204
205 | TC08: 64B PDR binary search - DUT L2XC - 2threads 2cores 1rxq
206 | | [Documentation]
207 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
208 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
209 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
210 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
211 | | ${framesize}= | Set Variable | 64
212 | | ${min_rate}= | Set Variable | 100000
213 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
214 | | ${binary_min}= | Set Variable | ${min_rate}
215 | | ${binary_max}= | Set Variable | ${max_rate}
216 | | ${threshold}= | Set Variable | ${min_rate}
217 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
218 | | And   Add all PCI devices to all DUTs
219 | | And   Add No Multi Seg to all DUTs
220 | | And   Apply startup configuration on all VPP DUTs
221 | | And   L2 xconnect initialized in a 3-node circular topology
222 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
223 | | ...                                       | ${binary_max} | 3-node-xconnect
224 | | ...                                       | ${min_rate} | ${max_rate}
225 | | ...                                       | ${threshold}
226 | | ...                                       | ${glob_loss_acceptance}
227 | | ...                                       | ${glob_loss_acceptance_type}
228
229 | TC09: 1518B NDR binary search - DUT L2XC - 2threads 2cores 1rxq
230 | | [Documentation]
231 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
232 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
233 | | ... | using binary search start at 10GE linerate, step 10kpps.
234 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
235 | | ${framesize}= | Set Variable | 1518
236 | | ${min_rate}= | Set Variable | 10000
237 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
238 | | ${binary_min}= | Set Variable | ${min_rate}
239 | | ${binary_max}= | Set Variable | ${max_rate}
240 | | ${threshold}= | Set Variable | ${min_rate}
241 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
242 | | And   Add all PCI devices to all DUTs
243 | | And   Add No Multi Seg to all DUTs
244 | | And   Apply startup configuration on all VPP DUTs
245 | | And   L2 xconnect initialized in a 3-node circular topology
246 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
247 | | ...                                       | ${binary_max} | 3-node-xconnect
248 | | ...                                       | ${min_rate} | ${max_rate}
249 | | ...                                       | ${threshold}
250
251 | TC10: 1518B PDR binary search - DUT L2XC - 2threads 2cores 1rxq
252 | | [Documentation]
253 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
254 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
255 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
256 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
257 | | ${framesize}= | Set Variable | 1518
258 | | ${min_rate}= | Set Variable | 10000
259 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
260 | | ${binary_min}= | Set Variable | ${min_rate}
261 | | ${binary_max}= | Set Variable | ${max_rate}
262 | | ${threshold}= | Set Variable | ${min_rate}
263 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
264 | | And   Add all PCI devices to all DUTs
265 | | And   Add No Multi Seg to all DUTs
266 | | And   Apply startup configuration on all VPP DUTs
267 | | And   L2 xconnect initialized in a 3-node circular topology
268 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
269 | | ...                                       | ${binary_max} | 3-node-xconnect
270 | | ...                                       | ${min_rate} | ${max_rate}
271 | | ...                                       | ${threshold}
272 | | ...                                       | ${glob_loss_acceptance}
273 | | ...                                       | ${glob_loss_acceptance_type}
274
275 | TC11: 9000B NDR binary search - DUT L2XC - 2threads 2cores 1rxq
276 | | [Documentation]
277 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
278 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
279 | | ... | using binary search start at 10GE linerate, step 5kpps.
280 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
281 | | ${framesize}= | Set Variable | 9000
282 | | ${min_rate}= | Set Variable | 5000
283 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
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' without HTT to all DUTs
288 | | And   Add all PCI devices to all DUTs
289 | | And   Apply startup configuration on all VPP DUTs
290 | | And   L2 xconnect initialized in a 3-node circular topology
291 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
292 | | ...                                       | ${binary_max} | 3-node-xconnect
293 | | ...                                       | ${min_rate} | ${max_rate}
294 | | ...                                       | ${threshold}
295
296 | TC12: 9000B PDR binary search - DUT L2XC - 2threads 2cores 1rxq
297 | | [Documentation]
298 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, \
299 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
300 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
301 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
302 | | ${framesize}= | Set Variable | 9000
303 | | ${min_rate}= | Set Variable | 5000
304 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
305 | | ${binary_min}= | Set Variable | ${min_rate}
306 | | ${binary_max}= | Set Variable | ${max_rate}
307 | | ${threshold}= | Set Variable | ${min_rate}
308 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
309 | | And   Add all PCI devices to all DUTs
310 | | And   Apply startup configuration on all VPP DUTs
311 | | And   L2 xconnect initialized in a 3-node circular topology
312 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
313 | | ...                                       | ${binary_max} | 3-node-xconnect
314 | | ...                                       | ${min_rate} | ${max_rate}
315 | | ...                                       | ${threshold}
316 | | ...                                       | ${glob_loss_acceptance}
317 | | ...                                       | ${glob_loss_acceptance_type}
318
319 | TC13: 64B NDR binary search - DUT L2XC - 4threads 4cores 2rxq
320 | | [Documentation]
321 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
322 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
323 | | ... | using binary search start at 10GE linerate, step 100kpps.
324 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
325 | | ${framesize}= | Set Variable | 64
326 | | ${min_rate}= | Set Variable | 100000
327 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
328 | | ${binary_min}= | Set Variable | ${min_rate}
329 | | ${binary_max}= | Set Variable | ${max_rate}
330 | | ${threshold}= | Set Variable | ${min_rate}
331 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
332 | | And   Add all PCI devices to all DUTs
333 | | And   Add No Multi Seg to all DUTs
334 | | And   Apply startup configuration on all VPP DUTs
335 | | And   L2 xconnect initialized in a 3-node circular topology
336 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
337 | | ...                                       | ${binary_max} | 3-node-xconnect
338 | | ...                                       | ${min_rate} | ${max_rate}
339 | | ...                                       | ${threshold}
340
341 | TC14: 64B PDR binary search - DUT L2XC - 4threads 4cores 2rxq
342 | | [Documentation]
343 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
344 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
345 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
346 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
347 | | ${framesize}= | Set Variable | 64
348 | | ${min_rate}= | Set Variable | 100000
349 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B}
350 | | ${binary_min}= | Set Variable | ${min_rate}
351 | | ${binary_max}= | Set Variable | ${max_rate}
352 | | ${threshold}= | Set Variable | ${min_rate}
353 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
354 | | And   Add all PCI devices to all DUTs
355 | | And   Add No Multi Seg to all DUTs
356 | | And   Apply startup configuration on all VPP DUTs
357 | | And   L2 xconnect initialized in a 3-node circular topology
358 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
359 | | ...                                       | ${binary_max} | 3-node-xconnect
360 | | ...                                       | ${min_rate} | ${max_rate}
361 | | ...                                       | ${threshold}
362 | | ...                                       | ${glob_loss_acceptance}
363 | | ...                                       | ${glob_loss_acceptance_type}
364
365 | TC15: 1518B NDR binary search - DUT L2XC - 4threads 4cores 2rxq
366 | | [Documentation]
367 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
368 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
369 | | ... | using binary search start at 10GE linerate, step 10kpps.
370 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
371 | | ${framesize}= | Set Variable | 1518
372 | | ${min_rate}= | Set Variable | 10000
373 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
374 | | ${binary_min}= | Set Variable | ${min_rate}
375 | | ${binary_max}= | Set Variable | ${max_rate}
376 | | ${threshold}= | Set Variable | ${min_rate}
377 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
378 | | And   Add all PCI devices to all DUTs
379 | | And   Add No Multi Seg to all DUTs
380 | | And   Apply startup configuration on all VPP DUTs
381 | | And   L2 xconnect initialized in a 3-node circular topology
382 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
383 | | ...                                       | ${binary_max} | 3-node-xconnect
384 | | ...                                       | ${min_rate} | ${max_rate}
385 | | ...                                       | ${threshold}
386
387 | TC16: 1518B PDR binary search - DUT L2XC - 4threads 4cores 2rxq
388 | | [Documentation]
389 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
390 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
391 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
392 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
393 | | ${framesize}= | Set Variable | 1518
394 | | ${min_rate}= | Set Variable | 10000
395 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
396 | | ${binary_min}= | Set Variable | ${min_rate}
397 | | ${binary_max}= | Set Variable | ${max_rate}
398 | | ${threshold}= | Set Variable | ${min_rate}
399 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
400 | | And   Add all PCI devices to all DUTs
401 | | And   Add No Multi Seg to all DUTs
402 | | And   Apply startup configuration on all VPP DUTs
403 | | And   L2 xconnect initialized in a 3-node circular topology
404 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
405 | | ...                                       | ${binary_max} | 3-node-xconnect
406 | | ...                                       | ${min_rate} | ${max_rate}
407 | | ...                                       | ${threshold}
408 | | ...                                       | ${glob_loss_acceptance}
409 | | ...                                       | ${glob_loss_acceptance_type}
410
411 | TC17: 9000B NDR binary search - DUT L2XC - 4threads 4cores 2rxq
412 | | [Documentation]
413 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
414 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
415 | | ... | using binary search start at 10GE linerate, step 5kpps.
416 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
417 | | ${framesize}= | Set Variable | 9000
418 | | ${min_rate}= | Set Variable | 5000
419 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
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' without HTT to all DUTs
424 | | And   Add all PCI devices to all DUTs
425 | | And   Apply startup configuration on all VPP DUTs
426 | | And   L2 xconnect initialized in a 3-node circular topology
427 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
428 | | ...                                       | ${binary_max} | 3-node-xconnect
429 | | ...                                       | ${min_rate} | ${max_rate}
430 | | ...                                       | ${threshold}
431
432 | TC18: 9000B PDR binary search - DUT L2XC - 4threads 4cores 2rxq
433 | | [Documentation]
434 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, \
435 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
436 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
437 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
438 | | ${framesize}= | Set Variable | 9000
439 | | ${min_rate}= | Set Variable | 5000
440 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
441 | | ${binary_min}= | Set Variable | ${min_rate}
442 | | ${binary_max}= | Set Variable | ${max_rate}
443 | | ${threshold}= | Set Variable | ${min_rate}
444 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
445 | | And   Add all PCI devices to all DUTs
446 | | And   Apply startup configuration on all VPP DUTs
447 | | And   L2 xconnect initialized in a 3-node circular topology
448 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
449 | | ...                                       | ${binary_max} | 3-node-xconnect
450 | | ...                                       | ${min_rate} | ${max_rate}
451 | | ...                                       | ${threshold}
452 | | ...                                       | ${glob_loss_acceptance}
453 | | ...                                       | ${glob_loss_acceptance_type}