CSIT-662: KWI - KW renaming
[csit.git] / tests / perf / 10ge2p1x520-ethip6-ip6scale2m-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 | SCALE | FIB_2M
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 | Test Teardown | Tear down performance discovery test | ${min_rate}pps | ${framesize}
26 | ... | ${traffic_profile}
27 | ...
28 | Documentation | *RFC2544: Pkt throughput IPv6 routing test cases*
29 | ...
30 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
31 | ... | with single links between nodes.
32 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6 for IPv6 routing.
33 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6
34 | ... | routing and 2x1M static IPv6 /64 route entries. DUT1 and DUT2 tested
35 | ... | with 2p10GE NIC X520 Niantic by Intel.
36 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
37 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
38 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
39 | ... | of packets transmitted. NDR and PDR are discovered for different
40 | ... | Ethernet L2 frame sizes using either binary search or linear search
41 | ... | algorithms with configured starting rate and final step that determines
42 | ... | throughput measurement resolution. Test packets are generated by TG on
43 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
44 | ... | (flow-group per direction, 1M flows per flow-group) with all packets
45 | ... | containing Ethernet header, IPv6 header withq IP and static payload.
46 | ... | MAC addresses are matching MAC addresses of the TG node interfaces.
47 | ... | Incrementing of IP.dst (IPv6 destination address) field is applied to
48 | ... | both streams.
49 | ... | *[Ref] Applicable standard specifications:* RFC2544.
50
51 *** Variables ***
52 # X520-DA2 bandwidth limit
53 | ${s_limit} | ${10000000000}
54 | ${rts_per_flow}= | ${1000000}
55 # Traffic profile:
56 | ${traffic_profile} | trex-sl-3n-ethip6-ip6dst${rts_per_flow}
57
58 *** Test Cases ***
59 | tc01-78B-1t1c-ethip6-ip6scale2m-ndrdisc
60 | | [Documentation]
61 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
62 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
63 | | ... | using binary search start at 10GE linerate, step 100kpps.
64 | | [Tags] | 78B | 1T1C | STHREAD | NDRDISC
65 | | ${framesize}= | Set Variable | ${78}
66 | | ${min_rate}= | Set Variable | ${100000}
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 '1' worker threads and '1' rxqueues in 3-node single-link circular topology
72 | | And Add PCI devices to DUTs in 3-node single link topology
73 | | And Add no multi seg to all DUTs
74 | | And Add heapsize config to all DUTs | 3G
75 | | And Apply startup configuration on all VPP DUTs
76 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
77 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
83 | | [Documentation]
84 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
85 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
86 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
87 | | [Tags] | 78B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
88 | | ${framesize}= | Set Variable | ${78}
89 | | ${min_rate}= | Set Variable | ${100000}
90 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
91 | | ${binary_min}= | Set Variable | ${min_rate}
92 | | ${binary_max}= | Set Variable | ${max_rate}
93 | | ${threshold}= | Set Variable | ${min_rate}
94 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
95 | | And Add PCI devices to DUTs in 3-node single link topology
96 | | And Add no multi seg to all DUTs
97 | | And Add heapsize config to all DUTs | 3G
98 | | And Apply startup configuration on all VPP DUTs
99 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
100 | | ... | ${rts_per_flow}
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-ip6scale2m-ndrdisc
107 | | [Documentation]
108 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
109 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
110 | | ... | using binary search start at 10GE linerate, step 10kpps.
111 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
112 | | ${framesize}= | Set Variable | ${1518}
113 | | ${min_rate}= | Set Variable | ${10000}
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 '1' worker threads and '1' rxqueues in 3-node single-link circular topology
119 | | And Add PCI devices to DUTs in 3-node single link topology
120 | | And Add no multi seg to all DUTs
121 | | And Add heapsize config to all DUTs | 3G
122 | | And Apply startup configuration on all VPP DUTs
123 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
124 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
130 | | [Documentation]
131 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
132 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
133 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
134 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
135 | | ${framesize}= | Set Variable | ${1518}
136 | | ${min_rate}= | Set Variable | ${10000}
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 '1' worker threads and '1' rxqueues in 3-node single-link circular topology
142 | | And Add PCI devices to DUTs in 3-node single link topology
143 | | And Add no multi seg to all DUTs
144 | | And Add heapsize config to all DUTs | 3G
145 | | And Apply startup configuration on all VPP DUTs
146 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
147 | | ... | ${rts_per_flow}
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-ip6scale2m-ndrdisc
154 | | [Documentation]
155 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
156 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
157 | | ... | using binary search start at 10GE linerate, step 5kpps.
158 | | [Tags] | 9000B | 1T1C | STHREAD | 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 '1' worker threads and '1' rxqueues in 3-node single-link circular topology
166 | | And Add PCI devices to DUTs in 3-node single link topology
167 | | And Add heapsize config to all DUTs | 3G
168 | | And Apply startup configuration on all VPP DUTs
169 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
170 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
176 | | [Documentation]
177 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
178 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
179 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
180 | | [Tags] | 9000B | 1T1C | STHREAD | 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 '1' worker threads and '1' rxqueues in 3-node single-link circular topology
188 | | And Add PCI devices to DUTs in 3-node single link topology
189 | | And Add heapsize config to all DUTs | 3G
190 | | And Apply startup configuration on all VPP DUTs
191 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
192 | | ... | ${rts_per_flow}
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-ip6scale2m-ndrdisc
199 | | [Documentation]
200 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
201 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
202 | | ... | using binary search start at 10GE linerate, step 100kpps.
203 | | [Tags] | 78B | 2T2C | MTHREAD | NDRDISC
204 | | ${framesize}= | Set Variable | ${78}
205 | | ${min_rate}= | Set Variable | ${100000}
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 '2' worker threads and '1' rxqueues in 3-node single-link circular topology
211 | | And Add PCI devices to DUTs in 3-node single link topology
212 | | And Add no multi seg to all DUTs
213 | | And Add heapsize config to all DUTs | 3G
214 | | And Apply startup configuration on all VPP DUTs
215 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
216 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
222 | | [Documentation]
223 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
224 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
225 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
226 | | [Tags] | 78B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
227 | | ${framesize}= | Set Variable | ${78}
228 | | ${min_rate}= | Set Variable | ${100000}
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 '2' worker threads and '1' rxqueues in 3-node single-link circular topology
234 | | And Add PCI devices to DUTs in 3-node single link topology
235 | | And Add no multi seg to all DUTs
236 | | And Add heapsize config to all DUTs | 3G
237 | | And Apply startup configuration on all VPP DUTs
238 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
239 | | ... | ${rts_per_flow}
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-ip6scale2m-ndrdisc
246 | | [Documentation]
247 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
248 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
249 | | ... | using binary search start at 10GE linerate, step 10kpps.
250 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
251 | | ${framesize}= | Set Variable | ${1518}
252 | | ${min_rate}= | Set Variable | ${10000}
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 '2' worker threads and '1' rxqueues in 3-node single-link circular topology
258 | | And Add PCI devices to DUTs in 3-node single link topology
259 | | And Add no multi seg to all DUTs
260 | | And Add heapsize config to all DUTs | 3G
261 | | And Apply startup configuration on all VPP DUTs
262 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
263 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
269 | | [Documentation]
270 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
271 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
272 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
273 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
274 | | ${framesize}= | Set Variable | ${1518}
275 | | ${min_rate}= | Set Variable | ${10000}
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 '2' worker threads and '1' rxqueues in 3-node single-link circular topology
281 | | And Add PCI devices to DUTs in 3-node single link topology
282 | | And Add no multi seg to all DUTs
283 | | And Add heapsize config to all DUTs | 3G
284 | | And Apply startup configuration on all VPP DUTs
285 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
286 | | ... | ${rts_per_flow}
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-ip6scale2m-ndrdisc
293 | | [Documentation]
294 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
295 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
296 | | ... | using binary search start at 10GE linerate, step 5kpps.
297 | | [Tags] | 9000B | 2T2C | MTHREAD | 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 '2' worker threads and '1' rxqueues in 3-node single-link circular topology
305 | | And Add PCI devices to DUTs in 3-node single link topology
306 | | And Add heapsize config to all DUTs | 3G
307 | | And Apply startup configuration on all VPP DUTs
308 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
309 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
315 | | [Documentation]
316 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
317 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
318 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
319 | | [Tags] | 9000B | 2T2C | MTHREAD | 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 '2' worker threads and '1' rxqueues in 3-node single-link circular topology
327 | | And Add PCI devices to DUTs in 3-node single link topology
328 | | And Add heapsize config to all DUTs | 3G
329 | | And Apply startup configuration on all VPP DUTs
330 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
331 | | ... | ${rts_per_flow}
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-ip6scale2m-ndrdisc
338 | | [Documentation]
339 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
340 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 78 Byte frames
341 | | ... | using binary search start at 10GE linerate, step 100kpps.
342 | | [Tags] | 78B | 4T4C | MTHREAD | NDRDISC
343 | | ${framesize}= | Set Variable | ${78}
344 | | ${min_rate}= | Set Variable | ${100000}
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 '4' worker threads and '2' rxqueues in 3-node single-link circular topology
350 | | And Add PCI devices to DUTs in 3-node single link topology
351 | | And Add no multi seg to all DUTs
352 | | And Add heapsize config to all DUTs | 3G
353 | | And Apply startup configuration on all VPP DUTs
354 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
355 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
361 | | [Documentation]
362 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
363 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 78 Byte frames
364 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
365 | | [Tags] | 78B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
366 | | ${framesize}= | Set Variable | ${78}
367 | | ${min_rate}= | Set Variable | ${100000}
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 '4' worker threads and '2' rxqueues in 3-node single-link circular topology
373 | | And Add PCI devices to DUTs in 3-node single link topology
374 | | And Add no multi seg to all DUTs
375 | | And Add heapsize config to all DUTs | 3G
376 | | And Apply startup configuration on all VPP DUTs
377 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
378 | | ... | ${rts_per_flow}
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-ip6scale2m-ndrdisc
385 | | [Documentation]
386 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
387 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
388 | | ... | using binary search start at 10GE linerate, step 10kpps.
389 | | [Tags] | 1518B | 4T4C | MTHREAD | 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 '4' worker threads and '2' rxqueues in 3-node single-link circular topology
397 | | And Add PCI devices to DUTs in 3-node single link topology
398 | | And Add no multi seg to all DUTs
399 | | And Add heapsize config to all DUTs | 3G
400 | | And Apply startup configuration on all VPP DUTs
401 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
402 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
408 | | [Documentation]
409 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
410 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
411 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
412 | | [Tags] | 1518B | 4T4C | MTHREAD | 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 '4' worker threads and '2' rxqueues in 3-node single-link circular topology
420 | | And Add PCI devices to DUTs in 3-node single link topology
421 | | And Add no multi seg to all DUTs
422 | | And Add heapsize config to all DUTs | 3G
423 | | And Apply startup configuration on all VPP DUTs
424 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
425 | | ... | ${rts_per_flow}
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-ip6scale2m-ndrdisc
432 | | [Documentation]
433 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
434 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
435 | | ... | using binary search start at 10GE linerate, step 5kpps.
436 | | [Tags] | 9000B | 4T4C | MTHREAD | 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 '4' worker threads and '2' rxqueues in 3-node single-link circular topology
444 | | And Add PCI devices to DUTs in 3-node single link topology
445 | | And Add heapsize config to all DUTs | 3G
446 | | And Apply startup configuration on all VPP DUTs
447 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
448 | | ... | ${rts_per_flow}
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-ip6scale2m-pdrdisc
454 | | [Documentation]
455 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
456 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
457 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
458 | | [Tags] | 9000B | 4T4C | MTHREAD | 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 '4' worker threads and '2' rxqueues in 3-node single-link circular topology
466 | | And Add PCI devices to DUTs in 3-node single link topology
467 | | And Add heapsize config to all DUTs | 3G
468 | | And Apply startup configuration on all VPP DUTs
469 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
470 | | ... | ${rts_per_flow}
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}