HC Test: Fix log archiving in honeycomb tests
[csit.git] / tests / perf / 10ge2p1x520-ethip6-ip6base-iacldstbase-ndrdisc.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 | PERFTEST_ENCAP
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 *** Variables ***
53 #X520-DA2 bandwidth limit
54 | ${s_limit} | ${10000000000}
55
56 *** Test Cases ***
57 | TC01: 78B NDR binary search - DUT IPv6 iAcl whitelist - 1thread 1core 1rxq
58 | | [Documentation]
59 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
60 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
61 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
62 | | ... | step 100kpps.
63 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
64 | | ${framesize}= | Set Variable | ${78}
65 | | ${min_rate}= | Set Variable | ${100000}
66 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
67 | | ${binary_min}= | Set Variable | ${min_rate}
68 | | ${binary_max}= | Set Variable | ${max_rate}
69 | | ${threshold}= | Set Variable | ${min_rate}
70 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
71 | | And   Add PCI devices to DUTs from 3-node single link topology
72 | | And   Add No Multi Seg to all DUTs
73 | | And   Apply startup configuration on all VPP DUTs
74 | | And   IPv6 forwarding initialized in a 3-node circular topology
75 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
76 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
77 | | ...                                       | ${binary_max} | 3-node-IPv6
78 | | ...                                       | ${min_rate} | ${max_rate}
79 | | ...                                       | ${threshold}
80
81 | TC02: 78B PDR binary search - DUT IPv6 iAcl whitelist - 1thread 1core 1rxq
82 | | [Documentation]
83 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
84 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
85 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
86 | | ... | step 100kpps, LT=0.5%.
87 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
88 | | ${framesize}= | Set Variable | ${78}
89 | | ${min_rate}= | Set Variable | ${100000}
90 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
91 | | ${binary_min}= | Set Variable | ${min_rate}
92 | | ${binary_max}= | Set Variable | ${max_rate}
93 | | ${threshold}= | Set Variable | ${min_rate}
94 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
95 | | And   Add PCI devices to DUTs from 3-node single link topology
96 | | And   Add No Multi Seg to all DUTs
97 | | And   Apply startup configuration on all VPP DUTs
98 | | And   IPv6 forwarding initialized in a 3-node circular topology
99 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
100 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
101 | | ...                                       | ${binary_max} | 3-node-IPv6
102 | | ...                                       | ${min_rate} | ${max_rate}
103 | | ...                                       | ${threshold}
104 | | ...                                       | ${glob_loss_acceptance}
105 | | ...                                       | ${glob_loss_acceptance_type}
106
107 | TC03: 1518B NDR binary search - DUT IPv6 iAcl whitelist - 1thread 1core 1rxq
108 | | [Documentation]
109 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
110 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
111 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
112 | | ... | step 10kpps.
113 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
114 | | ${framesize}= | Set Variable | ${1518}
115 | | ${min_rate}= | Set Variable | ${10000}
116 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
117 | | ${binary_min}= | Set Variable | ${min_rate}
118 | | ${binary_max}= | Set Variable | ${max_rate}
119 | | ${threshold}= | Set Variable | ${min_rate}
120 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
121 | | And   Add PCI devices to DUTs from 3-node single link topology
122 | | And   Add No Multi Seg to all DUTs
123 | | And   Apply startup configuration on all VPP DUTs
124 | | And   IPv6 forwarding initialized in a 3-node circular topology
125 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
126 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
127 | | ...                                       | ${binary_max} | 3-node-IPv6
128 | | ...                                       | ${min_rate} | ${max_rate}
129 | | ...                                       | ${threshold}
130
131 | TC04: 1518B PDR binary search - DUT IPv6 iAcl whitelist - 1thread 1core 1rxq
132 | | [Documentation]
133 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
134 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
135 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
136 | | ... | step 10kpps, LT=0.5%.
137 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
138 | | ${framesize}= | Set Variable | ${1518}
139 | | ${min_rate}= | Set Variable | ${10000}
140 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
141 | | ${binary_min}= | Set Variable | ${min_rate}
142 | | ${binary_max}= | Set Variable | ${max_rate}
143 | | ${threshold}= | Set Variable | ${min_rate}
144 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
145 | | And   Add PCI devices to DUTs from 3-node single link topology
146 | | And   Add No Multi Seg to all DUTs
147 | | And   Apply startup configuration on all VPP DUTs
148 | | And   IPv6 forwarding initialized in a 3-node circular topology
149 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
150 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
151 | | ...                                       | ${binary_max} | 3-node-IPv6
152 | | ...                                       | ${min_rate} | ${max_rate}
153 | | ...                                       | ${threshold}
154 | | ...                                       | ${glob_loss_acceptance}
155 | | ...                                       | ${glob_loss_acceptance_type}
156
157 | TC05: 9000B NDR binary search - DUT IPv6 iAcl whitelist - 1thread 1core 1rxq
158 | | [Documentation]
159 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
160 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
161 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
162 | | ... | step 5kpps.
163 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
164 | | ${framesize}= | Set Variable | ${9000}
165 | | ${min_rate}= | Set Variable | ${10000}
166 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
167 | | ${binary_min}= | Set Variable | ${min_rate}
168 | | ${binary_max}= | Set Variable | ${max_rate}
169 | | ${threshold}= | Set Variable | ${min_rate}
170 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
171 | | And   Add PCI devices to DUTs from 3-node single link topology
172 | | And   Apply startup configuration on all VPP DUTs
173 | | And   IPv6 forwarding initialized in a 3-node circular topology
174 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
175 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
176 | | ...                                       | ${binary_max} | 3-node-IPv6
177 | | ...                                       | ${min_rate} | ${max_rate}
178 | | ...                                       | ${threshold}
179
180 | TC06: 9000B PDR binary search - DUT IPv6 iAcl whitelist - 1thread 1core 1rxq
181 | | [Documentation]
182 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
183 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
184 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
185 | | ... | step 5kpps, LT=0.5%.
186 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
187 | | ${framesize}= | Set Variable | ${9000}
188 | | ${min_rate}= | Set Variable | ${10000}
189 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
190 | | ${binary_min}= | Set Variable | ${min_rate}
191 | | ${binary_max}= | Set Variable | ${max_rate}
192 | | ${threshold}= | Set Variable | ${min_rate}
193 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
194 | | And   Add PCI devices to DUTs from 3-node single link topology
195 | | And   Apply startup configuration on all VPP DUTs
196 | | And   IPv6 forwarding initialized in a 3-node circular topology
197 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
198 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
199 | | ...                                       | ${binary_max} | 3-node-IPv6
200 | | ...                                       | ${min_rate} | ${max_rate}
201 | | ...                                       | ${threshold}
202 | | ...                                       | ${glob_loss_acceptance}
203 | | ...                                       | ${glob_loss_acceptance_type}
204
205 | TC07: 78B NDR binary search - DUT IPv6 iAcl whitelist - 2threads 2cores 1rxq
206 | | [Documentation]
207 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
208 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
209 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
210 | | ... | step 100kpps.
211 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
212 | | ${framesize}= | Set Variable | ${78}
213 | | ${min_rate}= | Set Variable | ${100000}
214 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
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' in 3-node single-link topo
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   IPv6 forwarding initialized in a 3-node circular topology
223 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
224 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
225 | | ...                                       | ${binary_max} | 3-node-IPv6
226 | | ...                                       | ${min_rate} | ${max_rate}
227 | | ...                                       | ${threshold}
228
229 | TC08: 78B PDR binary search - DUT IPv6 iAcl whitelist - 2threads 2cores 1rxq
230 | | [Documentation]
231 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
232 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
233 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
234 | | ... | step 100kpps, LT=0.5%.
235 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
236 | | ${framesize}= | Set Variable | ${78}
237 | | ${min_rate}= | Set Variable | ${100000}
238 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
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' in 3-node single-link topo
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   IPv6 forwarding initialized in a 3-node circular topology
247 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
248 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
249 | | ...                                       | ${binary_max} | 3-node-IPv6
250 | | ...                                       | ${min_rate} | ${max_rate}
251 | | ...                                       | ${threshold}
252 | | ...                                       | ${glob_loss_acceptance}
253 | | ...                                       | ${glob_loss_acceptance_type}
254
255 | TC09: 1518B NDR binary search - DUT IPv6 iAcl whitelist - 2threads 2cores 1rxq
256 | | [Documentation]
257 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
258 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
259 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
260 | | ... | step 10kpps.
261 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
262 | | ${framesize}= | Set Variable | ${1518}
263 | | ${min_rate}= | Set Variable | ${10000}
264 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
265 | | ${binary_min}= | Set Variable | ${min_rate}
266 | | ${binary_max}= | Set Variable | ${max_rate}
267 | | ${threshold}= | Set Variable | ${min_rate}
268 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
269 | | And   Add PCI devices to DUTs from 3-node single link topology
270 | | And   Add No Multi Seg to all DUTs
271 | | And   Apply startup configuration on all VPP DUTs
272 | | And   IPv6 forwarding initialized in a 3-node circular topology
273 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
274 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
275 | | ...                                       | ${binary_max} | 3-node-IPv6
276 | | ...                                       | ${min_rate} | ${max_rate}
277 | | ...                                       | ${threshold}
278
279 | TC10: 1518B PDR binary search - DUT IPv6 iAcl whitelist - 2threads 2cores 1rxq
280 | | [Documentation]
281 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
282 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
283 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
284 | | ... | step 10kpps, LT=0.5%.
285 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
286 | | ${framesize}= | Set Variable | ${1518}
287 | | ${min_rate}= | Set Variable | ${10000}
288 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
289 | | ${binary_min}= | Set Variable | ${min_rate}
290 | | ${binary_max}= | Set Variable | ${max_rate}
291 | | ${threshold}= | Set Variable | ${min_rate}
292 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
293 | | And   Add PCI devices to DUTs from 3-node single link topology
294 | | And   Add No Multi Seg to all DUTs
295 | | And   Apply startup configuration on all VPP DUTs
296 | | And   IPv6 forwarding initialized in a 3-node circular topology
297 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
298 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
299 | | ...                                       | ${binary_max} | 3-node-IPv6
300 | | ...                                       | ${min_rate} | ${max_rate}
301 | | ...                                       | ${threshold}
302 | | ...                                       | ${glob_loss_acceptance}
303 | | ...                                       | ${glob_loss_acceptance_type}
304
305 | TC11: 9000B NDR binary search - DUT IPv6 iAcl whitelist - 2threads 2cores 1rxq
306 | | [Documentation]
307 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
308 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
309 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
310 | | ... | step 5kpps.
311 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
312 | | ${framesize}= | Set Variable | ${9000}
313 | | ${min_rate}= | Set Variable | ${10000}
314 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
315 | | ${binary_min}= | Set Variable | ${min_rate}
316 | | ${binary_max}= | Set Variable | ${max_rate}
317 | | ${threshold}= | Set Variable | ${min_rate}
318 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
319 | | And   Add PCI devices to DUTs from 3-node single link topology
320 | | And   Apply startup configuration on all VPP DUTs
321 | | And   IPv6 forwarding initialized in a 3-node circular topology
322 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
323 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
324 | | ...                                       | ${binary_max} | 3-node-IPv6
325 | | ...                                       | ${min_rate} | ${max_rate}
326 | | ...                                       | ${threshold}
327
328 | TC12: 9000B PDR binary search - DUT IPv6 iAcl whitelist - 2threads 2cores 1rxq
329 | | [Documentation]
330 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
331 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
332 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
333 | | ... | step 5kpps, LT=0.5%.
334 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
335 | | ${framesize}= | Set Variable | ${9000}
336 | | ${min_rate}= | Set Variable | ${10000}
337 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
338 | | ${binary_min}= | Set Variable | ${min_rate}
339 | | ${binary_max}= | Set Variable | ${max_rate}
340 | | ${threshold}= | Set Variable | ${min_rate}
341 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
342 | | And   Add PCI devices to DUTs from 3-node single link topology
343 | | And   Apply startup configuration on all VPP DUTs
344 | | And   IPv6 forwarding initialized in a 3-node circular topology
345 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
346 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
347 | | ...                                       | ${binary_max} | 3-node-IPv6
348 | | ...                                       | ${min_rate} | ${max_rate}
349 | | ...                                       | ${threshold}
350 | | ...                                       | ${glob_loss_acceptance}
351 | | ...                                       | ${glob_loss_acceptance_type}
352
353 | TC13: 78B NDR binary search - DUT IPv6 iAcl whitelist - 4threads 4cores 2rxq
354 | | [Documentation]
355 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
356 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
357 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
358 | | ... | step 100kpps.
359 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
360 | | ${framesize}= | Set Variable | ${78}
361 | | ${min_rate}= | Set Variable | ${100000}
362 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
363 | | ${binary_min}= | Set Variable | ${min_rate}
364 | | ${binary_max}= | Set Variable | ${max_rate}
365 | | ${threshold}= | Set Variable | ${min_rate}
366 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
367 | | And   Add PCI devices to DUTs from 3-node single link topology
368 | | And   Add No Multi Seg to all DUTs
369 | | And   Apply startup configuration on all VPP DUTs
370 | | And   IPv6 forwarding initialized in a 3-node circular topology
371 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
372 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
373 | | ...                                       | ${binary_max} | 3-node-IPv6
374 | | ...                                       | ${min_rate} | ${max_rate}
375 | | ...                                       | ${threshold}
376
377 | TC14: 78B PDR binary search - DUT IPv6 iAcl whitelist - 4threads 4cores 2rxq
378 | | [Documentation]
379 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
380 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
381 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
382 | | ... | step 100kpps, LT=0.5%.
383 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
384 | | ${framesize}= | Set Variable | ${78}
385 | | ${min_rate}= | Set Variable | ${100000}
386 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
387 | | ${binary_min}= | Set Variable | ${min_rate}
388 | | ${binary_max}= | Set Variable | ${max_rate}
389 | | ${threshold}= | Set Variable | ${min_rate}
390 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
391 | | And   Add PCI devices to DUTs from 3-node single link topology
392 | | And   Add No Multi Seg to all DUTs
393 | | And   Apply startup configuration on all VPP DUTs
394 | | And   IPv6 forwarding initialized in a 3-node circular topology
395 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
396 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
397 | | ...                                       | ${binary_max} | 3-node-IPv6
398 | | ...                                       | ${min_rate} | ${max_rate}
399 | | ...                                       | ${threshold}
400 | | ...                                       | ${glob_loss_acceptance}
401 | | ...                                       | ${glob_loss_acceptance_type}
402
403 | TC15: 1518B NDR binary search - DUT IPv6 iAcl whitelist - 4threads 4cores 2rxq
404 | | [Documentation]
405 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
406 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
407 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
408 | | ... | step 10kpps.
409 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
410 | | ${framesize}= | Set Variable | ${1518}
411 | | ${min_rate}= | Set Variable | ${10000}
412 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
413 | | ${binary_min}= | Set Variable | ${min_rate}
414 | | ${binary_max}= | Set Variable | ${max_rate}
415 | | ${threshold}= | Set Variable | ${min_rate}
416 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
417 | | And   Add PCI devices to DUTs from 3-node single link topology
418 | | And   Add No Multi Seg to all DUTs
419 | | And   Apply startup configuration on all VPP DUTs
420 | | And   IPv6 forwarding initialized in a 3-node circular topology
421 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
422 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
423 | | ...                                       | ${binary_max} | 3-node-IPv6
424 | | ...                                       | ${min_rate} | ${max_rate}
425 | | ...                                       | ${threshold}
426
427 | TC16: 1518B PDR binary search - DUT IPv6 iAcl whitelist - 4threads 4cores 2rxq
428 | | [Documentation]
429 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
430 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
431 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
432 | | ... | step 10kpps, LT=0.5%.
433 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
434 | | ${framesize}= | Set Variable | ${1518}
435 | | ${min_rate}= | Set Variable | ${10000}
436 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
437 | | ${binary_min}= | Set Variable | ${min_rate}
438 | | ${binary_max}= | Set Variable | ${max_rate}
439 | | ${threshold}= | Set Variable | ${min_rate}
440 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
441 | | And   Add PCI devices to DUTs from 3-node single link topology
442 | | And   Add No Multi Seg to all DUTs
443 | | And   Apply startup configuration on all VPP DUTs
444 | | And   IPv6 forwarding initialized in a 3-node circular topology
445 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
446 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
447 | | ...                                       | ${binary_max} | 3-node-IPv6
448 | | ...                                       | ${min_rate} | ${max_rate}
449 | | ...                                       | ${threshold}
450 | | ...                                       | ${glob_loss_acceptance}
451 | | ...                                       | ${glob_loss_acceptance_type}
452
453 | TC17: 9000B NDR binary search - DUT IPv6 iAcl whitelist - 4threads 4cores 2rxq
454 | | [Documentation]
455 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
456 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
457 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
458 | | ... | step 5kpps.
459 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
460 | | ${framesize}= | Set Variable | ${9000}
461 | | ${min_rate}= | Set Variable | ${10000}
462 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
463 | | ${binary_min}= | Set Variable | ${min_rate}
464 | | ${binary_max}= | Set Variable | ${max_rate}
465 | | ${threshold}= | Set Variable | ${min_rate}
466 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
467 | | And   Add PCI devices to DUTs from 3-node single link topology
468 | | And   Apply startup configuration on all VPP DUTs
469 | | And   IPv6 forwarding initialized in a 3-node circular topology
470 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
471 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
472 | | ...                                       | ${binary_max} | 3-node-IPv6
473 | | ...                                       | ${min_rate} | ${max_rate}
474 | | ...                                       | ${threshold}
475
476 | TC18: 9000B PDR binary search - DUT IPv6 iAcl whitelist - 4threads 4cores 2rxq
477 | | [Documentation]
478 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
479 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
480 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
481 | | ... | step 5kpps, LT=0.5%.
482 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
483 | | ${framesize}= | Set Variable | ${9000}
484 | | ${min_rate}= | Set Variable | ${10000}
485 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
486 | | ${binary_min}= | Set Variable | ${min_rate}
487 | | ${binary_max}= | Set Variable | ${max_rate}
488 | | ${threshold}= | Set Variable | ${min_rate}
489 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
490 | | And   Add PCI devices to DUTs from 3-node single link topology
491 | | And   Apply startup configuration on all VPP DUTs
492 | | And   IPv6 forwarding initialized in a 3-node circular topology
493 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
494 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
495 | | ...                                       | ${binary_max} | 3-node-IPv6
496 | | ...                                       | ${min_rate} | ${max_rate}
497 | | ...                                       | ${threshold}
498 | | ...                                       | ${glob_loss_acceptance}
499 | | ...                                       | ${glob_loss_acceptance_type}