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