CSIT-576 HC Test: Improve SPAN test coverage
[csit.git] / tests / perf / 10ge2p1x520-ethip4vxlan-l2xcbase-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 | L2XCFWD | 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 | ... | 3-node-bridge
27 | ...
28 | Documentation | *RFC2544: Pkt throughput L2XC 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 cross-connect 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 cross-
35 | ... | connect. VXLAN tunnels are configured between L2XCs 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
55 *** Test Cases ***
56 | tc01-64B-1t1c-ethip4vxlan-l2xcbase-ndrdisc
57 | | [Documentation]
58 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
59 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
60 | | ... | using binary search start at 10GE linerate, step 100kpps.
61 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
62 | | ${framesize}= | Set Variable | ${64}
63 | | ${min_rate}= | Set Variable | ${100000}
64 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
65 | | ${binary_min}= | Set Variable | ${min_rate}
66 | | ${binary_max}= | Set Variable | ${max_rate}
67 | | ${threshold}= | Set Variable | ${min_rate}
68 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
69 | | And   Add PCI devices to DUTs from 3-node single link topology
70 | | And   Add No Multi Seg to all DUTs
71 | | And   Apply startup configuration on all VPP DUTs
72 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
73 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
74 | | ...                                       | ${binary_max} | 3-node-xconnect
75 | | ...                                       | ${min_rate} | ${max_rate}
76 | | ...                                       | ${threshold}
77
78 | tc02-64B-1t1c-ethip4vxlan-l2xcbase-pdrdisc
79 | | [Documentation]
80 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
81 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
82 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
83 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
84 | | ${framesize}= | Set Variable | ${64}
85 | | ${min_rate}= | Set Variable | ${100000}
86 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
87 | | ${binary_min}= | Set Variable | ${min_rate}
88 | | ${binary_max}= | Set Variable | ${max_rate}
89 | | ${threshold}= | Set Variable | ${min_rate}
90 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
91 | | And   Add PCI devices to DUTs from 3-node single link topology
92 | | And   Add No Multi Seg to all DUTs
93 | | And   Apply startup configuration on all VPP DUTs
94 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
95 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
96 | | ...                                       | ${binary_max} | 3-node-xconnect
97 | | ...                                       | ${min_rate} | ${max_rate}
98 | | ...                                       | ${threshold}
99 | | ...                                       | ${perf_pdr_loss_acceptance}
100 | | ...                                       | ${perf_pdr_loss_acceptance_type}
101
102 | tc03-1518B-1t1c-ethip4vxlan-l2xcbase-ndrdisc
103 | | [Documentation]
104 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
105 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
106 | | ... | using binary search start at 10GE linerate, step 10kpps.
107 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
108 | | ${framesize}= | Set Variable | ${1518}
109 | | ${min_rate}= | Set Variable | ${10000}
110 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
111 | | ${binary_min}= | Set Variable | ${min_rate}
112 | | ${binary_max}= | Set Variable | ${max_rate}
113 | | ${threshold}= | Set Variable | ${min_rate}
114 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
115 | | And   Add PCI devices to DUTs from 3-node single link topology
116 | | And   Apply startup configuration on all VPP DUTs
117 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
118 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
119 | | ...                                       | ${binary_max} | 3-node-xconnect
120 | | ...                                       | ${min_rate} | ${max_rate}
121 | | ...                                       | ${threshold}
122
123 | tc04-1518B-1t1c-ethip4vxlan-l2xcbase-pdrdisc
124 | | [Documentation]
125 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
126 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
127 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
128 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
129 | | ${framesize}= | Set Variable | ${1518}
130 | | ${min_rate}= | Set Variable | ${10000}
131 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
132 | | ${binary_min}= | Set Variable | ${min_rate}
133 | | ${binary_max}= | Set Variable | ${max_rate}
134 | | ${threshold}= | Set Variable | ${min_rate}
135 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
136 | | And   Add PCI devices to DUTs from 3-node single link topology
137 | | And   Apply startup configuration on all VPP DUTs
138 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
139 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
140 | | ...                                       | ${binary_max} | 3-node-xconnect
141 | | ...                                       | ${min_rate} | ${max_rate}
142 | | ...                                       | ${threshold}
143 | | ...                                       | ${perf_pdr_loss_acceptance}
144 | | ...                                       | ${perf_pdr_loss_acceptance_type}
145
146 | tc05-9000B-1t1c-ethip4vxlan-l2xcbase-ndrdisc
147 | | [Documentation]
148 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
149 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
150 | | ... | using binary search start at 10GE linerate, step 5kpps.
151 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
152 | | ${framesize}= | Set Variable | ${9000}
153 | | ${min_rate}= | Set Variable | ${10000}
154 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
155 | | ${binary_min}= | Set Variable | ${min_rate}
156 | | ${binary_max}= | Set Variable | ${max_rate}
157 | | ${threshold}= | Set Variable | ${min_rate}
158 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
159 | | And   Add PCI devices to DUTs from 3-node single link topology
160 | | And   Apply startup configuration on all VPP DUTs
161 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
162 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
163 | | ...                                       | ${binary_max} | 3-node-xconnect
164 | | ...                                       | ${min_rate} | ${max_rate}
165 | | ...                                       | ${threshold}
166
167 | tc06-9000B-1t1c-ethip4vxlan-l2xcbase-pdrdisc
168 | | [Documentation]
169 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
170 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
171 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
172 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
173 | | ${framesize}= | Set Variable | ${9000}
174 | | ${min_rate}= | Set Variable | ${10000}
175 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
176 | | ${binary_min}= | Set Variable | ${min_rate}
177 | | ${binary_max}= | Set Variable | ${max_rate}
178 | | ${threshold}= | Set Variable | ${min_rate}
179 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
180 | | And   Add PCI devices to DUTs from 3-node single link topology
181 | | And   Apply startup configuration on all VPP DUTs
182 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
183 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
184 | | ...                                       | ${binary_max} | 3-node-xconnect
185 | | ...                                       | ${min_rate} | ${max_rate}
186 | | ...                                       | ${threshold}
187 | | ...                                       | ${perf_pdr_loss_acceptance}
188 | | ...                                       | ${perf_pdr_loss_acceptance_type}
189
190 | tc07-64B-2t2c-ethip4vxlan-l2xcbase-ndrdisc
191 | | [Documentation]
192 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
193 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
194 | | ... | using binary search start at 10GE linerate, step 100kpps.
195 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
196 | | ${framesize}= | Set Variable | ${64}
197 | | ${min_rate}= | Set Variable | ${100000}
198 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
199 | | ${binary_min}= | Set Variable | ${min_rate}
200 | | ${binary_max}= | Set Variable | ${max_rate}
201 | | ${threshold}= | Set Variable | ${min_rate}
202 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
203 | | And   Add PCI devices to DUTs from 3-node single link topology
204 | | And   Add No Multi Seg to all DUTs
205 | | And   Apply startup configuration on all VPP DUTs
206 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
207 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
208 | | ...                                       | ${binary_max} | 3-node-xconnect
209 | | ...                                       | ${min_rate} | ${max_rate}
210 | | ...                                       | ${threshold}
211
212 | tc08-64B-2t2c-ethip4vxlan-l2xcbase-pdrdisc
213 | | [Documentation]
214 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
215 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
216 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
217 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
218 | | ${framesize}= | Set Variable | ${64}
219 | | ${min_rate}= | Set Variable | ${100000}
220 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
221 | | ${binary_min}= | Set Variable | ${min_rate}
222 | | ${binary_max}= | Set Variable | ${max_rate}
223 | | ${threshold}= | Set Variable | ${min_rate}
224 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
225 | | And   Add PCI devices to DUTs from 3-node single link topology
226 | | And   Add No Multi Seg to all DUTs
227 | | And   Apply startup configuration on all VPP DUTs
228 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
229 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
230 | | ...                                       | ${binary_max} | 3-node-xconnect
231 | | ...                                       | ${min_rate} | ${max_rate}
232 | | ...                                       | ${threshold}
233 | | ...                                       | ${perf_pdr_loss_acceptance}
234 | | ...                                       | ${perf_pdr_loss_acceptance_type}
235
236 | tc09-1518B-2t2c-ethip4vxlan-l2xcbase-ndrdisc
237 | | [Documentation]
238 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
239 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
240 | | ... | using binary search start at 10GE linerate, step 10kpps.
241 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
242 | | ${framesize}= | Set Variable | ${1518}
243 | | ${min_rate}= | Set Variable | ${10000}
244 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
245 | | ${binary_min}= | Set Variable | ${min_rate}
246 | | ${binary_max}= | Set Variable | ${max_rate}
247 | | ${threshold}= | Set Variable | ${min_rate}
248 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
249 | | And   Add PCI devices to DUTs from 3-node single link topology
250 | | And   Apply startup configuration on all VPP DUTs
251 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
252 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
253 | | ...                                       | ${binary_max} | 3-node-xconnect
254 | | ...                                       | ${min_rate} | ${max_rate}
255 | | ...                                       | ${threshold}
256
257 | tc10-1518B-2t2c-ethip4vxlan-l2xcbase-pdrdisc
258 | | [Documentation]
259 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
260 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
261 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
262 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
263 | | ${framesize}= | Set Variable | ${1518}
264 | | ${min_rate}= | Set Variable | ${10000}
265 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
266 | | ${binary_min}= | Set Variable | ${min_rate}
267 | | ${binary_max}= | Set Variable | ${max_rate}
268 | | ${threshold}= | Set Variable | ${min_rate}
269 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
270 | | And   Add PCI devices to DUTs from 3-node single link topology
271 | | And   Apply startup configuration on all VPP DUTs
272 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
273 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
274 | | ...                                       | ${binary_max} | 3-node-xconnect
275 | | ...                                       | ${min_rate} | ${max_rate}
276 | | ...                                       | ${threshold}
277 | | ...                                       | ${perf_pdr_loss_acceptance}
278 | | ...                                       | ${perf_pdr_loss_acceptance_type}
279
280 | tc11-9000B-2t2c-ethip4vxlan-l2xcbase-ndrdisc
281 | | [Documentation]
282 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
283 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
284 | | ... | using binary search start at 10GE linerate, step 5kpps.
285 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
286 | | ${framesize}= | Set Variable | ${9000}
287 | | ${min_rate}= | Set Variable | ${10000}
288 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
289 | | ${binary_min}= | Set Variable | ${min_rate}
290 | | ${binary_max}= | Set Variable | ${max_rate}
291 | | ${threshold}= | Set Variable | ${min_rate}
292 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
293 | | And   Add PCI devices to DUTs from 3-node single link topology
294 | | And   Apply startup configuration on all VPP DUTs
295 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
296 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
297 | | ...                                       | ${binary_max} | 3-node-xconnect
298 | | ...                                       | ${min_rate} | ${max_rate}
299 | | ...                                       | ${threshold}
300
301 | tc12-9000B-2t2c-ethip4vxlan-l2xcbase-pdrdisc
302 | | [Documentation]
303 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
304 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
305 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
306 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
307 | | ${framesize}= | Set Variable | ${9000}
308 | | ${min_rate}= | Set Variable | ${10000}
309 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
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 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
317 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
318 | | ...                                       | ${binary_max} | 3-node-xconnect
319 | | ...                                       | ${min_rate} | ${max_rate}
320 | | ...                                       | ${threshold}
321 | | ...                                       | ${perf_pdr_loss_acceptance}
322 | | ...                                       | ${perf_pdr_loss_acceptance_type}
323
324 | tc13-64B-4t4c-ethip4vxlan-l2xcbase-ndrdisc
325 | | [Documentation]
326 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
327 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
328 | | ... | using binary search start at 10GE linerate, step 100kpps.
329 | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC
330 | | ${framesize}= | Set Variable | ${64}
331 | | ${min_rate}= | Set Variable | ${100000}
332 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
333 | | ${binary_min}= | Set Variable | ${min_rate}
334 | | ${binary_max}= | Set Variable | ${max_rate}
335 | | ${threshold}= | Set Variable | ${min_rate}
336 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
337 | | And   Add PCI devices to DUTs from 3-node single link topology
338 | | And   Add No Multi Seg to all DUTs
339 | | And   Apply startup configuration on all VPP DUTs
340 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
341 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
342 | | ...                                       | ${binary_max} | 3-node-xconnect
343 | | ...                                       | ${min_rate} | ${max_rate}
344 | | ...                                       | ${threshold}
345
346 | tc14-64B-4t4c-ethip4vxlan-l2xcbase-pdrdisc
347 | | [Documentation]
348 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
349 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
350 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
351 | | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
352 | | ${framesize}= | Set Variable | ${64}
353 | | ${min_rate}= | Set Variable | ${100000}
354 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
355 | | ${binary_min}= | Set Variable | ${min_rate}
356 | | ${binary_max}= | Set Variable | ${max_rate}
357 | | ${threshold}= | Set Variable | ${min_rate}
358 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
359 | | And   Add PCI devices to DUTs from 3-node single link topology
360 | | And   Add No Multi Seg to all DUTs
361 | | And   Apply startup configuration on all VPP DUTs
362 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
363 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
364 | | ...                                       | ${binary_max} | 3-node-xconnect
365 | | ...                                       | ${min_rate} | ${max_rate}
366 | | ...                                       | ${threshold}
367 | | ...                                       | ${perf_pdr_loss_acceptance}
368 | | ...                                       | ${perf_pdr_loss_acceptance_type}
369
370 | tc15-1518B-4t4c-ethip4vxlan-l2xcbase-ndrdisc
371 | | [Documentation]
372 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
373 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
374 | | ... | using binary search start at 10GE linerate, step 10kpps.
375 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
376 | | ${framesize}= | Set Variable | ${1518}
377 | | ${min_rate}= | Set Variable | ${10000}
378 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
379 | | ${binary_min}= | Set Variable | ${min_rate}
380 | | ${binary_max}= | Set Variable | ${max_rate}
381 | | ${threshold}= | Set Variable | ${min_rate}
382 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
383 | | And   Add PCI devices to DUTs from 3-node single link topology
384 | | And   Apply startup configuration on all VPP DUTs
385 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
386 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
387 | | ...                                       | ${binary_max} | 3-node-xconnect
388 | | ...                                       | ${min_rate} | ${max_rate}
389 | | ...                                       | ${threshold}
390
391 | tc16-1518B-4t4c-ethip4vxlan-l2xcbase-pdrdisc
392 | | [Documentation]
393 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
394 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
395 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
396 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
397 | | ${framesize}= | Set Variable | ${1518}
398 | | ${min_rate}= | Set Variable | ${10000}
399 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
400 | | ${binary_min}= | Set Variable | ${min_rate}
401 | | ${binary_max}= | Set Variable | ${max_rate}
402 | | ${threshold}= | Set Variable | ${min_rate}
403 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
404 | | And   Add PCI devices to DUTs from 3-node single link topology
405 | | And   Apply startup configuration on all VPP DUTs
406 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
407 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
408 | | ...                                       | ${binary_max} | 3-node-xconnect
409 | | ...                                       | ${min_rate} | ${max_rate}
410 | | ...                                       | ${threshold}
411 | | ...                                       | ${perf_pdr_loss_acceptance}
412 | | ...                                       | ${perf_pdr_loss_acceptance_type}
413
414 | tc17-9000B-4t4c-ethip4vxlan-l2xcbase-ndrdisc
415 | | [Documentation]
416 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
417 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
418 | | ... | using binary search start at 10GE linerate, step 5kpps.
419 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
420 | | ${framesize}= | Set Variable | ${9000}
421 | | ${min_rate}= | Set Variable | ${10000}
422 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
423 | | ${binary_min}= | Set Variable | ${min_rate}
424 | | ${binary_max}= | Set Variable | ${max_rate}
425 | | ${threshold}= | Set Variable | ${min_rate}
426 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
427 | | And   Add PCI devices to DUTs from 3-node single link topology
428 | | And   Apply startup configuration on all VPP DUTs
429 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
430 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
431 | | ...                                       | ${binary_max} | 3-node-xconnect
432 | | ...                                       | ${min_rate} | ${max_rate}
433 | | ...                                       | ${threshold}
434
435 | tc18-9000B-4t4c-ethip4vxlan-l2xcbase-pdrdisc
436 | | [Documentation]
437 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
438 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
439 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
440 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
441 | | ${framesize}= | Set Variable | ${9000}
442 | | ${min_rate}= | Set Variable | ${10000}
443 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
444 | | ${binary_min}= | Set Variable | ${min_rate}
445 | | ${binary_max}= | Set Variable | ${max_rate}
446 | | ${threshold}= | Set Variable | ${min_rate}
447 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
448 | | And   Add PCI devices to DUTs from 3-node single link topology
449 | | And   Apply startup configuration on all VPP DUTs
450 | | And   L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
451 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
452 | | ...                                       | ${binary_max} | 3-node-xconnect
453 | | ...                                       | ${min_rate} | ${max_rate}
454 | | ...                                       | ${threshold}
455 | | ...                                       | ${perf_pdr_loss_acceptance}
456 | | ...                                       | ${perf_pdr_loss_acceptance_type}