ced69622263b098d50e7af2a8d8e3fd8ba571751
[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
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 | ... | 3-node-IPv6
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
53 *** Test Cases ***
54 | tc01-78B-1t1c-ethip6-ip6base-ndrdisc
55 | | [Documentation]
56 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
57 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
58 | | ... | using binary search start at 10GE linerate, step 100kpps.
59 | | [Tags] | 78B | 1T1C | STHREAD | NDRDISC
60 | | ${framesize}= | Set Variable | ${78}
61 | | ${min_rate}= | Set Variable | ${100000}
62 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
63 | | ${binary_min}= | Set Variable | ${min_rate}
64 | | ${binary_max}= | Set Variable | ${max_rate}
65 | | ${threshold}= | Set Variable | ${min_rate}
66 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
67 | | And   Add PCI devices to DUTs from 3-node single link topology
68 | | And   Add No Multi Seg to all DUTs
69 | | And   Apply startup configuration on all VPP DUTs
70 | | And   IPv6 forwarding initialized in a 3-node circular topology
71 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
72 | | ...                                       | ${binary_max} | 3-node-IPv6
73 | | ...                                       | ${min_rate} | ${max_rate}
74 | | ...                                       | ${threshold}
75
76 | tc02-78B-1t1c-ethip6-ip6base-pdrdisc
77 | | [Documentation]
78 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
79 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
80 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
81 | | [Tags] | 78B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
82 | | ${framesize}= | Set Variable | ${78}
83 | | ${min_rate}= | Set Variable | ${100000}
84 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
85 | | ${binary_min}= | Set Variable | ${min_rate}
86 | | ${binary_max}= | Set Variable | ${max_rate}
87 | | ${threshold}= | Set Variable | ${min_rate}
88 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
89 | | And   Add PCI devices to DUTs from 3-node single link topology
90 | | And   Add No Multi Seg to all DUTs
91 | | And   Apply startup configuration on all VPP DUTs
92 | | And   IPv6 forwarding initialized in a 3-node circular topology
93 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
94 | | ...                                       | ${binary_max} | 3-node-IPv6
95 | | ...                                       | ${min_rate} | ${max_rate}
96 | | ...                                       | ${threshold}
97 | | ...                                       | ${perf_pdr_loss_acceptance}
98 | | ...                                       | ${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 rxqueues '1' in 3-node single-link topo
113 | | And   Add PCI devices to DUTs from 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   IPv6 forwarding initialized in a 3-node circular topology
117 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
118 | | ...                                       | ${binary_max} | 3-node-IPv6
119 | | ...                                       | ${min_rate} | ${max_rate}
120 | | ...                                       | ${threshold}
121
122 | tc04-1518B-1t1c-ethip6-ip6base-pdrdisc
123 | | [Documentation]
124 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
125 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
126 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
127 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
128 | | ${framesize}= | Set Variable | ${1518}
129 | | ${min_rate}= | Set Variable | ${10000}
130 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
131 | | ${binary_min}= | Set Variable | ${min_rate}
132 | | ${binary_max}= | Set Variable | ${max_rate}
133 | | ${threshold}= | Set Variable | ${min_rate}
134 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
135 | | And   Add PCI devices to DUTs from 3-node single link topology
136 | | And   Add No Multi Seg to all DUTs
137 | | And   Apply startup configuration on all VPP DUTs
138 | | And   IPv6 forwarding initialized in a 3-node circular topology
139 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
140 | | ...                                       | ${binary_max} | 3-node-IPv6
141 | | ...                                       | ${min_rate} | ${max_rate}
142 | | ...                                       | ${threshold}
143 | | ...                                       | ${perf_pdr_loss_acceptance}
144 | | ...                                       | ${perf_pdr_loss_acceptance_type}
145
146 | tc05-9000B-1t1c-ethip6-ip6base-ndrdisc
147 | | [Documentation]
148 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
149 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
150 | | ... | using binary search start at 10GE linerate, step 5kpps.
151 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
152 | | ${framesize}= | Set Variable | ${9000}
153 | | ${min_rate}= | Set Variable | ${10000}
154 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
155 | | ${binary_min}= | Set Variable | ${min_rate}
156 | | ${binary_max}= | Set Variable | ${max_rate}
157 | | ${threshold}= | Set Variable | ${min_rate}
158 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
159 | | And   Add PCI devices to DUTs from 3-node single link topology
160 | | And   Apply startup configuration on all VPP DUTs
161 | | And   IPv6 forwarding initialized in a 3-node circular topology
162 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
163 | | ...                                       | ${binary_max} | 3-node-IPv6
164 | | ...                                       | ${min_rate} | ${max_rate}
165 | | ...                                       | ${threshold}
166
167 | tc06-9000B-1t1c-ethip6-ip6base-pdrdisc
168 | | [Documentation]
169 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
170 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
171 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
172 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
173 | | ${framesize}= | Set Variable | ${9000}
174 | | ${min_rate}= | Set Variable | ${10000}
175 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
176 | | ${binary_min}= | Set Variable | ${min_rate}
177 | | ${binary_max}= | Set Variable | ${max_rate}
178 | | ${threshold}= | Set Variable | ${min_rate}
179 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
180 | | And   Add PCI devices to DUTs from 3-node single link topology
181 | | And   Apply startup configuration on all VPP DUTs
182 | | And   IPv6 forwarding initialized in a 3-node circular topology
183 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
184 | | ...                                       | ${binary_max} | 3-node-IPv6
185 | | ...                                       | ${min_rate} | ${max_rate}
186 | | ...                                       | ${threshold}
187 | | ...                                       | ${perf_pdr_loss_acceptance}
188 | | ...                                       | ${perf_pdr_loss_acceptance_type}
189
190 | tc07-78B-2t2c-ethip6-ip6base-ndrdisc
191 | | [Documentation]
192 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
193 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 78 Byte frames
194 | | ... | using binary search start at 10GE linerate, step 100kpps.
195 | | [Tags] | 78B | 2T2C | MTHREAD | NDRDISC
196 | | ${framesize}= | Set Variable | ${78}
197 | | ${min_rate}= | Set Variable | ${100000}
198 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
199 | | ${binary_min}= | Set Variable | ${min_rate}
200 | | ${binary_max}= | Set Variable | ${max_rate}
201 | | ${threshold}= | Set Variable | ${min_rate}
202 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
203 | | And   Add PCI devices to DUTs from 3-node single link topology
204 | | And   Add No Multi Seg to all DUTs
205 | | And   Apply startup configuration on all VPP DUTs
206 | | And   IPv6 forwarding initialized in a 3-node circular topology
207 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
208 | | ...                                       | ${binary_max} | 3-node-IPv6
209 | | ...                                       | ${min_rate} | ${max_rate}
210 | | ...                                       | ${threshold}
211
212 | tc08-78B-2t2c-ethip6-ip6base-pdrdisc
213 | | [Documentation]
214 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
215 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 78 Byte frames
216 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
217 | | [Tags] | 78B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
218 | | ${framesize}= | Set Variable | ${78}
219 | | ${min_rate}= | Set Variable | ${100000}
220 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
221 | | ${binary_min}= | Set Variable | ${min_rate}
222 | | ${binary_max}= | Set Variable | ${max_rate}
223 | | ${threshold}= | Set Variable | ${min_rate}
224 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
225 | | And   Add PCI devices to DUTs from 3-node single link topology
226 | | And   Add No Multi Seg to all DUTs
227 | | And   Apply startup configuration on all VPP DUTs
228 | | And   IPv6 forwarding initialized in a 3-node circular topology
229 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
230 | | ...                                       | ${binary_max} | 3-node-IPv6
231 | | ...                                       | ${min_rate} | ${max_rate}
232 | | ...                                       | ${threshold}
233 | | ...                                       | ${perf_pdr_loss_acceptance}
234 | | ...                                       | ${perf_pdr_loss_acceptance_type}
235
236 | tc09-1518B-2t2c-ethip6-ip6base-ndrdisc
237 | | [Documentation]
238 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
239 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
240 | | ... | using binary search start at 10GE linerate, step 10kpps.
241 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
242 | | ${framesize}= | Set Variable | ${1518}
243 | | ${min_rate}= | Set Variable | ${10000}
244 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
245 | | ${binary_min}= | Set Variable | ${min_rate}
246 | | ${binary_max}= | Set Variable | ${max_rate}
247 | | ${threshold}= | Set Variable | ${min_rate}
248 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
249 | | And   Add PCI devices to DUTs from 3-node single link topology
250 | | And   Add No Multi Seg to all DUTs
251 | | And   Apply startup configuration on all VPP DUTs
252 | | And   IPv6 forwarding initialized in a 3-node circular topology
253 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
254 | | ...                                       | ${binary_max} | 3-node-IPv6
255 | | ...                                       | ${min_rate} | ${max_rate}
256 | | ...                                       | ${threshold}
257
258 | tc10-1518B-2t2c-ethip6-ip6base-pdrdisc
259 | | [Documentation]
260 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
261 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
262 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
263 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
264 | | ${framesize}= | Set Variable | ${1518}
265 | | ${min_rate}= | Set Variable | ${10000}
266 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
267 | | ${binary_min}= | Set Variable | ${min_rate}
268 | | ${binary_max}= | Set Variable | ${max_rate}
269 | | ${threshold}= | Set Variable | ${min_rate}
270 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
271 | | And   Add PCI devices to DUTs from 3-node single link topology
272 | | And   Add No Multi Seg to all DUTs
273 | | And   Apply startup configuration on all VPP DUTs
274 | | And   IPv6 forwarding initialized in a 3-node circular topology
275 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
276 | | ...                                       | ${binary_max} | 3-node-IPv6
277 | | ...                                       | ${min_rate} | ${max_rate}
278 | | ...                                       | ${threshold}
279 | | ...                                       | ${perf_pdr_loss_acceptance}
280 | | ...                                       | ${perf_pdr_loss_acceptance_type}
281
282 | tc11-9000B-2t2c-ethip6-ip6base-ndrdisc
283 | | [Documentation]
284 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
285 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
286 | | ... | using binary search start at 10GE linerate, step 5kpps.
287 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
288 | | ${framesize}= | Set Variable | ${9000}
289 | | ${min_rate}= | Set Variable | ${10000}
290 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
291 | | ${binary_min}= | Set Variable | ${min_rate}
292 | | ${binary_max}= | Set Variable | ${max_rate}
293 | | ${threshold}= | Set Variable | ${min_rate}
294 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
295 | | And   Add PCI devices to DUTs from 3-node single link topology
296 | | And   Apply startup configuration on all VPP DUTs
297 | | And   IPv6 forwarding initialized in a 3-node circular topology
298 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
299 | | ...                                       | ${binary_max} | 3-node-IPv6
300 | | ...                                       | ${min_rate} | ${max_rate}
301 | | ...                                       | ${threshold}
302
303 | tc12-9000B-2t2c-ethip6-ip6base-pdrdisc
304 | | [Documentation]
305 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
306 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
307 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
308 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
309 | | ${framesize}= | Set Variable | ${9000}
310 | | ${min_rate}= | Set Variable | ${10000}
311 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
312 | | ${binary_min}= | Set Variable | ${min_rate}
313 | | ${binary_max}= | Set Variable | ${max_rate}
314 | | ${threshold}= | Set Variable | ${min_rate}
315 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
316 | | And   Add PCI devices to DUTs from 3-node single link topology
317 | | And   Apply startup configuration on all VPP DUTs
318 | | And   IPv6 forwarding initialized in a 3-node circular topology
319 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
320 | | ...                                       | ${binary_max} | 3-node-IPv6
321 | | ...                                       | ${min_rate} | ${max_rate}
322 | | ...                                       | ${threshold}
323 | | ...                                       | ${perf_pdr_loss_acceptance}
324 | | ...                                       | ${perf_pdr_loss_acceptance_type}
325
326 | tc13-78B-4t4c-ethip6-ip6base-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 rxqueues '2' in 3-node single-link topo
339 | | And   Add PCI devices to DUTs from 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   IPv6 forwarding initialized in a 3-node circular topology
343 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
344 | | ...                                       | ${binary_max} | 3-node-IPv6
345 | | ...                                       | ${min_rate} | ${max_rate}
346 | | ...                                       | ${threshold}
347
348 | tc14-78B-4t4c-ethip6-ip6base-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 rxqueues '2' in 3-node single-link topo
361 | | And   Add PCI devices to DUTs from 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   IPv6 forwarding initialized in a 3-node circular topology
365 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
366 | | ...                                       | ${binary_max} | 3-node-IPv6
367 | | ...                                       | ${min_rate} | ${max_rate}
368 | | ...                                       | ${threshold}
369 | | ...                                       | ${perf_pdr_loss_acceptance}
370 | | ...                                       | ${perf_pdr_loss_acceptance_type}
371
372 | tc15-1518B-4t4c-ethip6-ip6base-ndrdisc
373 | | [Documentation]
374 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
375 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
376 | | ... | using binary search start at 10GE linerate, step 10kpps.
377 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
378 | | ${framesize}= | Set Variable | ${1518}
379 | | ${min_rate}= | Set Variable | ${10000}
380 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
381 | | ${binary_min}= | Set Variable | ${min_rate}
382 | | ${binary_max}= | Set Variable | ${max_rate}
383 | | ${threshold}= | Set Variable | ${min_rate}
384 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
385 | | And   Add PCI devices to DUTs from 3-node single link topology
386 | | And   Add No Multi Seg to all DUTs
387 | | And   Apply startup configuration on all VPP DUTs
388 | | And   IPv6 forwarding initialized in a 3-node circular topology
389 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
390 | | ...                                       | ${binary_max} | 3-node-IPv6
391 | | ...                                       | ${min_rate} | ${max_rate}
392 | | ...                                       | ${threshold}
393
394 | tc16-1518B-4t4c-ethip6-ip6base-pdrdisc
395 | | [Documentation]
396 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
397 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
398 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
399 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
400 | | ${framesize}= | Set Variable | ${1518}
401 | | ${min_rate}= | Set Variable | ${10000}
402 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
403 | | ${binary_min}= | Set Variable | ${min_rate}
404 | | ${binary_max}= | Set Variable | ${max_rate}
405 | | ${threshold}= | Set Variable | ${min_rate}
406 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
407 | | And   Add PCI devices to DUTs from 3-node single link topology
408 | | And   Add No Multi Seg to all DUTs
409 | | And   Apply startup configuration on all VPP DUTs
410 | | And   IPv6 forwarding initialized in a 3-node circular topology
411 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
412 | | ...                                       | ${binary_max} | 3-node-IPv6
413 | | ...                                       | ${min_rate} | ${max_rate}
414 | | ...                                       | ${threshold}
415 | | ...                                       | ${perf_pdr_loss_acceptance}
416 | | ...                                       | ${perf_pdr_loss_acceptance_type}
417
418 | tc17-9000B-4t4c-ethip6-ip6base-ndrdisc
419 | | [Documentation]
420 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
421 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
422 | | ... | using binary search start at 10GE linerate, step 5kpps.
423 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
424 | | ${framesize}= | Set Variable | ${9000}
425 | | ${min_rate}= | Set Variable | ${10000}
426 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
427 | | ${binary_min}= | Set Variable | ${min_rate}
428 | | ${binary_max}= | Set Variable | ${max_rate}
429 | | ${threshold}= | Set Variable | ${min_rate}
430 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
431 | | And   Add PCI devices to DUTs from 3-node single link topology
432 | | And   Apply startup configuration on all VPP DUTs
433 | | And   IPv6 forwarding initialized in a 3-node circular topology
434 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
435 | | ...                                       | ${binary_max} | 3-node-IPv6
436 | | ...                                       | ${min_rate} | ${max_rate}
437 | | ...                                       | ${threshold}
438
439 | tc18-9000B-4t4c-ethip6-ip6base-pdrdisc
440 | | [Documentation]
441 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
442 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
443 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
444 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
445 | | ${framesize}= | Set Variable | ${9000}
446 | | ${min_rate}= | Set Variable | ${10000}
447 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
448 | | ${binary_min}= | Set Variable | ${min_rate}
449 | | ${binary_max}= | Set Variable | ${max_rate}
450 | | ${threshold}= | Set Variable | ${min_rate}
451 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
452 | | And   Add PCI devices to DUTs from 3-node single link topology
453 | | And   Apply startup configuration on all VPP DUTs
454 | | And   IPv6 forwarding initialized in a 3-node circular topology
455 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
456 | | ...                                       | ${binary_max} | 3-node-IPv6
457 | | ...                                       | ${min_rate} | ${max_rate}
458 | | ...                                       | ${threshold}
459 | | ...                                       | ${perf_pdr_loss_acceptance}
460 | | ...                                       | ${perf_pdr_loss_acceptance_type}