CSIT-530: Add common setup and teardown to perf tests
[csit.git] / dpdk-tests / perf / 10ge2p1x520-eth-l2xcbase-testpmd-ndrdisc.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 | 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-X520-DA2 | DPDK | ETH | L2XCFWD | BASE
23 | Suite Setup | DPDK 3-node Performance Suite Setup with DUT's NIC model
24 | ... | L2 | Intel-X520-DA2
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 | ... | 2p10GE NIC X520 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 # X520-DA2 bandwidth limit
50 | ${s_limit} | ${10000000000}
51
52 *** Test Cases ***
53 | tc01-64B-1t1c-eth-l2xcbase-testpmd-ndrdisc
54 | | [Documentation]
55 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
56 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames\
57 | | ... | using binary search start at 10GE linerate, step 100kpps.
58 | | [Tags] | 1T1C | STHREAD | NDRDISC
59 | | ${framesize}= | Set Variable | ${64}
60 | | ${min_rate}= | Set Variable | ${100000}
61 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
62 | | ${binary_min}= | Set Variable | ${min_rate}
63 | | ${binary_max}= | Set Variable | ${max_rate}
64 | | ${threshold}= | Set Variable | ${min_rate}
65 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
66 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
67 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
68 | | ... | ${threshold}
69
70 | tc02-64B-1t1c-eth-l2xcbase-testpmd-pdrdisc
71 | | [Documentation]
72 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
73 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames\
74 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
75 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
76 | | ${framesize}= | Set Variable | ${64}
77 | | ${min_rate}= | Set Variable | ${100000}
78 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
79 | | ${binary_min}= | Set Variable | ${min_rate}
80 | | ${binary_max}= | Set Variable | ${max_rate}
81 | | ${threshold}= | Set Variable | ${min_rate}
82 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
83 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
84 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
85 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
86 | | ... | ${perf_pdr_loss_acceptance_type}
87
88 | tc03-1518B-1t1c-eth-l2xcbase-testpmd-ndrdisc
89 | | [Documentation]
90 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
91 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames\
92 | | ... | using binary search start at 10GE linerate, step 10kpps.
93 | | [Tags] | 1T1C | STHREAD | NDRDISC
94 | | ${framesize}= | Set Variable | ${1518}
95 | | ${min_rate}= | Set Variable | ${10000}
96 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
97 | | ${binary_min}= | Set Variable | ${min_rate}
98 | | ${binary_max}= | Set Variable | ${max_rate}
99 | | ${threshold}= | Set Variable | ${min_rate}
100 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
101 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
102 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
103 | | ... | ${threshold}
104
105 | tc04-1518B-1t1c-eth-l2xcbase-testpmd-pdrdisc
106 | | [Documentation]
107 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
108 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames\
109 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
110 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
111 | | ${framesize}= | Set Variable | ${1518}
112 | | ${min_rate}= | Set Variable | ${10000}
113 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
114 | | ${binary_min}= | Set Variable | ${min_rate}
115 | | ${binary_max}= | Set Variable | ${max_rate}
116 | | ${threshold}= | Set Variable | ${min_rate}
117 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no'
118 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
119 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
120 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
121 | | ... | ${perf_pdr_loss_acceptance_type}
122
123 | tc05-9000B-1t1c-eth-l2xcbase-testpmd-ndrdisc
124 | | [Documentation]
125 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
126 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames\
127 | | ... | using binary search start at 10GE linerate, step 10kpps.
128 | | [Tags] | 1T1C | STHREAD | NDRDISC
129 | | ${framesize}= | Set Variable | ${9000}
130 | | ${min_rate}= | Set Variable | ${10000}
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 Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes'
136 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
137 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
138 | | ... | ${threshold}
139
140 | tc06-9000B-1t1c-eth-l2xcbase-testpmd-pdrdisc
141 | | [Documentation]
142 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 thread, 1 phy core,\
143 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames\
144 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
145 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
146 | | ${framesize}= | Set Variable | ${9000}
147 | | ${min_rate}= | Set Variable | ${10000}
148 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
149 | | ${binary_min}= | Set Variable | ${min_rate}
150 | | ${binary_max}= | Set Variable | ${max_rate}
151 | | ${threshold}= | Set Variable | ${min_rate}
152 | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes'
153 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
154 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
155 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
156 | | ... | ${perf_pdr_loss_acceptance_type}
157
158 | tc07-64B-2t2c-eth-l2xcbase-testpmd-ndrdisc
159 | | [Documentation]
160 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
161 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte\
162 | | ... | frames using binary search start at 10GE linerate, step 100kpps.
163 | | [Tags] | 2T2C | MTHREAD | NDRDISC
164 | | ${framesize}= | Set Variable | ${64}
165 | | ${min_rate}= | Set Variable | ${100000}
166 | | ${max_rate}= | Calculate pps | ${s_limit} | ${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 '2' worker threads and rxqueues '1' with jumbo frames 'no'
171 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
172 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
173 | | ... | ${threshold}
174
175 | tc08-64B-2t2c-eth-l2xcbase-testpmd-pdrdisc
176 | | [Documentation]
177 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
178 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte\
179 | | ... | frames using binary search start at 10GE linerate, step 100kpps,\
180 | | ... | LT=0.5%.
181 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
182 | | ${framesize}= | Set Variable | ${64}
183 | | ${min_rate}= | Set Variable | ${100000}
184 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
185 | | ${binary_min}= | Set Variable | ${min_rate}
186 | | ${binary_max}= | Set Variable | ${max_rate}
187 | | ${threshold}= | Set Variable | ${min_rate}
188 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
189 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
190 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
191 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
192 | | ... | ${perf_pdr_loss_acceptance_type}
193
194 | tc09-1518B-2t2c-eth-l2xcbase-testpmd-ndrdisc
195 | | [Documentation]
196 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
197 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte\
198 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
199 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
200 | | ${framesize}= | Set Variable | ${1518}
201 | | ${min_rate}= | Set Variable | ${10000}
202 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
203 | | ${binary_min}= | Set Variable | ${min_rate}
204 | | ${binary_max}= | Set Variable | ${max_rate}
205 | | ${threshold}= | Set Variable | ${min_rate}
206 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
207 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
208 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
209 | | ... | ${threshold}
210
211 | tc10-1518B-2t2c-eth-l2xcbase-testpmd-pdrdisc
212 | | [Documentation]
213 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
214 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte\
215 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
216 | | ... | LT=0.5%.
217 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
218 | | ${framesize}= | Set Variable | ${1518}
219 | | ${min_rate}= | Set Variable | ${10000}
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 Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no'
225 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
226 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
227 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
228 | | ... | ${perf_pdr_loss_acceptance_type}
229
230 | tc11-9000B-2t2c-eth-l2xcbase-testpmd-ndrdisc
231 | | [Documentation]
232 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
233 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte\
234 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
235 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
236 | | ${framesize}= | Set Variable | ${9000}
237 | | ${min_rate}= | Set Variable | ${10000}
238 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
239 | | ${binary_min}= | Set Variable | ${min_rate}
240 | | ${binary_max}= | Set Variable | ${max_rate}
241 | | ${threshold}= | Set Variable | ${min_rate}
242 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes'
243 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
244 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
245 | | ... | ${threshold}
246
247 | tc12-9000B-2t2c-eth-l2xcbase-testpmd-pdrdisc
248 | | [Documentation]
249 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads, 2 phy\
250 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte\
251 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
252 | | ... | LT=0.5%.
253 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
254 | | ${framesize}= | Set Variable | ${9000}
255 | | ${min_rate}= | Set Variable | ${10000}
256 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
257 | | ${binary_min}= | Set Variable | ${min_rate}
258 | | ${binary_max}= | Set Variable | ${max_rate}
259 | | ${threshold}= | Set Variable | ${min_rate}
260 | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes'
261 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
262 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
263 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
264 | | ... | ${perf_pdr_loss_acceptance_type}
265
266 | tc13-64B-4t4c-eth-l2xcbase-testpmd-ndrdisc
267 | | [Documentation]
268 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
269 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte\
270 | | ... | frames using binary search start at 10GE linerate, step 100kpps.
271 | | [Tags] | 4T4C | MTHREAD | NDRDISC
272 | | ${framesize}= | Set Variable | ${64}
273 | | ${min_rate}= | Set Variable | ${100000}
274 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
275 | | ${binary_min}= | Set Variable | ${min_rate}
276 | | ${binary_max}= | Set Variable | ${max_rate}
277 | | ${threshold}= | Set Variable | ${min_rate}
278 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
279 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
280 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
281 | | ... | ${threshold}
282
283 | tc14-64B-4t4c-eth-l2xcbase-testpmd-pdrdisc
284 | | [Documentation]
285 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
286 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte\
287 | | ... | frames using binary search start at 10GE linerate, step 100kpps,\
288 | | ... | LT=0.5%.
289 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
290 | | ${framesize}= | Set Variable | ${64}
291 | | ${min_rate}= | Set Variable | ${100000}
292 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
293 | | ${binary_min}= | Set Variable | ${min_rate}
294 | | ${binary_max}= | Set Variable | ${max_rate}
295 | | ${threshold}= | Set Variable | ${min_rate}
296 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
297 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
298 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
299 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
300 | | ... | ${perf_pdr_loss_acceptance_type}
301
302 | tc15-1518B-4t4c-eth-l2xcbase-testpmd-ndrdisc
303 | | [Documentation]
304 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
305 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte\
306 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
307 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
308 | | ${framesize}= | Set Variable | ${1518}
309 | | ${min_rate}= | Set Variable | ${10000}
310 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
311 | | ${binary_min}= | Set Variable | ${min_rate}
312 | | ${binary_max}= | Set Variable | ${max_rate}
313 | | ${threshold}= | Set Variable | ${min_rate}
314 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
315 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
316 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
317 | | ... | ${threshold}
318
319 | tc16-1518B-4t4c-eth-l2xcbase-testpmd-pdrdisc
320 | | [Documentation]
321 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
322 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte\
323 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
324 | | ... | LT=0.5%.
325 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
326 | | ${framesize}= | Set Variable | ${1518}
327 | | ${min_rate}= | Set Variable | ${10000}
328 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
329 | | ${binary_min}= | Set Variable | ${min_rate}
330 | | ${binary_max}= | Set Variable | ${max_rate}
331 | | ${threshold}= | Set Variable | ${min_rate}
332 | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no'
333 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
334 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
335 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
336 | | ... | ${perf_pdr_loss_acceptance_type}
337
338 | tc17-9000B-4t4c-eth-l2xcbase-testpmd-ndrdisc
339 | | [Documentation]
340 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
341 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte\
342 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
343 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
344 | | ${framesize}= | Set Variable | ${9000}
345 | | ${min_rate}= | Set Variable | ${10000}
346 | | ${max_rate}= | Calculate pps | ${s_limit} | ${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 'yes'
351 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
352 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
353 | | ... | ${threshold}
354
355 | tc18-9000B-4t4c-eth-l2xcbase-testpmd-pdrdisc
356 | | [Documentation]
357 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads, 4 phy\
358 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte
359 | | ... | frames using binary search start at 10GE linerate, step 5kpps,\
360 | | ... | LT=0.5%.
361 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
362 | | ${framesize}= | Set Variable | ${9000}
363 | | ${min_rate}= | Set Variable | ${10000}
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 Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes'
369 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
370 | | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate}
371 | | ... | ${threshold} | ${perf_pdr_loss_acceptance}
372 | | ... | ${perf_pdr_loss_acceptance_type}