CSIT-604: Bootstrap file for vpp-csit-verify-master-centos7-nightly
[csit.git] / tests / vpp / perf / ip6 / 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/performance_setup.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 | Set up 3-node performance topology with DUT's NIC model
22 | ... | L3 | Intel-X520-DA2
23 | Suite Teardown | Tear down 3-node performance topology
24 | ...
25 | Test Setup | Set up performance test
26 | ...
27 | Test Teardown | Tear down performance discovery test | ${min_rate}pps
28 | ... | ${framesize} | ${traffic_profile}
29 | ...
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 # Traffic profile:
56 | ${traffic_profile} | trex-sl-3n-ethip6-ip6src253
57
58 *** Test Cases ***
59 | tc01-78B-1t1c-ethip6-ip6base-iacldstbase-ndrdisc
60 | | [Documentation]
61 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
62 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
63 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
64 | | ... | step 100kpps.
65 | | [Tags] | 78B | 1T1C | STHREAD | NDRDISC
66 | | ${framesize}= | Set Variable | ${78}
67 | | ${min_rate}= | Set Variable | ${100000}
68 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
69 | | ${binary_min}= | Set Variable | ${min_rate}
70 | | ${binary_max}= | Set Variable | ${max_rate}
71 | | ${threshold}= | Set Variable | ${min_rate}
72 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
73 | | And Add PCI devices to DUTs in 3-node single link topology
74 | | And Add no multi seg to all DUTs
75 | | And Apply startup configuration on all VPP DUTs
76 | | And Initialize IPv6 forwarding in 3-node circular topology
77 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
78 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
79 | | ... | ${binary_max} | ${traffic_profile}
80 | | ... | ${min_rate} | ${max_rate} | ${threshold}
81
82 | tc02-78B-1t1c-ethip6-ip6base-iacldstbase-pdrdisc
83 | | [Documentation]
84 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
85 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
86 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
87 | | ... | step 100kpps, LT=0.5%.
88 | | [Tags] | 78B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
89 | | ${framesize}= | Set Variable | ${78}
90 | | ${min_rate}= | Set Variable | ${100000}
91 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
92 | | ${binary_min}= | Set Variable | ${min_rate}
93 | | ${binary_max}= | Set Variable | ${max_rate}
94 | | ${threshold}= | Set Variable | ${min_rate}
95 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
96 | | And Add PCI devices to DUTs in 3-node single link topology
97 | | And Add no multi seg to all DUTs
98 | | And Apply startup configuration on all VPP DUTs
99 | | And Initialize IPv6 forwarding in 3-node circular topology
100 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
101 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
102 | | ... | ${binary_max} | ${traffic_profile}
103 | | ... | ${min_rate} | ${max_rate} | ${threshold}
104 | | ... | ${perf_pdr_loss_acceptance} | ${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 '1' rxqueues in 3-node single-link circular topology
120 | | And Add PCI devices to DUTs in 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 Initialize IPv6 forwarding in 3-node circular topology
124 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
125 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
126 | | ... | ${binary_max} | ${traffic_profile}
127 | | ... | ${min_rate} | ${max_rate} | ${threshold}
128
129 | tc04-1518B-1t1c-ethip6-ip6base-iacldstbase-pdrdisc
130 | | [Documentation]
131 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
132 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
133 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
134 | | ... | step 10kpps, LT=0.5%.
135 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
136 | | ${framesize}= | Set Variable | ${1518}
137 | | ${min_rate}= | Set Variable | ${10000}
138 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
139 | | ${binary_min}= | Set Variable | ${min_rate}
140 | | ${binary_max}= | Set Variable | ${max_rate}
141 | | ${threshold}= | Set Variable | ${min_rate}
142 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
143 | | And Add PCI devices to DUTs in 3-node single link topology
144 | | And Add no multi seg to all DUTs
145 | | And Apply startup configuration on all VPP DUTs
146 | | And Initialize IPv6 forwarding in 3-node circular topology
147 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
148 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
149 | | ... | ${binary_max} | ${traffic_profile}
150 | | ... | ${min_rate} | ${max_rate} | ${threshold}
151 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
152
153 | tc05-9000B-1t1c-ethip6-ip6base-iacldstbase-ndrdisc
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] | 9000B | 1T1C | STHREAD | NDRDISC
160 | | ${framesize}= | Set Variable | ${9000}
161 | | ${min_rate}= | Set Variable | ${10000}
162 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
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 '1' rxqueues in 3-node single-link circular topology
167 | | And Add PCI devices to DUTs in 3-node single link topology
168 | | And Apply startup configuration on all VPP DUTs
169 | | And Initialize IPv6 forwarding in 3-node circular topology
170 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
171 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
172 | | ... | ${binary_max} | ${traffic_profile}
173 | | ... | ${min_rate} | ${max_rate} | ${threshold}
174
175 | tc06-9000B-1t1c-ethip6-ip6base-iacldstbase-pdrdisc
176 | | [Documentation]
177 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
178 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
179 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
180 | | ... | step 5kpps, LT=0.5%.
181 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
182 | | ${framesize}= | Set Variable | ${9000}
183 | | ${min_rate}= | Set Variable | ${10000}
184 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
185 | | ${binary_min}= | Set Variable | ${min_rate}
186 | | ${binary_max}= | Set Variable | ${max_rate}
187 | | ${threshold}= | Set Variable | ${min_rate}
188 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
189 | | And Add PCI devices to DUTs in 3-node single link topology
190 | | And Apply startup configuration on all VPP DUTs
191 | | And Initialize IPv6 forwarding in 3-node circular topology
192 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
193 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
194 | | ... | ${binary_max} | ${traffic_profile}
195 | | ... | ${min_rate} | ${max_rate} | ${threshold}
196 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
197
198 | tc07-78B-2t2c-ethip6-ip6base-iacldstbase-ndrdisc
199 | | [Documentation]
200 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
201 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
202 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
203 | | ... | step 100kpps.
204 | | [Tags] | 78B | 2T2C | MTHREAD | NDRDISC
205 | | ${framesize}= | Set Variable | ${78}
206 | | ${min_rate}= | Set Variable | ${100000}
207 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
208 | | ${binary_min}= | Set Variable | ${min_rate}
209 | | ${binary_max}= | Set Variable | ${max_rate}
210 | | ${threshold}= | Set Variable | ${min_rate}
211 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
212 | | And Add PCI devices to DUTs in 3-node single link topology
213 | | And Add no multi seg to all DUTs
214 | | And Apply startup configuration on all VPP DUTs
215 | | And Initialize IPv6 forwarding in 3-node circular topology
216 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
217 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
218 | | ... | ${binary_max} | ${traffic_profile}
219 | | ... | ${min_rate} | ${max_rate} | ${threshold}
220
221 | tc08-78B-2t2c-ethip6-ip6base-iacldstbase-pdrdisc
222 | | [Documentation]
223 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
224 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
225 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
226 | | ... | step 100kpps, LT=0.5%.
227 | | [Tags] | 78B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
228 | | ${framesize}= | Set Variable | ${78}
229 | | ${min_rate}= | Set Variable | ${100000}
230 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
231 | | ${binary_min}= | Set Variable | ${min_rate}
232 | | ${binary_max}= | Set Variable | ${max_rate}
233 | | ${threshold}= | Set Variable | ${min_rate}
234 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
235 | | And Add PCI devices to DUTs in 3-node single link topology
236 | | And Add no multi seg to all DUTs
237 | | And Apply startup configuration on all VPP DUTs
238 | | And Initialize IPv6 forwarding in 3-node circular topology
239 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
240 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
241 | | ... | ${binary_max} | ${traffic_profile}
242 | | ... | ${min_rate} | ${max_rate} | ${threshold}
243 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
244
245 | tc09-1518B-2t2c-ethip6-ip6base-iacldstbase-ndrdisc
246 | | [Documentation]
247 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
248 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
249 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
250 | | ... | step 10kpps.
251 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
252 | | ${framesize}= | Set Variable | ${1518}
253 | | ${min_rate}= | Set Variable | ${10000}
254 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
255 | | ${binary_min}= | Set Variable | ${min_rate}
256 | | ${binary_max}= | Set Variable | ${max_rate}
257 | | ${threshold}= | Set Variable | ${min_rate}
258 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
259 | | And Add PCI devices to DUTs in 3-node single link topology
260 | | And Add no multi seg to all DUTs
261 | | And Apply startup configuration on all VPP DUTs
262 | | And Initialize IPv6 forwarding in 3-node circular topology
263 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
264 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
265 | | ... | ${binary_max} | ${traffic_profile}
266 | | ... | ${min_rate} | ${max_rate} | ${threshold}
267
268 | tc10-1518B-2t2c-ethip6-ip6base-iacldstbase-pdrdisc
269 | | [Documentation]
270 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
271 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
272 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
273 | | ... | step 10kpps, LT=0.5%.
274 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
275 | | ${framesize}= | Set Variable | ${1518}
276 | | ${min_rate}= | Set Variable | ${10000}
277 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
278 | | ${binary_min}= | Set Variable | ${min_rate}
279 | | ${binary_max}= | Set Variable | ${max_rate}
280 | | ${threshold}= | Set Variable | ${min_rate}
281 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
282 | | And Add PCI devices to DUTs in 3-node single link topology
283 | | And Add no multi seg to all DUTs
284 | | And Apply startup configuration on all VPP DUTs
285 | | And Initialize IPv6 forwarding in 3-node circular topology
286 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
287 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
288 | | ... | ${binary_max} | ${traffic_profile}
289 | | ... | ${min_rate} | ${max_rate} | ${threshold}
290 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
291
292 | tc11-9000B-2t2c-ethip6-ip6base-iacldstbase-ndrdisc
293 | | [Documentation]
294 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
295 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
296 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
297 | | ... | step 5kpps.
298 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
299 | | ${framesize}= | Set Variable | ${9000}
300 | | ${min_rate}= | Set Variable | ${10000}
301 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
302 | | ${binary_min}= | Set Variable | ${min_rate}
303 | | ${binary_max}= | Set Variable | ${max_rate}
304 | | ${threshold}= | Set Variable | ${min_rate}
305 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
306 | | And Add PCI devices to DUTs in 3-node single link topology
307 | | And Apply startup configuration on all VPP DUTs
308 | | And Initialize IPv6 forwarding in 3-node circular topology
309 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
310 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
311 | | ... | ${binary_max} | ${traffic_profile}
312 | | ... | ${min_rate} | ${max_rate} | ${threshold}
313
314 | tc12-9000B-2t2c-ethip6-ip6base-iacldstbase-pdrdisc
315 | | [Documentation]
316 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
317 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
318 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
319 | | ... | step 5kpps, LT=0.5%.
320 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
321 | | ${framesize}= | Set Variable | ${9000}
322 | | ${min_rate}= | Set Variable | ${10000}
323 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
324 | | ${binary_min}= | Set Variable | ${min_rate}
325 | | ${binary_max}= | Set Variable | ${max_rate}
326 | | ${threshold}= | Set Variable | ${min_rate}
327 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
328 | | And Add PCI devices to DUTs in 3-node single link topology
329 | | And Apply startup configuration on all VPP DUTs
330 | | And Initialize IPv6 forwarding in 3-node circular topology
331 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
332 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
333 | | ... | ${binary_max} | ${traffic_profile}
334 | | ... | ${min_rate} | ${max_rate} | ${threshold}
335 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
336
337 | tc13-78B-4t4c-ethip6-ip6base-iacldstbase-ndrdisc
338 | | [Documentation]
339 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
340 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
341 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
342 | | ... | step 100kpps.
343 | | [Tags] | 78B | 4T4C | MTHREAD | NDRDISC
344 | | ${framesize}= | Set Variable | ${78}
345 | | ${min_rate}= | Set Variable | ${100000}
346 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
347 | | ${binary_min}= | Set Variable | ${min_rate}
348 | | ${binary_max}= | Set Variable | ${max_rate}
349 | | ${threshold}= | Set Variable | ${min_rate}
350 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
351 | | And Add PCI devices to DUTs in 3-node single link topology
352 | | And Add no multi seg to all DUTs
353 | | And Apply startup configuration on all VPP DUTs
354 | | And Initialize IPv6 forwarding in 3-node circular topology
355 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
356 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
357 | | ... | ${binary_max} | ${traffic_profile}
358 | | ... | ${min_rate} | ${max_rate} | ${threshold}
359
360 | tc14-78B-4t4c-ethip6-ip6base-iacldstbase-pdrdisc
361 | | [Documentation]
362 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
363 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
364 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
365 | | ... | step 100kpps, LT=0.5%.
366 | | [Tags] | 78B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
367 | | ${framesize}= | Set Variable | ${78}
368 | | ${min_rate}= | Set Variable | ${100000}
369 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
370 | | ${binary_min}= | Set Variable | ${min_rate}
371 | | ${binary_max}= | Set Variable | ${max_rate}
372 | | ${threshold}= | Set Variable | ${min_rate}
373 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
374 | | And Add PCI devices to DUTs in 3-node single link topology
375 | | And Add no multi seg to all DUTs
376 | | And Apply startup configuration on all VPP DUTs
377 | | And Initialize IPv6 forwarding in 3-node circular topology
378 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
379 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
380 | | ... | ${binary_max} | ${traffic_profile}
381 | | ... | ${min_rate} | ${max_rate} | ${threshold}
382 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
383
384 | tc15-1518B-4t4c-ethip6-ip6base-iacldstbase-ndrdisc
385 | | [Documentation]
386 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
387 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
388 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
389 | | ... | step 10kpps.
390 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
391 | | ${framesize}= | Set Variable | ${1518}
392 | | ${min_rate}= | Set Variable | ${10000}
393 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
394 | | ${binary_min}= | Set Variable | ${min_rate}
395 | | ${binary_max}= | Set Variable | ${max_rate}
396 | | ${threshold}= | Set Variable | ${min_rate}
397 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
398 | | And Add PCI devices to DUTs in 3-node single link topology
399 | | And Add no multi seg to all DUTs
400 | | And Apply startup configuration on all VPP DUTs
401 | | And Initialize IPv6 forwarding in 3-node circular topology
402 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
403 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
404 | | ... | ${binary_max} | ${traffic_profile}
405 | | ... | ${min_rate} | ${max_rate} | ${threshold}
406
407 | tc16-1518B-4t4c-ethip6-ip6base-iacldstbase-pdrdisc
408 | | [Documentation]
409 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
410 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
411 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
412 | | ... | step 10kpps, LT=0.5%.
413 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
414 | | ${framesize}= | Set Variable | ${1518}
415 | | ${min_rate}= | Set Variable | ${10000}
416 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
417 | | ${binary_min}= | Set Variable | ${min_rate}
418 | | ${binary_max}= | Set Variable | ${max_rate}
419 | | ${threshold}= | Set Variable | ${min_rate}
420 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
421 | | And Add PCI devices to DUTs in 3-node single link topology
422 | | And Add no multi seg to all DUTs
423 | | And Apply startup configuration on all VPP DUTs
424 | | And Initialize IPv6 forwarding in 3-node circular topology
425 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
426 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
427 | | ... | ${binary_max} | ${traffic_profile}
428 | | ... | ${min_rate} | ${max_rate} | ${threshold}
429 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
430
431 | tc17-9000B-4t4c-ethip6-ip6base-iacldstbase-ndrdisc
432 | | [Documentation]
433 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
434 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
435 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
436 | | ... | step 5kpps.
437 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
438 | | ${framesize}= | Set Variable | ${9000}
439 | | ${min_rate}= | Set Variable | ${10000}
440 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
441 | | ${binary_min}= | Set Variable | ${min_rate}
442 | | ${binary_max}= | Set Variable | ${max_rate}
443 | | ${threshold}= | Set Variable | ${min_rate}
444 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
445 | | And Add PCI devices to DUTs in 3-node single link topology
446 | | And Apply startup configuration on all VPP DUTs
447 | | And Initialize IPv6 forwarding in 3-node circular topology
448 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
449 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
450 | | ... | ${binary_max} | ${traffic_profile}
451 | | ... | ${min_rate} | ${max_rate} | ${threshold}
452
453 | tc18-9000B-4t4c-ethip6-ip6base-iacldstbase-pdrdisc
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 PDR
457 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
458 | | ... | step 5kpps, LT=0.5%.
459 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | 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 '2' rxqueues in 3-node single-link circular topology
467 | | And Add PCI devices to DUTs in 3-node single link topology
468 | | And Apply startup configuration on all VPP DUTs
469 | | And Initialize IPv6 forwarding in 3-node circular topology
470 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
471 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
472 | | ... | ${binary_max} | ${traffic_profile}
473 | | ... | ${min_rate} | ${max_rate} | ${threshold}
474 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}