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