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