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