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