CSIT-562 HC Test: Persistence suite rework, part1
[csit.git] / tests / perf / 10ge2p1x520-ethip6-ip6base-iacldstbase-ndrpdrdisc.robot
1 # Copyright (c) 2017 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 | ...
18 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
19 | ... | NIC_Intel-X520-DA2 | ETH | IP6FWD | FEATURE | IACLDST
20 | ...
21 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
22 | ... | L3 | Intel-X520-DA2
23 | Suite Teardown | 3-node Performance Suite Teardown
24 | ...
25 | Test Setup | Performance test setup
26 | Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize}
27 | ... | 3-node-IPv6
28 | ...
29 | Documentation | *RFC2544: Pkt throughput IPv6 iAcl whitelist test cases*
30 | ...
31 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
32 | ... | with single links between nodes.
33 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6 for IPv6 routing.
34 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6
35 | ... | routing, two static IPv6 /64 routes and IPv6 iAcl security whitelist
36 | ... | ingress /64 filter entries applied on links TG - DUT1 and DUT2 - TG.
37 | ... | DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel.
38 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
39 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
40 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
41 | ... | of packets transmitted. NDR and PDR are discovered for different
42 | ... | Ethernet L2 frame sizes using either binary search or linear search
43 | ... | algorithms with configured starting rate and final step that determines
44 | ... | throughput measurement resolution. Test packets are generated by TG on
45 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
46 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
47 | ... | containing Ethernet header, IPv6 header and generated payload. MAC
48 | ... | addresses are matching MAC addresses of the TG node interfaces.
49 | ... | *[Ref] Applicable standard specifications:* RFC2544.
50
51 *** Variables ***
52 # X520-DA2 bandwidth limit
53 | ${s_limit} | ${10000000000}
54
55 *** Test Cases ***
56 | tc01-78B-1t1c-ethip6-ip6base-iacldstbase-ndrdisc
57 | | [Documentation]
58 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
59 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
60 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
61 | | ... | step 100kpps.
62 | | [Tags] | 78B | 1T1C | STHREAD | NDRDISC
63 | | ${framesize}= | Set Variable | ${78}
64 | | ${min_rate}= | Set Variable | ${100000}
65 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
66 | | ${binary_min}= | Set Variable | ${min_rate}
67 | | ${binary_max}= | Set Variable | ${max_rate}
68 | | ${threshold}= | Set Variable | ${min_rate}
69 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
70 | | And   Add PCI devices to DUTs from 3-node single link topology
71 | | And   Add No Multi Seg to all DUTs
72 | | And   Apply startup configuration on all VPP DUTs
73 | | And   IPv6 forwarding initialized in a 3-node circular topology
74 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
75 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
76 | | ...                                       | ${binary_max} | 3-node-IPv6
77 | | ...                                       | ${min_rate} | ${max_rate}
78 | | ...                                       | ${threshold}
79
80 | tc02-78B-1t1c-ethip6-ip6base-iacldstbase-pdrdisc
81 | | [Documentation]
82 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
83 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
84 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
85 | | ... | step 100kpps, LT=0.5%.
86 | | [Tags] | 78B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
87 | | ${framesize}= | Set Variable | ${78}
88 | | ${min_rate}= | Set Variable | ${100000}
89 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
90 | | ${binary_min}= | Set Variable | ${min_rate}
91 | | ${binary_max}= | Set Variable | ${max_rate}
92 | | ${threshold}= | Set Variable | ${min_rate}
93 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
94 | | And   Add PCI devices to DUTs from 3-node single link topology
95 | | And   Add No Multi Seg to all DUTs
96 | | And   Apply startup configuration on all VPP DUTs
97 | | And   IPv6 forwarding initialized in a 3-node circular topology
98 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
99 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
100 | | ...                                       | ${binary_max} | 3-node-IPv6
101 | | ...                                       | ${min_rate} | ${max_rate}
102 | | ...                                       | ${threshold}
103 | | ...                                       | ${perf_pdr_loss_acceptance}
104 | | ...                                       | ${perf_pdr_loss_acceptance_type}
105
106 | tc03-1518B-1t1c-ethip6-ip6base-iacldstbase-ndrdisc
107 | | [Documentation]
108 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
109 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
110 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
111 | | ... | step 10kpps.
112 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
113 | | ${framesize}= | Set Variable | ${1518}
114 | | ${min_rate}= | Set Variable | ${10000}
115 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
116 | | ${binary_min}= | Set Variable | ${min_rate}
117 | | ${binary_max}= | Set Variable | ${max_rate}
118 | | ${threshold}= | Set Variable | ${min_rate}
119 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
120 | | And   Add PCI devices to DUTs from 3-node single link topology
121 | | And   Add No Multi Seg to all DUTs
122 | | And   Apply startup configuration on all VPP DUTs
123 | | And   IPv6 forwarding initialized in a 3-node circular topology
124 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
125 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
126 | | ...                                       | ${binary_max} | 3-node-IPv6
127 | | ...                                       | ${min_rate} | ${max_rate}
128 | | ...                                       | ${threshold}
129
130 | tc04-1518B-1t1c-ethip6-ip6base-iacldstbase-pdrdisc
131 | | [Documentation]
132 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
133 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
134 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
135 | | ... | step 10kpps, LT=0.5%.
136 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
137 | | ${framesize}= | Set Variable | ${1518}
138 | | ${min_rate}= | Set Variable | ${10000}
139 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
140 | | ${binary_min}= | Set Variable | ${min_rate}
141 | | ${binary_max}= | Set Variable | ${max_rate}
142 | | ${threshold}= | Set Variable | ${min_rate}
143 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
144 | | And   Add PCI devices to DUTs from 3-node single link topology
145 | | And   Add No Multi Seg to all DUTs
146 | | And   Apply startup configuration on all VPP DUTs
147 | | And   IPv6 forwarding initialized in a 3-node circular topology
148 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
149 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
150 | | ...                                       | ${binary_max} | 3-node-IPv6
151 | | ...                                       | ${min_rate} | ${max_rate}
152 | | ...                                       | ${threshold}
153 | | ...                                       | ${perf_pdr_loss_acceptance}
154 | | ...                                       | ${perf_pdr_loss_acceptance_type}
155
156 | tc05-9000B-1t1c-ethip6-ip6base-iacldstbase-ndrdisc
157 | | [Documentation]
158 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
159 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
160 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
161 | | ... | step 5kpps.
162 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
163 | | ${framesize}= | Set Variable | ${9000}
164 | | ${min_rate}= | Set Variable | ${10000}
165 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
166 | | ${binary_min}= | Set Variable | ${min_rate}
167 | | ${binary_max}= | Set Variable | ${max_rate}
168 | | ${threshold}= | Set Variable | ${min_rate}
169 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
170 | | And   Add PCI devices to DUTs from 3-node single link topology
171 | | And   Apply startup configuration on all VPP DUTs
172 | | And   IPv6 forwarding initialized in a 3-node circular topology
173 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
174 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
175 | | ...                                       | ${binary_max} | 3-node-IPv6
176 | | ...                                       | ${min_rate} | ${max_rate}
177 | | ...                                       | ${threshold}
178
179 | tc06-9000B-1t1c-ethip6-ip6base-iacldstbase-pdrdisc
180 | | [Documentation]
181 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
182 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
183 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
184 | | ... | step 5kpps, LT=0.5%.
185 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
186 | | ${framesize}= | Set Variable | ${9000}
187 | | ${min_rate}= | Set Variable | ${10000}
188 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
189 | | ${binary_min}= | Set Variable | ${min_rate}
190 | | ${binary_max}= | Set Variable | ${max_rate}
191 | | ${threshold}= | Set Variable | ${min_rate}
192 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
193 | | And   Add PCI devices to DUTs from 3-node single link topology
194 | | And   Apply startup configuration on all VPP DUTs
195 | | And   IPv6 forwarding initialized in a 3-node circular topology
196 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
197 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
198 | | ...                                       | ${binary_max} | 3-node-IPv6
199 | | ...                                       | ${min_rate} | ${max_rate}
200 | | ...                                       | ${threshold}
201 | | ...                                       | ${perf_pdr_loss_acceptance}
202 | | ...                                       | ${perf_pdr_loss_acceptance_type}
203
204 | tc07-78B-2t2c-ethip6-ip6base-iacldstbase-ndrdisc
205 | | [Documentation]
206 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
207 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
208 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
209 | | ... | step 100kpps.
210 | | [Tags] | 78B | 2T2C | MTHREAD | NDRDISC
211 | | ${framesize}= | Set Variable | ${78}
212 | | ${min_rate}= | Set Variable | ${100000}
213 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
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' in 3-node single-link topo
218 | | And   Add PCI devices to DUTs from 3-node single link topology
219 | | And   Add No Multi Seg to all DUTs
220 | | And   Apply startup configuration on all VPP DUTs
221 | | And   IPv6 forwarding initialized in a 3-node circular topology
222 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
223 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
224 | | ...                                       | ${binary_max} | 3-node-IPv6
225 | | ...                                       | ${min_rate} | ${max_rate}
226 | | ...                                       | ${threshold}
227
228 | tc08-78B-2t2c-ethip6-ip6base-iacldstbase-pdrdisc
229 | | [Documentation]
230 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
231 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
232 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
233 | | ... | step 100kpps, LT=0.5%.
234 | | [Tags] | 78B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
235 | | ${framesize}= | Set Variable | ${78}
236 | | ${min_rate}= | Set Variable | ${100000}
237 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
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' in 3-node single-link topo
242 | | And   Add PCI devices to DUTs from 3-node single link topology
243 | | And   Add No Multi Seg to all DUTs
244 | | And   Apply startup configuration on all VPP DUTs
245 | | And   IPv6 forwarding initialized in a 3-node circular topology
246 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
247 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
248 | | ...                                       | ${binary_max} | 3-node-IPv6
249 | | ...                                       | ${min_rate} | ${max_rate}
250 | | ...                                       | ${threshold}
251 | | ...                                       | ${perf_pdr_loss_acceptance}
252 | | ...                                       | ${perf_pdr_loss_acceptance_type}
253
254 | tc09-1518B-2t2c-ethip6-ip6base-iacldstbase-ndrdisc
255 | | [Documentation]
256 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
257 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
258 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
259 | | ... | step 10kpps.
260 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
261 | | ${framesize}= | Set Variable | ${1518}
262 | | ${min_rate}= | Set Variable | ${10000}
263 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
264 | | ${binary_min}= | Set Variable | ${min_rate}
265 | | ${binary_max}= | Set Variable | ${max_rate}
266 | | ${threshold}= | Set Variable | ${min_rate}
267 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
268 | | And   Add PCI devices to DUTs from 3-node single link topology
269 | | And   Add No Multi Seg to all DUTs
270 | | And   Apply startup configuration on all VPP DUTs
271 | | And   IPv6 forwarding initialized in a 3-node circular topology
272 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
273 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
274 | | ...                                       | ${binary_max} | 3-node-IPv6
275 | | ...                                       | ${min_rate} | ${max_rate}
276 | | ...                                       | ${threshold}
277
278 | tc10-1518B-2t2c-ethip6-ip6base-iacldstbase-pdrdisc
279 | | [Documentation]
280 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
281 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
282 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
283 | | ... | step 10kpps, LT=0.5%.
284 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
285 | | ${framesize}= | Set Variable | ${1518}
286 | | ${min_rate}= | Set Variable | ${10000}
287 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
288 | | ${binary_min}= | Set Variable | ${min_rate}
289 | | ${binary_max}= | Set Variable | ${max_rate}
290 | | ${threshold}= | Set Variable | ${min_rate}
291 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
292 | | And   Add PCI devices to DUTs from 3-node single link topology
293 | | And   Add No Multi Seg to all DUTs
294 | | And   Apply startup configuration on all VPP DUTs
295 | | And   IPv6 forwarding initialized in a 3-node circular topology
296 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
297 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
298 | | ...                                       | ${binary_max} | 3-node-IPv6
299 | | ...                                       | ${min_rate} | ${max_rate}
300 | | ...                                       | ${threshold}
301 | | ...                                       | ${perf_pdr_loss_acceptance}
302 | | ...                                       | ${perf_pdr_loss_acceptance_type}
303
304 | tc11-9000B-2t2c-ethip6-ip6base-iacldstbase-ndrdisc
305 | | [Documentation]
306 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
307 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
308 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
309 | | ... | step 5kpps.
310 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
311 | | ${framesize}= | Set Variable | ${9000}
312 | | ${min_rate}= | Set Variable | ${10000}
313 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
314 | | ${binary_min}= | Set Variable | ${min_rate}
315 | | ${binary_max}= | Set Variable | ${max_rate}
316 | | ${threshold}= | Set Variable | ${min_rate}
317 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
318 | | And   Add PCI devices to DUTs from 3-node single link topology
319 | | And   Apply startup configuration on all VPP DUTs
320 | | And   IPv6 forwarding initialized in a 3-node circular topology
321 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
322 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
323 | | ...                                       | ${binary_max} | 3-node-IPv6
324 | | ...                                       | ${min_rate} | ${max_rate}
325 | | ...                                       | ${threshold}
326
327 | tc12-9000B-2t2c-ethip6-ip6base-iacldstbase-pdrdisc
328 | | [Documentation]
329 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
330 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
331 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
332 | | ... | step 5kpps, LT=0.5%.
333 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
334 | | ${framesize}= | Set Variable | ${9000}
335 | | ${min_rate}= | Set Variable | ${10000}
336 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
337 | | ${binary_min}= | Set Variable | ${min_rate}
338 | | ${binary_max}= | Set Variable | ${max_rate}
339 | | ${threshold}= | Set Variable | ${min_rate}
340 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
341 | | And   Add PCI devices to DUTs from 3-node single link topology
342 | | And   Apply startup configuration on all VPP DUTs
343 | | And   IPv6 forwarding initialized in a 3-node circular topology
344 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
345 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
346 | | ...                                       | ${binary_max} | 3-node-IPv6
347 | | ...                                       | ${min_rate} | ${max_rate}
348 | | ...                                       | ${threshold}
349 | | ...                                       | ${perf_pdr_loss_acceptance}
350 | | ...                                       | ${perf_pdr_loss_acceptance_type}
351
352 | tc13-78B-4t4c-ethip6-ip6base-iacldstbase-ndrdisc
353 | | [Documentation]
354 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
355 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
356 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
357 | | ... | step 100kpps.
358 | | [Tags] | 78B | 4T4C | MTHREAD | NDRDISC
359 | | ${framesize}= | Set Variable | ${78}
360 | | ${min_rate}= | Set Variable | ${100000}
361 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
362 | | ${binary_min}= | Set Variable | ${min_rate}
363 | | ${binary_max}= | Set Variable | ${max_rate}
364 | | ${threshold}= | Set Variable | ${min_rate}
365 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
366 | | And   Add PCI devices to DUTs from 3-node single link topology
367 | | And   Add No Multi Seg to all DUTs
368 | | And   Apply startup configuration on all VPP DUTs
369 | | And   IPv6 forwarding initialized in a 3-node circular topology
370 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
371 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
372 | | ...                                       | ${binary_max} | 3-node-IPv6
373 | | ...                                       | ${min_rate} | ${max_rate}
374 | | ...                                       | ${threshold}
375
376 | tc14-78B-4t4c-ethip6-ip6base-iacldstbase-pdrdisc
377 | | [Documentation]
378 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
379 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
380 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
381 | | ... | step 100kpps, LT=0.5%.
382 | | [Tags] | 78B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
383 | | ${framesize}= | Set Variable | ${78}
384 | | ${min_rate}= | Set Variable | ${100000}
385 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
386 | | ${binary_min}= | Set Variable | ${min_rate}
387 | | ${binary_max}= | Set Variable | ${max_rate}
388 | | ${threshold}= | Set Variable | ${min_rate}
389 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
390 | | And   Add PCI devices to DUTs from 3-node single link topology
391 | | And   Add No Multi Seg to all DUTs
392 | | And   Apply startup configuration on all VPP DUTs
393 | | And   IPv6 forwarding initialized in a 3-node circular topology
394 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
395 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
396 | | ...                                       | ${binary_max} | 3-node-IPv6
397 | | ...                                       | ${min_rate} | ${max_rate}
398 | | ...                                       | ${threshold}
399 | | ...                                       | ${perf_pdr_loss_acceptance}
400 | | ...                                       | ${perf_pdr_loss_acceptance_type}
401
402 | tc15-1518B-4t4c-ethip6-ip6base-iacldstbase-ndrdisc
403 | | [Documentation]
404 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
405 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
406 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
407 | | ... | step 10kpps.
408 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
409 | | ${framesize}= | Set Variable | ${1518}
410 | | ${min_rate}= | Set Variable | ${10000}
411 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
412 | | ${binary_min}= | Set Variable | ${min_rate}
413 | | ${binary_max}= | Set Variable | ${max_rate}
414 | | ${threshold}= | Set Variable | ${min_rate}
415 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
416 | | And   Add PCI devices to DUTs from 3-node single link topology
417 | | And   Add No Multi Seg to all DUTs
418 | | And   Apply startup configuration on all VPP DUTs
419 | | And   IPv6 forwarding initialized in a 3-node circular topology
420 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
421 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
422 | | ...                                       | ${binary_max} | 3-node-IPv6
423 | | ...                                       | ${min_rate} | ${max_rate}
424 | | ...                                       | ${threshold}
425
426 | tc16-1518B-4t4c-ethip6-ip6base-iacldstbase-pdrdisc
427 | | [Documentation]
428 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
429 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
430 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
431 | | ... | step 10kpps, LT=0.5%.
432 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
433 | | ${framesize}= | Set Variable | ${1518}
434 | | ${min_rate}= | Set Variable | ${10000}
435 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
436 | | ${binary_min}= | Set Variable | ${min_rate}
437 | | ${binary_max}= | Set Variable | ${max_rate}
438 | | ${threshold}= | Set Variable | ${min_rate}
439 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
440 | | And   Add PCI devices to DUTs from 3-node single link topology
441 | | And   Add No Multi Seg to all DUTs
442 | | And   Apply startup configuration on all VPP DUTs
443 | | And   IPv6 forwarding initialized in a 3-node circular topology
444 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
445 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
446 | | ...                                       | ${binary_max} | 3-node-IPv6
447 | | ...                                       | ${min_rate} | ${max_rate}
448 | | ...                                       | ${threshold}
449 | | ...                                       | ${perf_pdr_loss_acceptance}
450 | | ...                                       | ${perf_pdr_loss_acceptance_type}
451
452 | tc17-9000B-4t4c-ethip6-ip6base-iacldstbase-ndrdisc
453 | | [Documentation]
454 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
455 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
456 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
457 | | ... | step 5kpps.
458 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
459 | | ${framesize}= | Set Variable | ${9000}
460 | | ${min_rate}= | Set Variable | ${10000}
461 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
462 | | ${binary_min}= | Set Variable | ${min_rate}
463 | | ${binary_max}= | Set Variable | ${max_rate}
464 | | ${threshold}= | Set Variable | ${min_rate}
465 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
466 | | And   Add PCI devices to DUTs from 3-node single link topology
467 | | And   Apply startup configuration on all VPP DUTs
468 | | And   IPv6 forwarding initialized in a 3-node circular topology
469 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
470 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
471 | | ...                                       | ${binary_max} | 3-node-IPv6
472 | | ...                                       | ${min_rate} | ${max_rate}
473 | | ...                                       | ${threshold}
474
475 | tc18-9000B-4t4c-ethip6-ip6base-iacldstbase-pdrdisc
476 | | [Documentation]
477 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
478 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
479 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
480 | | ... | step 5kpps, LT=0.5%.
481 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
482 | | ${framesize}= | Set Variable | ${9000}
483 | | ${min_rate}= | Set Variable | ${10000}
484 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
485 | | ${binary_min}= | Set Variable | ${min_rate}
486 | | ${binary_max}= | Set Variable | ${max_rate}
487 | | ${threshold}= | Set Variable | ${min_rate}
488 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
489 | | And   Add PCI devices to DUTs from 3-node single link topology
490 | | And   Apply startup configuration on all VPP DUTs
491 | | And   IPv6 forwarding initialized in a 3-node circular topology
492 | | And   IPv6 iAcl whitelist initialized in a 3-node circular topology
493 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
494 | | ...                                       | ${binary_max} | 3-node-IPv6
495 | | ...                                       | ${min_rate} | ${max_rate}
496 | | ...                                       | ${threshold}
497 | | ...                                       | ${perf_pdr_loss_acceptance}
498 | | ...                                       | ${perf_pdr_loss_acceptance_type}