82365737c7d9970dce184d7380c6792c9d7ce774
[csit.git] / tests / dpdk / perf / 10ge2p1x520-eth-l2xcbase-testpmd-ndrpdrdisc.robot
1 # Copyright (c) 2018 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 | 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 | Set up DPDK 3-node performance topology with DUT's NIC model
24 | ... | L2 | Intel-X520-DA2
25 | Suite Teardown | Tear down DPDK 3-node performance topology
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 # Traffic profile:
52 | ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
53
54 *** Test Cases ***
55 | tc01-64B-1t1c-eth-l2xcbase-testpmd-ndrdisc
56 | | [Documentation]
57 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 phy core,\
58 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames\
59 | | ... | using binary search start at 10GE linerate, step 100kpps.
60 | | ...
61 | | [Tags] | 64B | 1C | NDRDISC
62 | | ...
63 | | ${framesize}= | Set Variable | ${64}
64 | | ${min_rate}= | Set Variable | ${100000}
65 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
66 | | ${binary_min}= | Set Variable | ${min_rate}
67 | | ${binary_max}= | Set Variable | ${max_rate}
68 | | ${threshold}= | Set Variable | ${min_rate}
69 | | Given Start L2FWD on all DUTs | 1 | 1 | no
70 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
71 | | ... | ${binary_max} | ${traffic_profile}
72 | | ... | ${min_rate} | ${max_rate} | ${threshold}
73
74 | tc02-64B-1t1c-eth-l2xcbase-testpmd-pdrdisc
75 | | [Documentation]
76 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 phy core,\
77 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames\
78 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
79 | | ...
80 | | [Tags] | 64B | 1C | PDRDISC | SKIP_PATCH
81 | | ...
82 | | ${framesize}= | Set Variable | ${64}
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 Start L2FWD on all DUTs | 1 | 1 | no
89 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
90 | | ... | ${binary_max} | ${traffic_profile}
91 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
92 | | ... | ${perf_pdr_loss_acceptance_type}
93
94 | tc03-1518B-1t1c-eth-l2xcbase-testpmd-ndrdisc
95 | | [Documentation]
96 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 phy core,\
97 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames\
98 | | ... | using binary search start at 10GE linerate, step 10kpps.
99 | | ...
100 | | [Tags] | 1518B | 1C | NDRDISC
101 | | ...
102 | | ${framesize}= | Set Variable | ${1518}
103 | | ${min_rate}= | Set Variable | ${10000}
104 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
105 | | ${binary_min}= | Set Variable | ${min_rate}
106 | | ${binary_max}= | Set Variable | ${max_rate}
107 | | ${threshold}= | Set Variable | ${min_rate}
108 | | Given Start L2FWD on all DUTs | 1 | 1 | no
109 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
110 | | ... | ${binary_max} | ${traffic_profile}
111 | | ... | ${min_rate} | ${max_rate} | ${threshold}
112
113 | tc04-1518B-1t1c-eth-l2xcbase-testpmd-pdrdisc
114 | | [Documentation]
115 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 phy core,\
116 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames\
117 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
118 | | ...
119 | | [Tags] | 1518B | 1C | PDRDISC | SKIP_PATCH
120 | | ...
121 | | ${framesize}= | Set Variable | ${1518}
122 | | ${min_rate}= | Set Variable | ${10000}
123 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
124 | | ${binary_min}= | Set Variable | ${min_rate}
125 | | ${binary_max}= | Set Variable | ${max_rate}
126 | | ${threshold}= | Set Variable | ${min_rate}
127 | | Given Start L2FWD on all DUTs | 1 | 1 | no
128 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
129 | | ... | ${binary_max} | ${traffic_profile}
130 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
131 | | ... | ${perf_pdr_loss_acceptance_type}
132
133 | tc05-9000B-1t1c-eth-l2xcbase-testpmd-ndrdisc
134 | | [Documentation]
135 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 phy core,\
136 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames\
137 | | ... | using binary search start at 10GE linerate, step 10kpps.
138 | | ...
139 | | [Tags] | 9000B | 1C | NDRDISC
140 | | ...
141 | | ${framesize}= | Set Variable | ${9000}
142 | | ${min_rate}= | Set Variable | ${10000}
143 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
144 | | ${binary_min}= | Set Variable | ${min_rate}
145 | | ${binary_max}= | Set Variable | ${max_rate}
146 | | ${threshold}= | Set Variable | ${min_rate}
147 | | Given Start L2FWD on all DUTs | 1 | 1 | yes
148 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
149 | | ... | ${binary_max} | ${traffic_profile}
150 | | ... | ${min_rate} | ${max_rate} | ${threshold}
151
152 | tc06-9000B-1t1c-eth-l2xcbase-testpmd-pdrdisc
153 | | [Documentation]
154 | | ... | [Cfg] DUT runs L2 frame forwarding config with 1 phy core,\
155 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames\
156 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
157 | | ...
158 | | [Tags] | 9000B | 1C | PDRDISC | SKIP_PATCH
159 | | ...
160 | | ${framesize}= | Set Variable | ${9000}
161 | | ${min_rate}= | Set Variable | ${10000}
162 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
163 | | ${binary_min}= | Set Variable | ${min_rate}
164 | | ${binary_max}= | Set Variable | ${max_rate}
165 | | ${threshold}= | Set Variable | ${min_rate}
166 | | Given Start L2FWD on all DUTs | 1 | 1 | yes
167 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
168 | | ... | ${binary_max} | ${traffic_profile}
169 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
170 | | ... | ${perf_pdr_loss_acceptance_type}
171
172 | tc07-64B-2t2c-eth-l2xcbase-testpmd-ndrdisc
173 | | [Documentation]
174 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 phy\
175 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte\
176 | | ... | frames using binary search start at 10GE linerate, step 100kpps.
177 | | ...
178 | | [Tags] | 64B | 2C | NDRDISC
179 | | ...
180 | | ${framesize}= | Set Variable | ${64}
181 | | ${min_rate}= | Set Variable | ${100000}
182 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
183 | | ${binary_min}= | Set Variable | ${min_rate}
184 | | ${binary_max}= | Set Variable | ${max_rate}
185 | | ${threshold}= | Set Variable | ${min_rate}
186 | | Given Start L2FWD on all DUTs | 2 | 1 | no
187 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
188 | | ... | ${binary_max} | ${traffic_profile}
189 | | ... | ${min_rate} | ${max_rate} | ${threshold}
190
191 | tc08-64B-2t2c-eth-l2xcbase-testpmd-pdrdisc
192 | | [Documentation]
193 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 phy\
194 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte\
195 | | ... | frames using binary search start at 10GE linerate, step 100kpps,\
196 | | ... | LT=0.5%.
197 | | ...
198 | | [Tags] | 64B | 2C | PDRDISC | SKIP_PATCH
199 | | ...
200 | | ${framesize}= | Set Variable | ${64}
201 | | ${min_rate}= | Set Variable | ${100000}
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 on all DUTs | 2 | 1 | no
207 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
208 | | ... | ${binary_max} | ${traffic_profile}
209 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
210 | | ... | ${perf_pdr_loss_acceptance_type}
211
212 | tc09-1518B-2t2c-eth-l2xcbase-testpmd-ndrdisc
213 | | [Documentation]
214 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 phy\
215 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte\
216 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
217 | | ...
218 | | [Tags] | 1518B | 2C | NDRDISC | SKIP_PATCH
219 | | ...
220 | | ${framesize}= | Set Variable | ${1518}
221 | | ${min_rate}= | Set Variable | ${10000}
222 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
223 | | ${binary_min}= | Set Variable | ${min_rate}
224 | | ${binary_max}= | Set Variable | ${max_rate}
225 | | ${threshold}= | Set Variable | ${min_rate}
226 | | Given Start L2FWD on all DUTs | 2 | 1 | no
227 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
228 | | ... | ${binary_max} | ${traffic_profile}
229 | | ... | ${min_rate} | ${max_rate} | ${threshold}
230
231 | tc10-1518B-2t2c-eth-l2xcbase-testpmd-pdrdisc
232 | | [Documentation]
233 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 phy\
234 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte\
235 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
236 | | ... | LT=0.5%.
237 | | ...
238 | | [Tags] | 1518B | 2C | PDRDISC | SKIP_PATCH
239 | | ...
240 | | ${framesize}= | Set Variable | ${1518}
241 | | ${min_rate}= | Set Variable | ${10000}
242 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
243 | | ${binary_min}= | Set Variable | ${min_rate}
244 | | ${binary_max}= | Set Variable | ${max_rate}
245 | | ${threshold}= | Set Variable | ${min_rate}
246 | | Given Start L2FWD on all DUTs | 2 | 1 | no
247 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
248 | | ... | ${binary_max} | ${traffic_profile}
249 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
250 | | ... | ${perf_pdr_loss_acceptance_type}
251
252 | tc11-9000B-2t2c-eth-l2xcbase-testpmd-ndrdisc
253 | | [Documentation]
254 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 phy\
255 | | ... | cores, 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte\
256 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
257 | | ...
258 | | [Tags] | 9000B | 2C | NDRDISC | SKIP_PATCH
259 | | ...
260 | | ${framesize}= | Set Variable | ${9000}
261 | | ${min_rate}= | Set Variable | ${10000}
262 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
263 | | ${binary_min}= | Set Variable | ${min_rate}
264 | | ${binary_max}= | Set Variable | ${max_rate}
265 | | ${threshold}= | Set Variable | ${min_rate}
266 | | Given Start L2FWD on all DUTs | 2 | 1 | yes
267 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
268 | | ... | ${binary_max} | ${traffic_profile}
269 | | ... | ${min_rate} | ${max_rate} | ${threshold}
270
271 | tc12-9000B-2t2c-eth-l2xcbase-testpmd-pdrdisc
272 | | [Documentation]
273 | | ... | [Cfg] DUT runs L2 frame forwarding config with 2 phy\
274 | | ... | cores, 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte\
275 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
276 | | ... | LT=0.5%.
277 | | ...
278 | | [Tags] | 9000B | 2C | PDRDISC | SKIP_PATCH
279 | | ...
280 | | ${framesize}= | Set Variable | ${9000}
281 | | ${min_rate}= | Set Variable | ${10000}
282 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
283 | | ${binary_min}= | Set Variable | ${min_rate}
284 | | ${binary_max}= | Set Variable | ${max_rate}
285 | | ${threshold}= | Set Variable | ${min_rate}
286 | | Given Start L2FWD on all DUTs | 2 | 1 | yes
287 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
288 | | ... | ${binary_max} | ${traffic_profile}
289 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
290 | | ... | ${perf_pdr_loss_acceptance_type}
291
292 | tc13-64B-4t4c-eth-l2xcbase-testpmd-ndrdisc
293 | | [Documentation]
294 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 phy\
295 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte\
296 | | ... | frames using binary search start at 10GE linerate, step 100kpps.
297 | | ...
298 | | [Tags] | 64B | 4C | NDRDISC
299 | | ...
300 | | ${framesize}= | Set Variable | ${64}
301 | | ${min_rate}= | Set Variable | ${100000}
302 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
303 | | ${binary_min}= | Set Variable | ${min_rate}
304 | | ${binary_max}= | Set Variable | ${max_rate}
305 | | ${threshold}= | Set Variable | ${min_rate}
306 | | Given Start L2FWD on all DUTs | 4 | 2 | no
307 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
308 | | ... | ${binary_max} | ${traffic_profile}
309 | | ... | ${min_rate} | ${max_rate} | ${threshold}
310
311 | tc14-64B-4t4c-eth-l2xcbase-testpmd-pdrdisc
312 | | [Documentation]
313 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 phy\
314 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte\
315 | | ... | frames using binary search start at 10GE linerate, step 100kpps,\
316 | | ... | LT=0.5%.
317 | | ...
318 | | [Tags] | 64B | 4C | PDRDISC | SKIP_PATCH
319 | | ...
320 | | ${framesize}= | Set Variable | ${64}
321 | | ${min_rate}= | Set Variable | ${100000}
322 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
323 | | ${binary_min}= | Set Variable | ${min_rate}
324 | | ${binary_max}= | Set Variable | ${max_rate}
325 | | ${threshold}= | Set Variable | ${min_rate}
326 | | Given Start L2FWD on all DUTs | 4 | 2 | no
327 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
328 | | ... | ${binary_max} | ${traffic_profile}
329 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
330 | | ... | ${perf_pdr_loss_acceptance_type}
331
332 | tc15-1518B-4t4c-eth-l2xcbase-testpmd-ndrdisc
333 | | [Documentation]
334 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 phy\
335 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte\
336 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
337 | | ...
338 | | [Tags] | 1518B | 4C | NDRDISC | SKIP_PATCH
339 | | ...
340 | | ${framesize}= | Set Variable | ${1518}
341 | | ${min_rate}= | Set Variable | ${10000}
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 Start L2FWD on all DUTs | 4 | 2 | no
347 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
348 | | ... | ${binary_max} | ${traffic_profile}
349 | | ... | ${min_rate} | ${max_rate} | ${threshold}
350
351 | tc16-1518B-4t4c-eth-l2xcbase-testpmd-pdrdisc
352 | | [Documentation]
353 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 phy\
354 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte\
355 | | ... | frames using binary search start at 10GE linerate, step 10kpps,\
356 | | ... | LT=0.5%.
357 | | ...
358 | | [Tags] | 1518B | 4C | PDRDISC | SKIP_PATCH
359 | | ...
360 | | ${framesize}= | Set Variable | ${1518}
361 | | ${min_rate}= | Set Variable | ${10000}
362 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
363 | | ${binary_min}= | Set Variable | ${min_rate}
364 | | ${binary_max}= | Set Variable | ${max_rate}
365 | | ${threshold}= | Set Variable | ${min_rate}
366 | | Given Start L2FWD on all DUTs | 4 | 2 | no
367 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
368 | | ... | ${binary_max} | ${traffic_profile}
369 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
370 | | ... | ${perf_pdr_loss_acceptance_type}
371
372 | tc17-9000B-4t4c-eth-l2xcbase-testpmd-ndrdisc
373 | | [Documentation]
374 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 phy\
375 | | ... | cores, 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte\
376 | | ... | frames using binary search start at 10GE linerate, step 10kpps.
377 | | ...
378 | | [Tags] | 9000B | 4C | NDRDISC | SKIP_PATCH
379 | | ...
380 | | ${framesize}= | Set Variable | ${9000}
381 | | ${min_rate}= | Set Variable | ${10000}
382 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
383 | | ${binary_min}= | Set Variable | ${min_rate}
384 | | ${binary_max}= | Set Variable | ${max_rate}
385 | | ${threshold}= | Set Variable | ${min_rate}
386 | | Given Start L2FWD on all DUTs | 4 | 2 | yes
387 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
388 | | ... | ${binary_max} | ${traffic_profile}
389 | | ... | ${min_rate} | ${max_rate} | ${threshold}
390
391 | tc18-9000B-4t4c-eth-l2xcbase-testpmd-pdrdisc
392 | | [Documentation]
393 | | ... | [Cfg] DUT runs L2 frame forwarding config with 4 phy\
394 | | ... | cores, 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte
395 | | ... | frames using binary search start at 10GE linerate, step 5kpps,\
396 | | ... | LT=0.5%.
397 | | ...
398 | | [Tags] | 9000B | 4C | PDRDISC | SKIP_PATCH
399 | | ...
400 | | ${framesize}= | Set Variable | ${9000}
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 Start L2FWD on all DUTs | 4 | 2 | yes
407 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
408 | | ... | ${binary_max} | ${traffic_profile}
409 | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
410 | | ... | ${perf_pdr_loss_acceptance_type}