CSIT-664: Refactor setups and teardowns
[csit.git] / tests / perf / 10ge2p1x520-ethip6-ip6base-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 | ...
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
18 | ... | NIC_Intel-X520-DA2 | ETH | IP6FWD | BASE | IP6BASE
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 routing 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 and two static IPv6 /64 route entries. DUT1 and DUT2 tested with
36 | ... | 2p10GE NIC X520 Niantic by Intel.
37 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
38 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
39 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
40 | ... | of packets transmitted. NDR and PDR are discovered for different
41 | ... | Ethernet L2 frame sizes using either binary search or linear search
42 | ... | algorithms with configured starting rate and final step that determines
43 | ... | throughput measurement resolution. Test packets are generated by TG on
44 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
45 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
46 | ... | containing Ethernet header, IPv6 header and static payload.
47 | ... | MAC addresses are matching MAC addresses of the TG node interfaces.
48 | ... | *[Ref] Applicable standard specifications:* RFC2544.
49
50 *** Variables ***
51 # X520-DA2 bandwidth limit
52 | ${s_limit} | ${10000000000}
53 # Traffic profile:
54 | ${traffic_profile} | trex-sl-3n-ethip6-ip6src253
55
56 *** Test Cases ***
57 | tc01-78B-1t1c-ethip6-ip6base-ndrdisc
58 | | [Documentation]
59 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
60 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
61 | | ... | using binary search start at 10GE linerate, 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 '1' rxqueues in 3-node single-link circular topology
70 | | And Add PCI devices to DUTs in 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 Initialize IPv6 forwarding in 3-node circular topology
74 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
75 | | ... | ${binary_max} | ${traffic_profile}
76 | | ... | ${min_rate} | ${max_rate} | ${threshold}
77
78 | tc02-78B-1t1c-ethip6-ip6base-pdrdisc
79 | | [Documentation]
80 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
81 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
82 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
83 | | [Tags] | 78B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
84 | | ${framesize}= | Set Variable | ${78}
85 | | ${min_rate}= | Set Variable | ${100000}
86 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
87 | | ${binary_min}= | Set Variable | ${min_rate}
88 | | ${binary_max}= | Set Variable | ${max_rate}
89 | | ${threshold}= | Set Variable | ${min_rate}
90 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
91 | | And Add PCI devices to DUTs in 3-node single link topology
92 | | And Add no multi seg to all DUTs
93 | | And Apply startup configuration on all VPP DUTs
94 | | And Initialize IPv6 forwarding in 3-node circular topology
95 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
96 | | ... | ${binary_max} | ${traffic_profile}
97 | | ... | ${min_rate} | ${max_rate} | ${threshold}
98 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
99
100 | tc03-1518B-1t1c-ethip6-ip6base-ndrdisc
101 | | [Documentation]
102 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
103 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
104 | | ... | using binary search start at 10GE linerate, step 10kpps.
105 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
106 | | ${framesize}= | Set Variable | ${1518}
107 | | ${min_rate}= | Set Variable | ${10000}
108 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
109 | | ${binary_min}= | Set Variable | ${min_rate}
110 | | ${binary_max}= | Set Variable | ${max_rate}
111 | | ${threshold}= | Set Variable | ${min_rate}
112 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
113 | | And Add PCI devices to DUTs in 3-node single link topology
114 | | And Add no multi seg to all DUTs
115 | | And Apply startup configuration on all VPP DUTs
116 | | And Initialize IPv6 forwarding in 3-node circular topology
117 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
118 | | ... | ${binary_max} | ${traffic_profile}
119 | | ... | ${min_rate} | ${max_rate} | ${threshold}
120
121 | tc04-1518B-1t1c-ethip6-ip6base-pdrdisc
122 | | [Documentation]
123 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
124 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
125 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
126 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
127 | | ${framesize}= | Set Variable | ${1518}
128 | | ${min_rate}= | Set Variable | ${10000}
129 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
130 | | ${binary_min}= | Set Variable | ${min_rate}
131 | | ${binary_max}= | Set Variable | ${max_rate}
132 | | ${threshold}= | Set Variable | ${min_rate}
133 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
134 | | And Add PCI devices to DUTs in 3-node single link topology
135 | | And Add no multi seg to all DUTs
136 | | And Apply startup configuration on all VPP DUTs
137 | | And Initialize IPv6 forwarding in 3-node circular topology
138 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
139 | | ... | ${binary_max} | ${traffic_profile}
140 | | ... | ${min_rate} | ${max_rate} | ${threshold}
141 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
142
143 | tc05-9000B-1t1c-ethip6-ip6base-ndrdisc
144 | | [Documentation]
145 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
146 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
147 | | ... | using binary search start at 10GE linerate, step 5kpps.
148 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
149 | | ${framesize}= | Set Variable | ${9000}
150 | | ${min_rate}= | Set Variable | ${10000}
151 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
152 | | ${binary_min}= | Set Variable | ${min_rate}
153 | | ${binary_max}= | Set Variable | ${max_rate}
154 | | ${threshold}= | Set Variable | ${min_rate}
155 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
156 | | And Add PCI devices to DUTs in 3-node single link topology
157 | | And Apply startup configuration on all VPP DUTs
158 | | And Initialize IPv6 forwarding in 3-node circular topology
159 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
160 | | ... | ${binary_max} | ${traffic_profile}
161 | | ... | ${min_rate} | ${max_rate} | ${threshold}
162
163 | tc06-9000B-1t1c-ethip6-ip6base-pdrdisc
164 | | [Documentation]
165 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
166 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
167 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
168 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
169 | | ${framesize}= | Set Variable | ${9000}
170 | | ${min_rate}= | Set Variable | ${10000}
171 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
172 | | ${binary_min}= | Set Variable | ${min_rate}
173 | | ${binary_max}= | Set Variable | ${max_rate}
174 | | ${threshold}= | Set Variable | ${min_rate}
175 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
176 | | And Add PCI devices to DUTs in 3-node single link topology
177 | | And Apply startup configuration on all VPP DUTs
178 | | And Initialize IPv6 forwarding in 3-node circular topology
179 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
180 | | ... | ${binary_max} | ${traffic_profile}
181 | | ... | ${min_rate} | ${max_rate} | ${threshold}
182 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
183
184 | tc07-78B-2t2c-ethip6-ip6base-ndrdisc
185 | | [Documentation]
186 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
187 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
188 | | ... | using binary search start at 10GE linerate, step 100kpps.
189 | | [Tags] | 78B | 2T2C | MTHREAD | NDRDISC
190 | | ${framesize}= | Set Variable | ${78}
191 | | ${min_rate}= | Set Variable | ${100000}
192 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
193 | | ${binary_min}= | Set Variable | ${min_rate}
194 | | ${binary_max}= | Set Variable | ${max_rate}
195 | | ${threshold}= | Set Variable | ${min_rate}
196 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
197 | | And Add PCI devices to DUTs in 3-node single link topology
198 | | And Add no multi seg to all DUTs
199 | | And Apply startup configuration on all VPP DUTs
200 | | And Initialize IPv6 forwarding in 3-node circular topology
201 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
202 | | ... | ${binary_max} | ${traffic_profile}
203 | | ... | ${min_rate} | ${max_rate} | ${threshold}
204
205 | tc08-78B-2t2c-ethip6-ip6base-pdrdisc
206 | | [Documentation]
207 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
208 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
209 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
210 | | [Tags] | 78B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
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 '1' rxqueues in 3-node single-link circular topology
218 | | And Add PCI devices to DUTs in 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 Initialize IPv6 forwarding in 3-node circular topology
222 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
223 | | ... | ${binary_max} | ${traffic_profile}
224 | | ... | ${min_rate} | ${max_rate} | ${threshold}
225 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
226
227 | tc09-1518B-2t2c-ethip6-ip6base-ndrdisc
228 | | [Documentation]
229 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
230 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
231 | | ... | using binary search start at 10GE linerate, step 10kpps.
232 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
233 | | ${framesize}= | Set Variable | ${1518}
234 | | ${min_rate}= | Set Variable | ${10000}
235 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
236 | | ${binary_min}= | Set Variable | ${min_rate}
237 | | ${binary_max}= | Set Variable | ${max_rate}
238 | | ${threshold}= | Set Variable | ${min_rate}
239 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
240 | | And Add PCI devices to DUTs in 3-node single link topology
241 | | And Add no multi seg to all DUTs
242 | | And Apply startup configuration on all VPP DUTs
243 | | And Initialize IPv6 forwarding in 3-node circular topology
244 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
245 | | ... | ${binary_max} | ${traffic_profile}
246 | | ... | ${min_rate} | ${max_rate} | ${threshold}
247
248 | tc10-1518B-2t2c-ethip6-ip6base-pdrdisc
249 | | [Documentation]
250 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
251 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
252 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
253 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
254 | | ${framesize}= | Set Variable | ${1518}
255 | | ${min_rate}= | Set Variable | ${10000}
256 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
257 | | ${binary_min}= | Set Variable | ${min_rate}
258 | | ${binary_max}= | Set Variable | ${max_rate}
259 | | ${threshold}= | Set Variable | ${min_rate}
260 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
261 | | And Add PCI devices to DUTs in 3-node single link topology
262 | | And Add no multi seg to all DUTs
263 | | And Apply startup configuration on all VPP DUTs
264 | | And Initialize IPv6 forwarding in 3-node circular topology
265 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
266 | | ... | ${binary_max} | ${traffic_profile}
267 | | ... | ${min_rate} | ${max_rate} | ${threshold}
268 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
269
270 | tc11-9000B-2t2c-ethip6-ip6base-ndrdisc
271 | | [Documentation]
272 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
273 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
274 | | ... | using binary search start at 10GE linerate, step 5kpps.
275 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
276 | | ${framesize}= | Set Variable | ${9000}
277 | | ${min_rate}= | Set Variable | ${10000}
278 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
279 | | ${binary_min}= | Set Variable | ${min_rate}
280 | | ${binary_max}= | Set Variable | ${max_rate}
281 | | ${threshold}= | Set Variable | ${min_rate}
282 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
283 | | And Add PCI devices to DUTs in 3-node single link topology
284 | | And Apply startup configuration on all VPP DUTs
285 | | And Initialize IPv6 forwarding in 3-node circular topology
286 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
287 | | ... | ${binary_max} | ${traffic_profile}
288 | | ... | ${min_rate} | ${max_rate} | ${threshold}
289
290 | tc12-9000B-2t2c-ethip6-ip6base-pdrdisc
291 | | [Documentation]
292 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
293 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
294 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
295 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
296 | | ${framesize}= | Set Variable | ${9000}
297 | | ${min_rate}= | Set Variable | ${10000}
298 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
299 | | ${binary_min}= | Set Variable | ${min_rate}
300 | | ${binary_max}= | Set Variable | ${max_rate}
301 | | ${threshold}= | Set Variable | ${min_rate}
302 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
303 | | And Add PCI devices to DUTs in 3-node single link topology
304 | | And Apply startup configuration on all VPP DUTs
305 | | And Initialize IPv6 forwarding in 3-node circular topology
306 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
307 | | ... | ${binary_max} | ${traffic_profile}
308 | | ... | ${min_rate} | ${max_rate} | ${threshold}
309 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
310
311 | tc13-78B-4t4c-ethip6-ip6base-ndrdisc
312 | | [Documentation]
313 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
314 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 78 Byte frames
315 | | ... | using binary search start at 10GE linerate, step 100kpps.
316 | | [Tags] | 78B | 4T4C | MTHREAD | NDRDISC
317 | | ${framesize}= | Set Variable | ${78}
318 | | ${min_rate}= | Set Variable | ${100000}
319 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
320 | | ${binary_min}= | Set Variable | ${min_rate}
321 | | ${binary_max}= | Set Variable | ${max_rate}
322 | | ${threshold}= | Set Variable | ${min_rate}
323 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
324 | | And Add PCI devices to DUTs in 3-node single link topology
325 | | And Add no multi seg to all DUTs
326 | | And Apply startup configuration on all VPP DUTs
327 | | And Initialize IPv6 forwarding in 3-node circular topology
328 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
329 | | ... | ${binary_max} | ${traffic_profile}
330 | | ... | ${min_rate} | ${max_rate} | ${threshold}
331
332 | tc14-78B-4t4c-ethip6-ip6base-pdrdisc
333 | | [Documentation]
334 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
335 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 78 Byte frames
336 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
337 | | [Tags] | 78B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
338 | | ${framesize}= | Set Variable | ${78}
339 | | ${min_rate}= | Set Variable | ${100000}
340 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
341 | | ${binary_min}= | Set Variable | ${min_rate}
342 | | ${binary_max}= | Set Variable | ${max_rate}
343 | | ${threshold}= | Set Variable | ${min_rate}
344 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
345 | | And Add PCI devices to DUTs in 3-node single link topology
346 | | And Add no multi seg to all DUTs
347 | | And Apply startup configuration on all VPP DUTs
348 | | And Initialize IPv6 forwarding in 3-node circular topology
349 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
350 | | ... | ${binary_max} | ${traffic_profile}
351 | | ... | ${min_rate} | ${max_rate} | ${threshold}
352 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
353
354 | tc15-1518B-4t4c-ethip6-ip6base-ndrdisc
355 | | [Documentation]
356 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
357 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
358 | | ... | using binary search start at 10GE linerate, step 10kpps.
359 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
360 | | ${framesize}= | Set Variable | ${1518}
361 | | ${min_rate}= | Set Variable | ${10000}
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 '2' rxqueues in 3-node single-link circular topology
367 | | And Add PCI devices to DUTs in 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 Initialize IPv6 forwarding in 3-node circular topology
371 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
372 | | ... | ${binary_max} | ${traffic_profile}
373 | | ... | ${min_rate} | ${max_rate} | ${threshold}
374
375 | tc16-1518B-4t4c-ethip6-ip6base-pdrdisc
376 | | [Documentation]
377 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
378 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
379 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
380 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
381 | | ${framesize}= | Set Variable | ${1518}
382 | | ${min_rate}= | Set Variable | ${10000}
383 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
384 | | ${binary_min}= | Set Variable | ${min_rate}
385 | | ${binary_max}= | Set Variable | ${max_rate}
386 | | ${threshold}= | Set Variable | ${min_rate}
387 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
388 | | And Add PCI devices to DUTs in 3-node single link topology
389 | | And Add no multi seg to all DUTs
390 | | And Apply startup configuration on all VPP DUTs
391 | | And Initialize IPv6 forwarding in 3-node circular topology
392 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
393 | | ... | ${binary_max} | ${traffic_profile}
394 | | ... | ${min_rate} | ${max_rate} | ${threshold}
395 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
396
397 | tc17-9000B-4t4c-ethip6-ip6base-ndrdisc
398 | | [Documentation]
399 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
400 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
401 | | ... | using binary search start at 10GE linerate, step 5kpps.
402 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
403 | | ${framesize}= | Set Variable | ${9000}
404 | | ${min_rate}= | Set Variable | ${10000}
405 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
406 | | ${binary_min}= | Set Variable | ${min_rate}
407 | | ${binary_max}= | Set Variable | ${max_rate}
408 | | ${threshold}= | Set Variable | ${min_rate}
409 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
410 | | And Add PCI devices to DUTs in 3-node single link topology
411 | | And Apply startup configuration on all VPP DUTs
412 | | And Initialize IPv6 forwarding in 3-node circular topology
413 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
414 | | ... | ${binary_max} | ${traffic_profile}
415 | | ... | ${min_rate} | ${max_rate} | ${threshold}
416
417 | tc18-9000B-4t4c-ethip6-ip6base-pdrdisc
418 | | [Documentation]
419 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
420 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
421 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
422 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
423 | | ${framesize}= | Set Variable | ${9000}
424 | | ${min_rate}= | Set Variable | ${10000}
425 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
426 | | ${binary_min}= | Set Variable | ${min_rate}
427 | | ${binary_max}= | Set Variable | ${max_rate}
428 | | ${threshold}= | Set Variable | ${min_rate}
429 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
430 | | And Add PCI devices to DUTs in 3-node single link topology
431 | | And Apply startup configuration on all VPP DUTs
432 | | And Initialize IPv6 forwarding in 3-node circular topology
433 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
434 | | ... | ${binary_max} | ${traffic_profile}
435 | | ... | ${min_rate} | ${max_rate} | ${threshold}
436 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}