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