CSIT-524: Traffic generator using python profiles
[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 | 3-node Performance Suite Setup with DUT's NIC model
21 | ... | L3 | Intel-X520-DA2
22 | Suite Teardown | 3-node Performance Suite Teardown
23 | ...
24 | Test Setup | Performance test setup
25 | Test Teardown | Performance test teardown | ${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 two static IPv6 /64 route entries. DUT1 and DUT2 tested with
35 | ... | 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, 253 flows per flow-group) with all packets
45 | ... | containing Ethernet header, IPv6 header and static payload.
46 | ... | MAC addresses are matching MAC addresses of the TG node interfaces.
47 | ... | *[Ref] Applicable standard specifications:* RFC2544.
48
49 *** Variables ***
50 # X520-DA2 bandwidth limit
51 | ${s_limit} | ${10000000000}
52 # Traffic profile:
53 | ${traffic_profile} | trex-sl-3n-ethip6-ip6src253
54
55 *** Test Cases ***
56 | tc01-78B-1t1c-ethip6-ip6base-ndrdisc
57 | | [Documentation]
58 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
59 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
60 | | ... | using binary search start at 10GE linerate, step 100kpps.
61 | | [Tags] | 78B | 1T1C | STHREAD | NDRDISC
62 | | ${framesize}= | Set Variable | ${78}
63 | | ${min_rate}= | Set Variable | ${100000}
64 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
65 | | ${binary_min}= | Set Variable | ${min_rate}
66 | | ${binary_max}= | Set Variable | ${max_rate}
67 | | ${threshold}= | Set Variable | ${min_rate}
68 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
69 | | And Add PCI devices to DUTs from 3-node single link topology
70 | | And Add No Multi Seg to all DUTs
71 | | And Apply startup configuration on all VPP DUTs
72 | | And IPv6 forwarding initialized in a 3-node circular topology
73 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
74 | | ... | ${binary_max} | ${traffic_profile}
75 | | ... | ${min_rate} | ${max_rate} | ${threshold}
76
77 | tc02-78B-1t1c-ethip6-ip6base-pdrdisc
78 | | [Documentation]
79 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
80 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
81 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
82 | | [Tags] | 78B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
83 | | ${framesize}= | Set Variable | ${78}
84 | | ${min_rate}= | Set Variable | ${100000}
85 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
86 | | ${binary_min}= | Set Variable | ${min_rate}
87 | | ${binary_max}= | Set Variable | ${max_rate}
88 | | ${threshold}= | Set Variable | ${min_rate}
89 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
90 | | And Add PCI devices to DUTs from 3-node single link topology
91 | | And Add No Multi Seg to all DUTs
92 | | And Apply startup configuration on all VPP DUTs
93 | | And IPv6 forwarding initialized in a 3-node circular topology
94 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
95 | | ... | ${binary_max} | ${traffic_profile}
96 | | ... | ${min_rate} | ${max_rate} | ${threshold}
97 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
98
99 | tc03-1518B-1t1c-ethip6-ip6base-ndrdisc
100 | | [Documentation]
101 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
102 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
103 | | ... | using binary search start at 10GE linerate, step 10kpps.
104 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
105 | | ${framesize}= | Set Variable | ${1518}
106 | | ${min_rate}= | Set Variable | ${10000}
107 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
108 | | ${binary_min}= | Set Variable | ${min_rate}
109 | | ${binary_max}= | Set Variable | ${max_rate}
110 | | ${threshold}= | Set Variable | ${min_rate}
111 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
112 | | And Add PCI devices to DUTs from 3-node single link topology
113 | | And Add No Multi Seg to all DUTs
114 | | And Apply startup configuration on all VPP DUTs
115 | | And IPv6 forwarding initialized in a 3-node circular topology
116 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
117 | | ... | ${binary_max} | ${traffic_profile}
118 | | ... | ${min_rate} | ${max_rate} | ${threshold}
119
120 | tc04-1518B-1t1c-ethip6-ip6base-pdrdisc
121 | | [Documentation]
122 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
123 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
124 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
125 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
126 | | ${framesize}= | Set Variable | ${1518}
127 | | ${min_rate}= | Set Variable | ${10000}
128 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
129 | | ${binary_min}= | Set Variable | ${min_rate}
130 | | ${binary_max}= | Set Variable | ${max_rate}
131 | | ${threshold}= | Set Variable | ${min_rate}
132 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
133 | | And Add PCI devices to DUTs from 3-node single link topology
134 | | And Add No Multi Seg to all DUTs
135 | | And Apply startup configuration on all VPP DUTs
136 | | And IPv6 forwarding initialized in a 3-node circular topology
137 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
138 | | ... | ${binary_max} | ${traffic_profile}
139 | | ... | ${min_rate} | ${max_rate} | ${threshold}
140 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
141
142 | tc05-9000B-1t1c-ethip6-ip6base-ndrdisc
143 | | [Documentation]
144 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
145 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
146 | | ... | using binary search start at 10GE linerate, step 5kpps.
147 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
148 | | ${framesize}= | Set Variable | ${9000}
149 | | ${min_rate}= | Set Variable | ${10000}
150 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
151 | | ${binary_min}= | Set Variable | ${min_rate}
152 | | ${binary_max}= | Set Variable | ${max_rate}
153 | | ${threshold}= | Set Variable | ${min_rate}
154 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
155 | | And Add PCI devices to DUTs from 3-node single link topology
156 | | And Apply startup configuration on all VPP DUTs
157 | | And IPv6 forwarding initialized in a 3-node circular topology
158 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
159 | | ... | ${binary_max} | ${traffic_profile}
160 | | ... | ${min_rate} | ${max_rate} | ${threshold}
161
162 | tc06-9000B-1t1c-ethip6-ip6base-pdrdisc
163 | | [Documentation]
164 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
165 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
166 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
167 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
168 | | ${framesize}= | Set Variable | ${9000}
169 | | ${min_rate}= | Set Variable | ${10000}
170 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
171 | | ${binary_min}= | Set Variable | ${min_rate}
172 | | ${binary_max}= | Set Variable | ${max_rate}
173 | | ${threshold}= | Set Variable | ${min_rate}
174 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
175 | | And Add PCI devices to DUTs from 3-node single link topology
176 | | And Apply startup configuration on all VPP DUTs
177 | | And IPv6 forwarding initialized in a 3-node circular topology
178 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
179 | | ... | ${binary_max} | ${traffic_profile}
180 | | ... | ${min_rate} | ${max_rate} | ${threshold}
181 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
182
183 | tc07-78B-2t2c-ethip6-ip6base-ndrdisc
184 | | [Documentation]
185 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
186 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
187 | | ... | using binary search start at 10GE linerate, step 100kpps.
188 | | [Tags] | 78B | 2T2C | MTHREAD | NDRDISC
189 | | ${framesize}= | Set Variable | ${78}
190 | | ${min_rate}= | Set Variable | ${100000}
191 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
192 | | ${binary_min}= | Set Variable | ${min_rate}
193 | | ${binary_max}= | Set Variable | ${max_rate}
194 | | ${threshold}= | Set Variable | ${min_rate}
195 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
196 | | And Add PCI devices to DUTs from 3-node single link topology
197 | | And Add No Multi Seg to all DUTs
198 | | And Apply startup configuration on all VPP DUTs
199 | | And IPv6 forwarding initialized in a 3-node circular topology
200 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
201 | | ... | ${binary_max} | ${traffic_profile}
202 | | ... | ${min_rate} | ${max_rate} | ${threshold}
203
204 | tc08-78B-2t2c-ethip6-ip6base-pdrdisc
205 | | [Documentation]
206 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
207 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
208 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
209 | | [Tags] | 78B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
210 | | ${framesize}= | Set Variable | ${78}
211 | | ${min_rate}= | Set Variable | ${100000}
212 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
213 | | ${binary_min}= | Set Variable | ${min_rate}
214 | | ${binary_max}= | Set Variable | ${max_rate}
215 | | ${threshold}= | Set Variable | ${min_rate}
216 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
217 | | And Add PCI devices to DUTs from 3-node single link topology
218 | | And Add No Multi Seg to all DUTs
219 | | And Apply startup configuration on all VPP DUTs
220 | | And IPv6 forwarding initialized in a 3-node circular topology
221 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
222 | | ... | ${binary_max} | ${traffic_profile}
223 | | ... | ${min_rate} | ${max_rate} | ${threshold}
224 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
225
226 | tc09-1518B-2t2c-ethip6-ip6base-ndrdisc
227 | | [Documentation]
228 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
229 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
230 | | ... | using binary search start at 10GE linerate, step 10kpps.
231 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
232 | | ${framesize}= | Set Variable | ${1518}
233 | | ${min_rate}= | Set Variable | ${10000}
234 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
235 | | ${binary_min}= | Set Variable | ${min_rate}
236 | | ${binary_max}= | Set Variable | ${max_rate}
237 | | ${threshold}= | Set Variable | ${min_rate}
238 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
239 | | And Add PCI devices to DUTs from 3-node single link topology
240 | | And Add No Multi Seg to all DUTs
241 | | And Apply startup configuration on all VPP DUTs
242 | | And IPv6 forwarding initialized in a 3-node circular topology
243 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
244 | | ... | ${binary_max} | ${traffic_profile}
245 | | ... | ${min_rate} | ${max_rate} | ${threshold}
246
247 | tc10-1518B-2t2c-ethip6-ip6base-pdrdisc
248 | | [Documentation]
249 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
250 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
251 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
252 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
253 | | ${framesize}= | Set Variable | ${1518}
254 | | ${min_rate}= | Set Variable | ${10000}
255 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
256 | | ${binary_min}= | Set Variable | ${min_rate}
257 | | ${binary_max}= | Set Variable | ${max_rate}
258 | | ${threshold}= | Set Variable | ${min_rate}
259 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
260 | | And Add PCI devices to DUTs from 3-node single link topology
261 | | And Add No Multi Seg to all DUTs
262 | | And Apply startup configuration on all VPP DUTs
263 | | And IPv6 forwarding initialized in a 3-node circular topology
264 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
265 | | ... | ${binary_max} | ${traffic_profile}
266 | | ... | ${min_rate} | ${max_rate} | ${threshold}
267 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
268
269 | tc11-9000B-2t2c-ethip6-ip6base-ndrdisc
270 | | [Documentation]
271 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
272 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
273 | | ... | using binary search start at 10GE linerate, step 5kpps.
274 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
275 | | ${framesize}= | Set Variable | ${9000}
276 | | ${min_rate}= | Set Variable | ${10000}
277 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
278 | | ${binary_min}= | Set Variable | ${min_rate}
279 | | ${binary_max}= | Set Variable | ${max_rate}
280 | | ${threshold}= | Set Variable | ${min_rate}
281 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
282 | | And Add PCI devices to DUTs from 3-node single link topology
283 | | And Apply startup configuration on all VPP DUTs
284 | | And IPv6 forwarding initialized in a 3-node circular topology
285 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
286 | | ... | ${binary_max} | ${traffic_profile}
287 | | ... | ${min_rate} | ${max_rate} | ${threshold}
288
289 | tc12-9000B-2t2c-ethip6-ip6base-pdrdisc
290 | | [Documentation]
291 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
292 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
293 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
294 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
295 | | ${framesize}= | Set Variable | ${9000}
296 | | ${min_rate}= | Set Variable | ${10000}
297 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
298 | | ${binary_min}= | Set Variable | ${min_rate}
299 | | ${binary_max}= | Set Variable | ${max_rate}
300 | | ${threshold}= | Set Variable | ${min_rate}
301 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
302 | | And Add PCI devices to DUTs from 3-node single link topology
303 | | And Apply startup configuration on all VPP DUTs
304 | | And IPv6 forwarding initialized in a 3-node circular topology
305 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
306 | | ... | ${binary_max} | ${traffic_profile}
307 | | ... | ${min_rate} | ${max_rate} | ${threshold}
308 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
309
310 | tc13-78B-4t4c-ethip6-ip6base-ndrdisc
311 | | [Documentation]
312 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
313 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 78 Byte frames
314 | | ... | using binary search start at 10GE linerate, step 100kpps.
315 | | [Tags] | 78B | 4T4C | MTHREAD | NDRDISC
316 | | ${framesize}= | Set Variable | ${78}
317 | | ${min_rate}= | Set Variable | ${100000}
318 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
319 | | ${binary_min}= | Set Variable | ${min_rate}
320 | | ${binary_max}= | Set Variable | ${max_rate}
321 | | ${threshold}= | Set Variable | ${min_rate}
322 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
323 | | And Add PCI devices to DUTs from 3-node single link topology
324 | | And Add No Multi Seg to all DUTs
325 | | And Apply startup configuration on all VPP DUTs
326 | | And IPv6 forwarding initialized in a 3-node circular topology
327 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
328 | | ... | ${binary_max} | ${traffic_profile}
329 | | ... | ${min_rate} | ${max_rate} | ${threshold}
330
331 | tc14-78B-4t4c-ethip6-ip6base-pdrdisc
332 | | [Documentation]
333 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
334 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 78 Byte frames
335 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
336 | | [Tags] | 78B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
337 | | ${framesize}= | Set Variable | ${78}
338 | | ${min_rate}= | Set Variable | ${100000}
339 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
340 | | ${binary_min}= | Set Variable | ${min_rate}
341 | | ${binary_max}= | Set Variable | ${max_rate}
342 | | ${threshold}= | Set Variable | ${min_rate}
343 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
344 | | And Add PCI devices to DUTs from 3-node single link topology
345 | | And Add No Multi Seg to all DUTs
346 | | And Apply startup configuration on all VPP DUTs
347 | | And IPv6 forwarding initialized in a 3-node circular topology
348 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
349 | | ... | ${binary_max} | ${traffic_profile}
350 | | ... | ${min_rate} | ${max_rate} | ${threshold}
351 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
352
353 | tc15-1518B-4t4c-ethip6-ip6base-ndrdisc
354 | | [Documentation]
355 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
356 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
357 | | ... | using binary search start at 10GE linerate, step 10kpps.
358 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
359 | | ${framesize}= | Set Variable | ${1518}
360 | | ${min_rate}= | Set Variable | ${10000}
361 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
362 | | ${binary_min}= | Set Variable | ${min_rate}
363 | | ${binary_max}= | Set Variable | ${max_rate}
364 | | ${threshold}= | Set Variable | ${min_rate}
365 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
366 | | And Add PCI devices to DUTs from 3-node single link topology
367 | | And Add No Multi Seg to all DUTs
368 | | And Apply startup configuration on all VPP DUTs
369 | | And IPv6 forwarding initialized in a 3-node circular topology
370 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
371 | | ... | ${binary_max} | ${traffic_profile}
372 | | ... | ${min_rate} | ${max_rate} | ${threshold}
373
374 | tc16-1518B-4t4c-ethip6-ip6base-pdrdisc
375 | | [Documentation]
376 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
377 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
378 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
379 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
380 | | ${framesize}= | Set Variable | ${1518}
381 | | ${min_rate}= | Set Variable | ${10000}
382 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
383 | | ${binary_min}= | Set Variable | ${min_rate}
384 | | ${binary_max}= | Set Variable | ${max_rate}
385 | | ${threshold}= | Set Variable | ${min_rate}
386 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
387 | | And Add PCI devices to DUTs from 3-node single link topology
388 | | And Add No Multi Seg to all DUTs
389 | | And Apply startup configuration on all VPP DUTs
390 | | And IPv6 forwarding initialized in a 3-node circular topology
391 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
392 | | ... | ${binary_max} | ${traffic_profile}
393 | | ... | ${min_rate} | ${max_rate} | ${threshold}
394 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
395
396 | tc17-9000B-4t4c-ethip6-ip6base-ndrdisc
397 | | [Documentation]
398 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
399 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
400 | | ... | using binary search start at 10GE linerate, step 5kpps.
401 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
402 | | ${framesize}= | Set Variable | ${9000}
403 | | ${min_rate}= | Set Variable | ${10000}
404 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
405 | | ${binary_min}= | Set Variable | ${min_rate}
406 | | ${binary_max}= | Set Variable | ${max_rate}
407 | | ${threshold}= | Set Variable | ${min_rate}
408 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
409 | | And Add PCI devices to DUTs from 3-node single link topology
410 | | And Apply startup configuration on all VPP DUTs
411 | | And IPv6 forwarding initialized in a 3-node circular topology
412 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
413 | | ... | ${binary_max} | ${traffic_profile}
414 | | ... | ${min_rate} | ${max_rate} | ${threshold}
415
416 | tc18-9000B-4t4c-ethip6-ip6base-pdrdisc
417 | | [Documentation]
418 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
419 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
420 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
421 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | 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 rxqueues '2' in 3-node single-link topo
429 | | And Add PCI devices to DUTs from 3-node single link topology
430 | | And Apply startup configuration on all VPP DUTs
431 | | And IPv6 forwarding initialized in a 3-node circular topology
432 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
433 | | ... | ${binary_max} | ${traffic_profile}
434 | | ... | ${min_rate} | ${max_rate} | ${threshold}
435 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}