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