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