CSIT-604: Bootstrap file for vpp-csit-verify-master-centos7-nightly
[csit.git] / tests / vpp / perf / ip4_tunnels / 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/performance_setup.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 | Set up 3-node performance topology with DUT's NIC model
21 | ... | L2 | Intel-X520-DA2
22 | Suite Teardown | Tear down 3-node performance topology
23 | ...
24 | Test Setup | Set up performance test
25 | ...
26 | Test Teardown | Tear down performance discovery test | ${min_rate}pps
27 | ... | ${framesize} | ${traffic_profile}
28 | ...
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 # Traffic profile:
56 | ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
57
58 *** Test Cases ***
59 | tc01-64B-1t1c-ethip4vxlan-l2xcbase-ndrdisc
60 | | [Documentation]
61 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
62 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
63 | | ... | using binary search start at 10GE linerate, step 100kpps.
64 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
65 | | ${framesize}= | Set Variable | ${64}
66 | | ${min_rate}= | Set Variable | ${100000}
67 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
68 | | ${binary_min}= | Set Variable | ${min_rate}
69 | | ${binary_max}= | Set Variable | ${max_rate}
70 | | ${threshold}= | Set Variable | ${min_rate}
71 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
72 | | And Add PCI devices to DUTs in 3-node single link topology
73 | | And Add no multi seg to all DUTs
74 | | And Apply startup configuration on all VPP DUTs
75 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
76 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
77 | | ... | ${binary_max} | ${traffic_profile}
78 | | ... | ${min_rate} | ${max_rate} | ${threshold}
79
80 | tc02-64B-1t1c-ethip4vxlan-l2xcbase-pdrdisc
81 | | [Documentation]
82 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
83 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
84 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
85 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
86 | | ${framesize}= | Set Variable | ${64}
87 | | ${min_rate}= | Set Variable | ${100000}
88 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
89 | | ${binary_min}= | Set Variable | ${min_rate}
90 | | ${binary_max}= | Set Variable | ${max_rate}
91 | | ${threshold}= | Set Variable | ${min_rate}
92 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
93 | | And Add PCI devices to DUTs in 3-node single link topology
94 | | And Add no multi seg to all DUTs
95 | | And Apply startup configuration on all VPP DUTs
96 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
97 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
98 | | ... | ${binary_max} | ${traffic_profile}
99 | | ... | ${min_rate} | ${max_rate} | ${threshold}
100 | | ... | ${perf_pdr_loss_acceptance} | ${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 '1' rxqueues in 3-node single-link circular topology
115 | | And Add PCI devices to DUTs in 3-node single link topology
116 | | And Apply startup configuration on all VPP DUTs
117 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
118 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
119 | | ... | ${binary_max} | ${traffic_profile}
120 | | ... | ${min_rate} | ${max_rate} | ${threshold}
121
122 | tc04-1518B-1t1c-ethip4vxlan-l2xcbase-pdrdisc
123 | | [Documentation]
124 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
125 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
126 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
127 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
128 | | ${framesize}= | Set Variable | ${1518}
129 | | ${min_rate}= | Set Variable | ${10000}
130 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
131 | | ${binary_min}= | Set Variable | ${min_rate}
132 | | ${binary_max}= | Set Variable | ${max_rate}
133 | | ${threshold}= | Set Variable | ${min_rate}
134 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
135 | | And Add PCI devices to DUTs in 3-node single link topology
136 | | And Apply startup configuration on all VPP DUTs
137 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
138 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
139 | | ... | ${binary_max} | ${traffic_profile}
140 | | ... | ${min_rate} | ${max_rate} | ${threshold}
141 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
142
143 | tc05-9000B-1t1c-ethip4vxlan-l2xcbase-ndrdisc
144 | | [Documentation]
145 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
146 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
147 | | ... | using binary search start at 10GE linerate, step 5kpps.
148 | | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC
149 | | ${framesize}= | Set Variable | ${9000}
150 | | ${min_rate}= | Set Variable | ${10000}
151 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
152 | | ${binary_min}= | Set Variable | ${min_rate}
153 | | ${binary_max}= | Set Variable | ${max_rate}
154 | | ${threshold}= | Set Variable | ${min_rate}
155 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
156 | | And Add PCI devices to DUTs in 3-node single link topology
157 | | And Apply startup configuration on all VPP DUTs
158 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
159 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
160 | | ... | ${binary_max} | ${traffic_profile}
161 | | ... | ${min_rate} | ${max_rate} | ${threshold}
162
163 | tc06-9000B-1t1c-ethip4vxlan-l2xcbase-pdrdisc
164 | | [Documentation]
165 | | ... | [Cfg] DUT runs L2XC forwarding config with 1 thread, 1 phy core, \
166 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
167 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
168 | | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
169 | | ${framesize}= | Set Variable | ${9000}
170 | | ${min_rate}= | Set Variable | ${10000}
171 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
172 | | ${binary_min}= | Set Variable | ${min_rate}
173 | | ${binary_max}= | Set Variable | ${max_rate}
174 | | ${threshold}= | Set Variable | ${min_rate}
175 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
176 | | And Add PCI devices to DUTs in 3-node single link topology
177 | | And Apply startup configuration on all VPP DUTs
178 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
179 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
180 | | ... | ${binary_max} | ${traffic_profile}
181 | | ... | ${min_rate} | ${max_rate} | ${threshold}
182 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
183
184 | tc07-64B-2t2c-ethip4vxlan-l2xcbase-ndrdisc
185 | | [Documentation]
186 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
187 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames
188 | | ... | using binary search start at 10GE linerate, step 100kpps.
189 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
190 | | ${framesize}= | Set Variable | ${64}
191 | | ${min_rate}= | Set Variable | ${100000}
192 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
193 | | ${binary_min}= | Set Variable | ${min_rate}
194 | | ${binary_max}= | Set Variable | ${max_rate}
195 | | ${threshold}= | Set Variable | ${min_rate}
196 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
197 | | And Add PCI devices to DUTs in 3-node single link topology
198 | | And Add no multi seg to all DUTs
199 | | And Apply startup configuration on all VPP DUTs
200 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
201 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
202 | | ... | ${binary_max} | ${traffic_profile}
203 | | ... | ${min_rate} | ${max_rate} | ${threshold}
204
205 | tc08-64B-2t2c-ethip4vxlan-l2xcbase-pdrdisc
206 | | [Documentation]
207 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
208 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames
209 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
210 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
211 | | ${framesize}= | Set Variable | ${64}
212 | | ${min_rate}= | Set Variable | ${100000}
213 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
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 '1' rxqueues in 3-node single-link circular topology
218 | | And Add PCI devices to DUTs in 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 Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
222 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
223 | | ... | ${binary_max} | ${traffic_profile}
224 | | ... | ${min_rate} | ${max_rate} | ${threshold}
225 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
226
227 | tc09-1518B-2t2c-ethip4vxlan-l2xcbase-ndrdisc
228 | | [Documentation]
229 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
230 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames
231 | | ... | using binary search start at 10GE linerate, step 10kpps.
232 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
233 | | ${framesize}= | Set Variable | ${1518}
234 | | ${min_rate}= | Set Variable | ${10000}
235 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
236 | | ${binary_min}= | Set Variable | ${min_rate}
237 | | ${binary_max}= | Set Variable | ${max_rate}
238 | | ${threshold}= | Set Variable | ${min_rate}
239 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
240 | | And Add PCI devices to DUTs in 3-node single link topology
241 | | And Apply startup configuration on all VPP DUTs
242 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
243 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
244 | | ... | ${binary_max} | ${traffic_profile}
245 | | ... | ${min_rate} | ${max_rate} | ${threshold}
246
247 | tc10-1518B-2t2c-ethip4vxlan-l2xcbase-pdrdisc
248 | | [Documentation]
249 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
250 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames
251 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
252 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
253 | | ${framesize}= | Set Variable | ${1518}
254 | | ${min_rate}= | Set Variable | ${10000}
255 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
256 | | ${binary_min}= | Set Variable | ${min_rate}
257 | | ${binary_max}= | Set Variable | ${max_rate}
258 | | ${threshold}= | Set Variable | ${min_rate}
259 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
260 | | And Add PCI devices to DUTs in 3-node single link topology
261 | | And Apply startup configuration on all VPP DUTs
262 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
263 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
264 | | ... | ${binary_max} | ${traffic_profile}
265 | | ... | ${min_rate} | ${max_rate} | ${threshold}
266 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
267
268 | tc11-9000B-2t2c-ethip4vxlan-l2xcbase-ndrdisc
269 | | [Documentation]
270 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
271 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames
272 | | ... | using binary search start at 10GE linerate, step 5kpps.
273 | | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
274 | | ${framesize}= | Set Variable | ${9000}
275 | | ${min_rate}= | Set Variable | ${10000}
276 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
277 | | ${binary_min}= | Set Variable | ${min_rate}
278 | | ${binary_max}= | Set Variable | ${max_rate}
279 | | ${threshold}= | Set Variable | ${min_rate}
280 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
281 | | And Add PCI devices to DUTs in 3-node single link topology
282 | | And Apply startup configuration on all VPP DUTs
283 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
284 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
285 | | ... | ${binary_max} | ${traffic_profile}
286 | | ... | ${min_rate} | ${max_rate} | ${threshold}
287
288 | tc12-9000B-2t2c-ethip4vxlan-l2xcbase-pdrdisc
289 | | [Documentation]
290 | | ... | [Cfg] DUT runs L2XC forwarding config with 2 threads, 2 phy cores, \
291 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames
292 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
293 | | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
294 | | ${framesize}= | Set Variable | ${9000}
295 | | ${min_rate}= | Set Variable | ${10000}
296 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
297 | | ${binary_min}= | Set Variable | ${min_rate}
298 | | ${binary_max}= | Set Variable | ${max_rate}
299 | | ${threshold}= | Set Variable | ${min_rate}
300 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
301 | | And Add PCI devices to DUTs in 3-node single link topology
302 | | And Apply startup configuration on all VPP DUTs
303 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
304 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
305 | | ... | ${binary_max} | ${traffic_profile}
306 | | ... | ${min_rate} | ${max_rate} | ${threshold}
307 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
308
309 | tc13-64B-4t4c-ethip4vxlan-l2xcbase-ndrdisc
310 | | [Documentation]
311 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
312 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames
313 | | ... | using binary search start at 10GE linerate, step 100kpps.
314 | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC
315 | | ${framesize}= | Set Variable | ${64}
316 | | ${min_rate}= | Set Variable | ${100000}
317 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
318 | | ${binary_min}= | Set Variable | ${min_rate}
319 | | ${binary_max}= | Set Variable | ${max_rate}
320 | | ${threshold}= | Set Variable | ${min_rate}
321 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
322 | | And Add PCI devices to DUTs in 3-node single link topology
323 | | And Add no multi seg to all DUTs
324 | | And Apply startup configuration on all VPP DUTs
325 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
326 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
327 | | ... | ${binary_max} | ${traffic_profile}
328 | | ... | ${min_rate} | ${max_rate} | ${threshold}
329
330 | tc14-64B-4t4c-ethip4vxlan-l2xcbase-pdrdisc
331 | | [Documentation]
332 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
333 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames
334 | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%.
335 | | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
336 | | ${framesize}= | Set Variable | ${64}
337 | | ${min_rate}= | Set Variable | ${100000}
338 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
339 | | ${binary_min}= | Set Variable | ${min_rate}
340 | | ${binary_max}= | Set Variable | ${max_rate}
341 | | ${threshold}= | Set Variable | ${min_rate}
342 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
343 | | And Add PCI devices to DUTs in 3-node single link topology
344 | | And Add no multi seg to all DUTs
345 | | And Apply startup configuration on all VPP DUTs
346 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
347 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
348 | | ... | ${binary_max} | ${traffic_profile}
349 | | ... | ${min_rate} | ${max_rate} | ${threshold}
350 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
351
352 | tc15-1518B-4t4c-ethip4vxlan-l2xcbase-ndrdisc
353 | | [Documentation]
354 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
355 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames
356 | | ... | using binary search start at 10GE linerate, step 10kpps.
357 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
358 | | ${framesize}= | Set Variable | ${1518}
359 | | ${min_rate}= | Set Variable | ${10000}
360 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
361 | | ${binary_min}= | Set Variable | ${min_rate}
362 | | ${binary_max}= | Set Variable | ${max_rate}
363 | | ${threshold}= | Set Variable | ${min_rate}
364 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
365 | | And Add PCI devices to DUTs in 3-node single link topology
366 | | And Apply startup configuration on all VPP DUTs
367 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
368 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
369 | | ... | ${binary_max} | ${traffic_profile}
370 | | ... | ${min_rate} | ${max_rate} | ${threshold}
371
372 | tc16-1518B-4t4c-ethip4vxlan-l2xcbase-pdrdisc
373 | | [Documentation]
374 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
375 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames
376 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
377 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
378 | | ${framesize}= | Set Variable | ${1518}
379 | | ${min_rate}= | Set Variable | ${10000}
380 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
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 '2' rxqueues in 3-node single-link circular topology
385 | | And Add PCI devices to DUTs in 3-node single link topology
386 | | And Apply startup configuration on all VPP DUTs
387 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
388 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
389 | | ... | ${binary_max} | ${traffic_profile}
390 | | ... | ${min_rate} | ${max_rate} | ${threshold}
391 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
392
393 | tc17-9000B-4t4c-ethip4vxlan-l2xcbase-ndrdisc
394 | | [Documentation]
395 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
396 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames
397 | | ... | using binary search start at 10GE linerate, step 5kpps.
398 | | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
399 | | ${framesize}= | Set Variable | ${9000}
400 | | ${min_rate}= | Set Variable | ${10000}
401 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
402 | | ${binary_min}= | Set Variable | ${min_rate}
403 | | ${binary_max}= | Set Variable | ${max_rate}
404 | | ${threshold}= | Set Variable | ${min_rate}
405 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
406 | | And Add PCI devices to DUTs in 3-node single link topology
407 | | And Apply startup configuration on all VPP DUTs
408 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
409 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
410 | | ... | ${binary_max} | ${traffic_profile}
411 | | ... | ${min_rate} | ${max_rate} | ${threshold}
412
413 | tc18-9000B-4t4c-ethip4vxlan-l2xcbase-pdrdisc
414 | | [Documentation]
415 | | ... | [Cfg] DUT runs L2XC forwarding config with 4 threads, 4 phy cores, \
416 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames
417 | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%.
418 | | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
419 | | ${framesize}= | Set Variable | ${9000}
420 | | ${min_rate}= | Set Variable | ${10000}
421 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 50}
422 | | ${binary_min}= | Set Variable | ${min_rate}
423 | | ${binary_max}= | Set Variable | ${max_rate}
424 | | ${threshold}= | Set Variable | ${min_rate}
425 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
426 | | And Add PCI devices to DUTs in 3-node single link topology
427 | | And Apply startup configuration on all VPP DUTs
428 | | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
429 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
430 | | ... | ${binary_max} | ${traffic_profile}
431 | | ... | ${min_rate} | ${max_rate} | ${threshold}
432 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}