07a42817385803a0d593478c4b286617d05fb2d0
[csit.git] / tests / perf / 10ge2p1x520-ethip6-ip6scale20k-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_20K
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 2x10k static IPv6 /64 route entries. DUT1 and DUT2 tested
36 | ... | with 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, 10k flows per flow-group) with all packets
46 | ... | containing Ethernet header, IPv6 header withq IP and static payload.
47 | ... | MAC addresses are matching MAC addresses of the TG node interfaces.
48 | ... | Incrementing of IP.dst (IPv6 destination address) field is applied to
49 | ... | both streams.
50 | ... | *[Ref] Applicable standard specifications:* RFC2544.
51
52 *** Variables ***
53 # X520-DA2 bandwidth limit
54 | ${s_limit} | ${10000000000}
55 | ${rts_per_flow}= | ${10000}
56 # Traffic profile:
57 | ${traffic_profile} | trex-sl-3n-ethip6-ip6dst${rts_per_flow}
58
59 *** Test Cases ***
60 | tc01-78B-1t1c-ethip6-ip6scale20k-ndrdisc
61 | | [Documentation]
62 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
63 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
64 | | ... | using binary search start at 10GE linerate, 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 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-ip6scale20k-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 Apply startup configuration on all VPP DUTs
98 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
99 | | ... | ${rts_per_flow}
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-ip6scale20k-ndrdisc
106 | | [Documentation]
107 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
108 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
109 | | ... | using binary search start at 10GE linerate, step 10kpps.
110 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
111 | | ${framesize}= | Set Variable | ${1518}
112 | | ${min_rate}= | Set Variable | ${10000}
113 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
114 | | ${binary_min}= | Set Variable | ${min_rate}
115 | | ${binary_max}= | Set Variable | ${max_rate}
116 | | ${threshold}= | Set Variable | ${min_rate}
117 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
118 | | And Add PCI devices to DUTs in 3-node single link topology
119 | | And Add no multi seg to all DUTs
120 | | And Apply startup configuration on all VPP DUTs
121 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
122 | | ... | ${rts_per_flow}
123 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
124 | | ... | ${binary_max} | ${traffic_profile}
125 | | ... | ${min_rate} | ${max_rate} | ${threshold}
126
127 | tc04-1518B-1t1c-ethip6-ip6scale20k-pdrdisc
128 | | [Documentation]
129 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
130 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
131 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
132 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
133 | | ${framesize}= | Set Variable | ${1518}
134 | | ${min_rate}= | Set Variable | ${10000}
135 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
136 | | ${binary_min}= | Set Variable | ${min_rate}
137 | | ${binary_max}= | Set Variable | ${max_rate}
138 | | ${threshold}= | Set Variable | ${min_rate}
139 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
140 | | And Add PCI devices to DUTs in 3-node single link topology
141 | | And Add no multi seg to all DUTs
142 | | And Apply startup configuration on all VPP DUTs
143 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
144 | | ... | ${rts_per_flow}
145 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
146 | | ... | ${binary_max} | ${traffic_profile}
147 | | ... | ${min_rate} | ${max_rate} | ${threshold}
148 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
149
150 | tc05-9000B-1t1c-ethip6-ip6scale20k-ndrdisc
151 | | [Documentation]
152 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
153 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
154 | | ... | using binary search start at 10GE linerate, step 5kpps.
155 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
156 | | ${framesize}= | Set Variable | ${9000}
157 | | ${min_rate}= | Set Variable | ${10000}
158 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
159 | | ${binary_min}= | Set Variable | ${min_rate}
160 | | ${binary_max}= | Set Variable | ${max_rate}
161 | | ${threshold}= | Set Variable | ${min_rate}
162 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
163 | | And Add PCI devices to DUTs in 3-node single link topology
164 | | And Apply startup configuration on all VPP DUTs
165 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
166 | | ... | ${rts_per_flow}
167 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
168 | | ... | ${binary_max} | ${traffic_profile}
169 | | ... | ${min_rate} | ${max_rate} | ${threshold}
170
171 | tc06-9000B-1t1c-ethip6-ip6scale20k-pdrdisc
172 | | [Documentation]
173 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
174 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
175 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
176 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
177 | | ${framesize}= | Set Variable | ${9000}
178 | | ${min_rate}= | Set Variable | ${10000}
179 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
180 | | ${binary_min}= | Set Variable | ${min_rate}
181 | | ${binary_max}= | Set Variable | ${max_rate}
182 | | ${threshold}= | Set Variable | ${min_rate}
183 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
184 | | And Add PCI devices to DUTs in 3-node single link topology
185 | | And Apply startup configuration on all VPP DUTs
186 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
187 | | ... | ${rts_per_flow}
188 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
189 | | ... | ${binary_max} | ${traffic_profile}
190 | | ... | ${min_rate} | ${max_rate} | ${threshold}
191 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
192
193 | tc07-78B-2t2c-ethip6-ip6scale20k-ndrdisc
194 | | [Documentation]
195 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
196 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
197 | | ... | using binary search start at 10GE linerate, step 100kpps.
198 | | [Tags] | 78B | 2T2C | MTHREAD | NDRDISC
199 | | ${framesize}= | Set Variable | ${78}
200 | | ${min_rate}= | Set Variable | ${100000}
201 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
202 | | ${binary_min}= | Set Variable | ${min_rate}
203 | | ${binary_max}= | Set Variable | ${max_rate}
204 | | ${threshold}= | Set Variable | ${min_rate}
205 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
206 | | And Add PCI devices to DUTs in 3-node single link topology
207 | | And Add no multi seg to all DUTs
208 | | And Apply startup configuration on all VPP DUTs
209 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
210 | | ... | ${rts_per_flow}
211 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
212 | | ... | ${binary_max} | ${traffic_profile}
213 | | ... | ${min_rate} | ${max_rate} | ${threshold}
214
215 | tc08-78B-2t2c-ethip6-ip6scale20k-pdrdisc
216 | | [Documentation]
217 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
218 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
219 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
220 | | [Tags] | 78B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
221 | | ${framesize}= | Set Variable | ${78}
222 | | ${min_rate}= | Set Variable | ${100000}
223 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
224 | | ${binary_min}= | Set Variable | ${min_rate}
225 | | ${binary_max}= | Set Variable | ${max_rate}
226 | | ${threshold}= | Set Variable | ${min_rate}
227 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
228 | | And Add PCI devices to DUTs in 3-node single link topology
229 | | And Add no multi seg to all DUTs
230 | | And Apply startup configuration on all VPP DUTs
231 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
232 | | ... | ${rts_per_flow}
233 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
234 | | ... | ${binary_max} | ${traffic_profile}
235 | | ... | ${min_rate} | ${max_rate} | ${threshold}
236 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
237
238 | tc09-1518B-2t2c-ethip6-ip6scale20k-ndrdisc
239 | | [Documentation]
240 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
241 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
242 | | ... | using binary search start at 10GE linerate, step 10kpps.
243 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
244 | | ${framesize}= | Set Variable | ${1518}
245 | | ${min_rate}= | Set Variable | ${10000}
246 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
247 | | ${binary_min}= | Set Variable | ${min_rate}
248 | | ${binary_max}= | Set Variable | ${max_rate}
249 | | ${threshold}= | Set Variable | ${min_rate}
250 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
251 | | And Add PCI devices to DUTs in 3-node single link topology
252 | | And Add no multi seg to all DUTs
253 | | And Apply startup configuration on all VPP DUTs
254 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
255 | | ... | ${rts_per_flow}
256 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
257 | | ... | ${binary_max} | ${traffic_profile}
258 | | ... | ${min_rate} | ${max_rate} | ${threshold}
259
260 | tc10-1518B-2t2c-ethip6-ip6scale20k-pdrdisc
261 | | [Documentation]
262 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
263 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
264 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
265 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
266 | | ${framesize}= | Set Variable | ${1518}
267 | | ${min_rate}= | Set Variable | ${10000}
268 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
269 | | ${binary_min}= | Set Variable | ${min_rate}
270 | | ${binary_max}= | Set Variable | ${max_rate}
271 | | ${threshold}= | Set Variable | ${min_rate}
272 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
273 | | And Add PCI devices to DUTs in 3-node single link topology
274 | | And Add no multi seg to all DUTs
275 | | And Apply startup configuration on all VPP DUTs
276 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
277 | | ... | ${rts_per_flow}
278 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
279 | | ... | ${binary_max} | ${traffic_profile}
280 | | ... | ${min_rate} | ${max_rate} | ${threshold}
281 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
282
283 | tc11-9000B-2t2c-ethip6-ip6scale20k-ndrdisc
284 | | [Documentation]
285 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
286 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
287 | | ... | using binary search start at 10GE linerate, step 5kpps.
288 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
289 | | ${framesize}= | Set Variable | ${9000}
290 | | ${min_rate}= | Set Variable | ${10000}
291 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
292 | | ${binary_min}= | Set Variable | ${min_rate}
293 | | ${binary_max}= | Set Variable | ${max_rate}
294 | | ${threshold}= | Set Variable | ${min_rate}
295 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
296 | | And Add PCI devices to DUTs in 3-node single link topology
297 | | And Apply startup configuration on all VPP DUTs
298 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
299 | | ... | ${rts_per_flow}
300 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
301 | | ... | ${binary_max} | ${traffic_profile}
302 | | ... | ${min_rate} | ${max_rate} | ${threshold}
303
304 | tc12-9000B-2t2c-ethip6-ip6scale20k-pdrdisc
305 | | [Documentation]
306 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
307 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
308 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
309 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
310 | | ${framesize}= | Set Variable | ${9000}
311 | | ${min_rate}= | Set Variable | ${10000}
312 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
313 | | ${binary_min}= | Set Variable | ${min_rate}
314 | | ${binary_max}= | Set Variable | ${max_rate}
315 | | ${threshold}= | Set Variable | ${min_rate}
316 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
317 | | And Add PCI devices to DUTs in 3-node single link topology
318 | | And Apply startup configuration on all VPP DUTs
319 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
320 | | ... | ${rts_per_flow}
321 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
322 | | ... | ${binary_max} | ${traffic_profile}
323 | | ... | ${min_rate} | ${max_rate} | ${threshold}
324 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
325
326 | tc13-78B-4t4c-ethip6-ip6scale20k-ndrdisc
327 | | [Documentation]
328 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
329 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 78 Byte frames
330 | | ... | using binary search start at 10GE linerate, step 100kpps.
331 | | [Tags] | 78B | 4T4C | MTHREAD | NDRDISC
332 | | ${framesize}= | Set Variable | ${78}
333 | | ${min_rate}= | Set Variable | ${100000}
334 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
335 | | ${binary_min}= | Set Variable | ${min_rate}
336 | | ${binary_max}= | Set Variable | ${max_rate}
337 | | ${threshold}= | Set Variable | ${min_rate}
338 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
339 | | And Add PCI devices to DUTs in 3-node single link topology
340 | | And Add no multi seg to all DUTs
341 | | And Apply startup configuration on all VPP DUTs
342 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
343 | | ... | ${rts_per_flow}
344 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
345 | | ... | ${binary_max} | ${traffic_profile}
346 | | ... | ${min_rate} | ${max_rate} | ${threshold}
347
348 | tc14-78B-4t4c-ethip6-ip6scale20k-pdrdisc
349 | | [Documentation]
350 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
351 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 78 Byte frames
352 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
353 | | [Tags] | 78B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
354 | | ${framesize}= | Set Variable | ${78}
355 | | ${min_rate}= | Set Variable | ${100000}
356 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
357 | | ${binary_min}= | Set Variable | ${min_rate}
358 | | ${binary_max}= | Set Variable | ${max_rate}
359 | | ${threshold}= | Set Variable | ${min_rate}
360 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
361 | | And Add PCI devices to DUTs in 3-node single link topology
362 | | And Add no multi seg to all DUTs
363 | | And Apply startup configuration on all VPP DUTs
364 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
365 | | ... | ${rts_per_flow}
366 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
367 | | ... | ${binary_max} | ${traffic_profile}
368 | | ... | ${min_rate} | ${max_rate} | ${threshold}
369 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
370
371 | tc15-1518B-4t4c-ethip6-ip6scale20k-ndrdisc
372 | | [Documentation]
373 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
374 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
375 | | ... | using binary search start at 10GE linerate, step 10kpps.
376 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
377 | | ${framesize}= | Set Variable | ${1518}
378 | | ${min_rate}= | Set Variable | ${10000}
379 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
380 | | ${binary_min}= | Set Variable | ${min_rate}
381 | | ${binary_max}= | Set Variable | ${max_rate}
382 | | ${threshold}= | Set Variable | ${min_rate}
383 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
384 | | And Add PCI devices to DUTs in 3-node single link topology
385 | | And Add no multi seg to all DUTs
386 | | And Apply startup configuration on all VPP DUTs
387 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
388 | | ... | ${rts_per_flow}
389 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
390 | | ... | ${binary_max} | ${traffic_profile}
391 | | ... | ${min_rate} | ${max_rate} | ${threshold}
392
393 | tc16-1518B-4t4c-ethip6-ip6scale20k-pdrdisc
394 | | [Documentation]
395 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
396 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
397 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
398 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
399 | | ${framesize}= | Set Variable | ${1518}
400 | | ${min_rate}= | Set Variable | ${10000}
401 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
402 | | ${binary_min}= | Set Variable | ${min_rate}
403 | | ${binary_max}= | Set Variable | ${max_rate}
404 | | ${threshold}= | Set Variable | ${min_rate}
405 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
406 | | And Add PCI devices to DUTs in 3-node single link topology
407 | | And Add no multi seg to all DUTs
408 | | And Apply startup configuration on all VPP DUTs
409 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
410 | | ... | ${rts_per_flow}
411 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
412 | | ... | ${binary_max} | ${traffic_profile}
413 | | ... | ${min_rate} | ${max_rate} | ${threshold}
414 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
415
416 | tc17-9000B-4t4c-ethip6-ip6scale20k-ndrdisc
417 | | [Documentation]
418 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
419 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
420 | | ... | using binary search start at 10GE linerate, step 5kpps.
421 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
422 | | ${framesize}= | Set Variable | ${9000}
423 | | ${min_rate}= | Set Variable | ${10000}
424 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
425 | | ${binary_min}= | Set Variable | ${min_rate}
426 | | ${binary_max}= | Set Variable | ${max_rate}
427 | | ${threshold}= | Set Variable | ${min_rate}
428 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
429 | | And Add PCI devices to DUTs in 3-node single link topology
430 | | And Apply startup configuration on all VPP DUTs
431 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
432 | | ... | ${rts_per_flow}
433 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
434 | | ... | ${binary_max} | ${traffic_profile}
435 | | ... | ${min_rate} | ${max_rate} | ${threshold}
436
437 | tc18-9000B-4t4c-ethip6-ip6scale20k-pdrdisc
438 | | [Documentation]
439 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
440 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
441 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
442 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
443 | | ${framesize}= | Set Variable | ${9000}
444 | | ${min_rate}= | Set Variable | ${10000}
445 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
446 | | ${binary_min}= | Set Variable | ${min_rate}
447 | | ${binary_max}= | Set Variable | ${max_rate}
448 | | ${threshold}= | Set Variable | ${min_rate}
449 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
450 | | And Add PCI devices to DUTs in 3-node single link topology
451 | | And Apply startup configuration on all VPP DUTs
452 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
453 | | ... | ${rts_per_flow}
454 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
455 | | ... | ${binary_max} | ${traffic_profile}
456 | | ... | ${min_rate} | ${max_rate} | ${threshold}
457 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}