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