CSIT-604: Bootstrap file for vpp-csit-verify-master-centos7-nightly
[csit.git] / tests / perf / 10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrpdrdisc.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_setup.robot
16 | Library | resources.libraries.python.QemuUtils
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
18 | ... | NIC_Intel-X520-DA2 | ETH | L2BDMACLRN | BASE | VHOST | VM
19 | Suite Setup | Set up 3-node performance topology with DUT's NIC model
20 | ... | L2 | Intel-X520-DA2
21 | Suite Teardown | Tear down 3-node performance topology
22 | Test Setup | Set up performance test
23 | Test Teardown | Run Keywords
24 | ... | Show Bridge Domain Data On All DUTs
25 | ... | AND | Tear down performance test with vhost and VM with dpdk-testpmd
26 | ... | ${min_rate}pps | ${framesize} | ${traffic_profile}
27 | ... | dut1_node=${dut1} | dut1_vm_refs=${dut1_vm_refs}
28 | ... | dut2_node=${dut2} | dut2_vm_refs=${dut2_vm_refs}
29 | Documentation | *RFC2544: Pkt throughput L2BD test cases with vhost*
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 switching of IPv4.
34 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 bridge-
35 | ... | domains and MAC learning enabled. Qemu Guests are connected to VPP via
36 | ... | vhost-user interfaces. Guests are running DPDK testpmd interconnecting
37 | ... | vhost-user interfaces using 5 cores pinned to cpus 6-10 and 11-15 and
38 | ... | 2048M memory. Testpmd is using socket-mem=1024M (512x2M hugepages),
39 | ... | 5 cores (1 main core and 4 cores dedicated for io), forwarding mode is
40 | ... | set to io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE NIC
41 | ... | X520 Niantic by Intel.
42 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
43 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
44 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
45 | ... | of packets transmitted. NDR and PDR are discovered for different
46 | ... | Ethernet L2 frame sizes using either binary search or linear search
47 | ... | algorithms with configured starting rate and final step that determines
48 | ... | throughput measurement resolution. Test packets are generated by TG on
49 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
50 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
51 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and static
52 | ... | payload. MAC addresses are matching MAC addresses of the TG node
53 | ... | interfaces.
54 | ... | *[Ref] Applicable standard specifications:* RFC2544.
55
56 *** Variables ***
57 # X520-DA2 bandwidth limit
58 | ${s_limit}= | ${10000000000}
59 # CPU settings
60 | ${system_cpus}= | ${1}
61 | ${vpp_cpus}= | ${5}
62 | ${vm_cpus}= | ${5}
63 # Traffic profile:
64 | ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
65
66 *** Test Cases ***
67 | tc01-64B-1t1c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
68 | | [Documentation]
69 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core, \
70 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames \
71 | | ... | using binary search start at 10GE linerate, step 10kpps.
72 | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC
73 | | ${framesize}= | Set Variable | ${64}
74 | | ${min_rate}= | Set Variable | ${10000}
75 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
76 | | ${binary_min}= | Set Variable | ${min_rate}
77 | | ${binary_max}= | Set Variable | ${max_rate}
78 | | ${threshold}= | Set Variable | ${min_rate}
79 | | ${dut1_vm_refs}= | Create Dictionary
80 | | ${dut2_vm_refs}= | Create Dictionary
81 | | Set Test Variable | ${dut1_vm_refs}
82 | | Set Test Variable | ${dut2_vm_refs}
83 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
84 | | And Add PCI devices to DUTs in 3-node single link topology
85 | | And Add no multi seg to all DUTs
86 | | And Apply startup configuration on all VPP DUTs
87 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
88 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
89 | | Then Find NDR using binary search and pps
90 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
91 | | ... | ${min_rate} | ${max_rate} | ${threshold}
92
93 | tc02-64B-1t1c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
94 | | [Documentation]
95 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core, \
96 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames \
97 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
98 | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
99 | | ${framesize}= | Set Variable | ${64}
100 | | ${min_rate}= | Set Variable | ${10000}
101 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
102 | | ${binary_min}= | Set Variable | ${min_rate}
103 | | ${binary_max}= | Set Variable | ${max_rate}
104 | | ${threshold}= | Set Variable | ${min_rate}
105 | | ${dut1_vm_refs}= | Create Dictionary
106 | | ${dut2_vm_refs}= | Create Dictionary
107 | | Set Test Variable | ${dut1_vm_refs}
108 | | Set Test Variable | ${dut2_vm_refs}
109 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
110 | | And Add PCI devices to DUTs in 3-node single link topology
111 | | And Add no multi seg to all DUTs
112 | | And Apply startup configuration on all VPP DUTs
113 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
114 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
115 | | Then Find PDR using binary search and pps
116 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
117 | | ... | ${min_rate} | ${max_rate} | ${threshold}
118 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
119
120 | tc03-1518B-1t1c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
121 | | [Documentation]
122 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core, \
123 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames \
124 | | ... | using binary search start at 10GE linerate, step 10kpps.
125 | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC
126 | | ${framesize}= | Set Variable | ${1518}
127 | | ${min_rate}= | Set Variable | ${10000}
128 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
129 | | ${binary_min}= | Set Variable | ${min_rate}
130 | | ${binary_max}= | Set Variable | ${max_rate}
131 | | ${threshold}= | Set Variable | ${min_rate}
132 | | ${dut1_vm_refs}= | Create Dictionary
133 | | ${dut2_vm_refs}= | Create Dictionary
134 | | Set Test Variable | ${dut1_vm_refs}
135 | | Set Test Variable | ${dut2_vm_refs}
136 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
137 | | And Add PCI devices to DUTs in 3-node single link topology
138 | | And Add no multi seg to all DUTs
139 | | And Apply startup configuration on all VPP DUTs
140 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
141 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
142 | | Then Find NDR using binary search and pps
143 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
144 | | ... | ${min_rate} | ${max_rate} | ${threshold}
145
146 | tc04-1518B-1t1c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
147 | | [Documentation]
148 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core, \
149 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames \
150 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
151 | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
152 | | ${framesize}= | Set Variable | ${1518}
153 | | ${min_rate}= | Set Variable | ${10000}
154 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
155 | | ${binary_min}= | Set Variable | ${min_rate}
156 | | ${binary_max}= | Set Variable | ${max_rate}
157 | | ${threshold}= | Set Variable | ${min_rate}
158 | | ${dut1_vm_refs}= | Create Dictionary
159 | | ${dut2_vm_refs}= | Create Dictionary
160 | | Set Test Variable | ${dut1_vm_refs}
161 | | Set Test Variable | ${dut2_vm_refs}
162 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
163 | | And Add PCI devices to DUTs in 3-node single link topology
164 | | And Add no multi seg to all DUTs
165 | | And Apply startup configuration on all VPP DUTs
166 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
167 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
168 | | Then Find PDR using binary search and pps
169 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
170 | | ... | ${min_rate} | ${max_rate} | ${threshold}
171 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
172
173 | tc05-IMIX-1t1c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
174 | | [Documentation]
175 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core, \
176 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame \
177 | | ... | size using binary search start at 10GE linerate, step 10kpps.
178 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
179 | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC
180 | | ${framesize}= | Set Variable | IMIX_v4_1
181 | | ${min_rate}= | Set Variable | ${10000}
182 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
183 | | ${binary_min}= | Set Variable | ${min_rate}
184 | | ${binary_max}= | Set Variable | ${max_rate}
185 | | ${threshold}= | Set Variable | ${min_rate}
186 | | ${dut1_vm_refs}= | Create Dictionary
187 | | ${dut2_vm_refs}= | Create Dictionary
188 | | Set Test Variable | ${dut1_vm_refs}
189 | | Set Test Variable | ${dut2_vm_refs}
190 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
191 | | And Add PCI devices to DUTs in 3-node single link topology
192 | | And Add no multi seg to all DUTs
193 | | And Apply startup configuration on all VPP DUTs
194 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
195 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
196 | | Then Find NDR using binary search and pps
197 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
198 | | ... | ${min_rate} | ${max_rate} | ${threshold}
199
200 | tc06-IMIX-1t1c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
201 | | [Documentation]
202 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core, \
203 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frame \
204 | | ... | size using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
205 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
206 | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
207 | | ${framesize}= | Set Variable | IMIX_v4_1
208 | | ${min_rate}= | Set Variable | ${10000}
209 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
210 | | ${binary_min}= | Set Variable | ${min_rate}
211 | | ${binary_max}= | Set Variable | ${max_rate}
212 | | ${threshold}= | Set Variable | ${min_rate}
213 | | ${dut1_vm_refs}= | Create Dictionary
214 | | ${dut2_vm_refs}= | Create Dictionary
215 | | Set Test Variable | ${dut1_vm_refs}
216 | | Set Test Variable | ${dut2_vm_refs}
217 | | Given Add '1' 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 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
222 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
223 | | Then Find PDR using binary search and pps
224 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
225 | | ... | ${min_rate} | ${max_rate} | ${threshold}
226 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
227
228 | tc07-64B-2t2c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
229 | | [Documentation]
230 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores, \
231 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames \
232 | | ... | using binary search start at 10GE linerate, step 10kpps.
233 | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC
234 | | ${framesize}= | Set Variable | ${64}
235 | | ${min_rate}= | Set Variable | ${10000}
236 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
237 | | ${binary_min}= | Set Variable | ${min_rate}
238 | | ${binary_max}= | Set Variable | ${max_rate}
239 | | ${threshold}= | Set Variable | ${min_rate}
240 | | ${dut1_vm_refs}= | Create Dictionary
241 | | ${dut2_vm_refs}= | Create Dictionary
242 | | Set Test Variable | ${dut1_vm_refs}
243 | | Set Test Variable | ${dut2_vm_refs}
244 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
245 | | And Add PCI devices to DUTs in 3-node single link topology
246 | | And Add no multi seg to all DUTs
247 | | And Apply startup configuration on all VPP DUTs
248 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
249 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
250 | | Then Find NDR using binary search and pps
251 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
252 | | ... | ${min_rate} | ${max_rate} | ${threshold}
253
254 | tc08-64B-2t2c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
255 | | [Documentation]
256 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores, \
257 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames \
258 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
259 | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
260 | | ${framesize}= | Set Variable | ${64}
261 | | ${min_rate}= | Set Variable | ${10000}
262 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
263 | | ${binary_min}= | Set Variable | ${min_rate}
264 | | ${binary_max}= | Set Variable | ${max_rate}
265 | | ${threshold}= | Set Variable | ${min_rate}
266 | | ${dut1_vm_refs}= | Create Dictionary
267 | | ${dut2_vm_refs}= | Create Dictionary
268 | | Set Test Variable | ${dut1_vm_refs}
269 | | Set Test Variable | ${dut2_vm_refs}
270 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
271 | | And Add PCI devices to DUTs in 3-node single link topology
272 | | And Add no multi seg to all DUTs
273 | | And Apply startup configuration on all VPP DUTs
274 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
275 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
276 | | Then Find PDR using binary search and pps
277 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
278 | | ... | ${min_rate} | ${max_rate} | ${threshold}
279 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
280
281 | tc09-1518B-2t2c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
282 | | [Documentation]
283 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores, \
284 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames \
285 | | ... | using binary search start at 10GE linerate, step 10kpps.
286 | | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
287 | | ${framesize}= | Set Variable | ${1518}
288 | | ${min_rate}= | Set Variable | ${10000}
289 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
290 | | ${binary_min}= | Set Variable | ${min_rate}
291 | | ${binary_max}= | Set Variable | ${max_rate}
292 | | ${threshold}= | Set Variable | ${min_rate}
293 | | ${dut1_vm_refs}= | Create Dictionary
294 | | ${dut2_vm_refs}= | Create Dictionary
295 | | Set Test Variable | ${dut1_vm_refs}
296 | | Set Test Variable | ${dut2_vm_refs}
297 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
298 | | And Add PCI devices to DUTs in 3-node single link topology
299 | | And Add no multi seg to all DUTs
300 | | And Apply startup configuration on all VPP DUTs
301 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
302 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
303 | | Then Find NDR using binary search and pps
304 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
305 | | ... | ${min_rate} | ${max_rate} | ${threshold}
306
307 | tc10-1518B-2t2c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
308 | | [Documentation]
309 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores, \
310 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames \
311 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
312 | | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
313 | | ${framesize}= | Set Variable | ${1518}
314 | | ${min_rate}= | Set Variable | ${10000}
315 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
316 | | ${binary_min}= | Set Variable | ${min_rate}
317 | | ${binary_max}= | Set Variable | ${max_rate}
318 | | ${threshold}= | Set Variable | ${min_rate}
319 | | ${dut1_vm_refs}= | Create Dictionary
320 | | ${dut2_vm_refs}= | Create Dictionary
321 | | Set Test Variable | ${dut1_vm_refs}
322 | | Set Test Variable | ${dut2_vm_refs}
323 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
324 | | And Add PCI devices to DUTs in 3-node single link topology
325 | | And Add no multi seg to all DUTs
326 | | And Apply startup configuration on all VPP DUTs
327 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
328 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
329 | | Then Find PDR using binary search and pps
330 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
331 | | ... | ${min_rate} | ${max_rate} | ${threshold}
332 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
333
334 | tc11-IMIX-2t2c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
335 | | [Documentation]
336 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores, \
337 | | ... | 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame \
338 | | ... | size using binary search start at 10GE linerate, step 10kpps.
339 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
340 | | [Tags] | IMIX | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
341 | | ${framesize}= | Set Variable | IMIX_v4_1
342 | | ${min_rate}= | Set Variable | ${10000}
343 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
344 | | ${binary_min}= | Set Variable | ${min_rate}
345 | | ${binary_max}= | Set Variable | ${max_rate}
346 | | ${threshold}= | Set Variable | ${min_rate}
347 | | ${dut1_vm_refs}= | Create Dictionary
348 | | ${dut2_vm_refs}= | Create Dictionary
349 | | Set Test Variable | ${dut1_vm_refs}
350 | | Set Test Variable | ${dut2_vm_refs}
351 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
352 | | And Add PCI devices to DUTs in 3-node single link topology
353 | | And Add no multi seg to all DUTs
354 | | And Apply startup configuration on all VPP DUTs
355 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
356 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
357 | | Then Find NDR using binary search and pps
358 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
359 | | ... | ${min_rate} | ${max_rate} | ${threshold}
360
361 | tc12-IMIX-2t2c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
362 | | [Documentation]
363 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores, \
364 | | ... | 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frame \
365 | | ... | size using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
366 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
367 | | [Tags] | IMIX | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
368 | | ${framesize}= | Set Variable | IMIX_v4_1
369 | | ${min_rate}= | Set Variable | ${10000}
370 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
371 | | ${binary_min}= | Set Variable | ${min_rate}
372 | | ${binary_max}= | Set Variable | ${max_rate}
373 | | ${threshold}= | Set Variable | ${min_rate}
374 | | ${dut1_vm_refs}= | Create Dictionary
375 | | ${dut2_vm_refs}= | Create Dictionary
376 | | Set Test Variable | ${dut1_vm_refs}
377 | | Set Test Variable | ${dut2_vm_refs}
378 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
379 | | And Add PCI devices to DUTs in 3-node single link topology
380 | | And Add no multi seg to all DUTs
381 | | And Apply startup configuration on all VPP DUTs
382 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
383 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
384 | | Then Find PDR using binary search and pps
385 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
386 | | ... | ${min_rate} | ${max_rate} | ${threshold}
387 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
388
389 | tc13-64B-4t4c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
390 | | [Documentation]
391 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores, \
392 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames \
393 | | ... | using binary search start at 10GE linerate, step 10kpps.
394 | | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC
395 | | ${framesize}= | Set Variable | ${64}
396 | | ${min_rate}= | Set Variable | ${10000}
397 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
398 | | ${binary_min}= | Set Variable | ${min_rate}
399 | | ${binary_max}= | Set Variable | ${max_rate}
400 | | ${threshold}= | Set Variable | ${min_rate}
401 | | ${dut1_vm_refs}= | Create Dictionary
402 | | ${dut2_vm_refs}= | Create Dictionary
403 | | Set Test Variable | ${dut1_vm_refs}
404 | | Set Test Variable | ${dut2_vm_refs}
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 Add no multi seg to all DUTs
408 | | And Apply startup configuration on all VPP DUTs
409 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
410 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
411 | | Then Find NDR using binary search and pps
412 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
413 | | ... | ${min_rate} | ${max_rate} | ${threshold}
414
415 | tc14-64B-4t4c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
416 | | [Documentation]
417 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores, \
418 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames \
419 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
420 | | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
421 | | ${framesize}= | Set Variable | ${64}
422 | | ${min_rate}= | Set Variable | ${10000}
423 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
424 | | ${binary_min}= | Set Variable | ${min_rate}
425 | | ${binary_max}= | Set Variable | ${max_rate}
426 | | ${threshold}= | Set Variable | ${min_rate}
427 | | ${dut1_vm_refs}= | Create Dictionary
428 | | ${dut2_vm_refs}= | Create Dictionary
429 | | Set Test Variable | ${dut1_vm_refs}
430 | | Set Test Variable | ${dut2_vm_refs}
431 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
432 | | And Add PCI devices to DUTs in 3-node single link topology
433 | | And Add no multi seg to all DUTs
434 | | And Apply startup configuration on all VPP DUTs
435 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
436 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
437 | | Then Find PDR using binary search and pps
438 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
439 | | ... | ${min_rate} | ${max_rate} | ${threshold}
440 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
441
442 | tc15-1518B-4t4c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
443 | | [Documentation]
444 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores, \
445 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames \
446 | | ... | using binary search start at 10GE linerate, step 10kpps.
447 | | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
448 | | ${framesize}= | Set Variable | ${1518}
449 | | ${min_rate}= | Set Variable | ${10000}
450 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
451 | | ${binary_min}= | Set Variable | ${min_rate}
452 | | ${binary_max}= | Set Variable | ${max_rate}
453 | | ${threshold}= | Set Variable | ${min_rate}
454 | | ${dut1_vm_refs}= | Create Dictionary
455 | | ${dut2_vm_refs}= | Create Dictionary
456 | | Set Test Variable | ${dut1_vm_refs}
457 | | Set Test Variable | ${dut2_vm_refs}
458 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
459 | | And Add PCI devices to DUTs in 3-node single link topology
460 | | And Add no multi seg to all DUTs
461 | | And Apply startup configuration on all VPP DUTs
462 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
463 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
464 | | Then Find NDR using binary search and pps
465 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
466 | | ... | ${min_rate} | ${max_rate} | ${threshold}
467
468 | tc16-1518B-4t4c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
469 | | [Documentation]
470 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores, \
471 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames \
472 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
473 | | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
474 | | ${framesize}= | Set Variable | ${1518}
475 | | ${min_rate}= | Set Variable | ${10000}
476 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
477 | | ${binary_min}= | Set Variable | ${min_rate}
478 | | ${binary_max}= | Set Variable | ${max_rate}
479 | | ${threshold}= | Set Variable | ${min_rate}
480 | | ${dut1_vm_refs}= | Create Dictionary
481 | | ${dut2_vm_refs}= | Create Dictionary
482 | | Set Test Variable | ${dut1_vm_refs}
483 | | Set Test Variable | ${dut2_vm_refs}
484 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
485 | | And Add PCI devices to DUTs in 3-node single link topology
486 | | And Add no multi seg to all DUTs
487 | | And Apply startup configuration on all VPP DUTs
488 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
489 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
490 | | Then Find PDR using binary search and pps
491 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
492 | | ... | ${min_rate} | ${max_rate} | ${threshold}
493 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
494
495 | tc17-IMIX-4t4c-eth-l2bdbasemaclrn-eth-4vhost-2vm-ndrdisc
496 | | [Documentation]
497 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores, \
498 | | ... | 2 receive queues per NIC port. [Ver] Find NDR for IMIX_v4_1 frame \
499 | | ... | size using binary search start at 10GE linerate, step 10kpps.
500 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
501 | | [Tags] | IMIX | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
502 | | ${framesize}= | Set Variable | IMIX_v4_1
503 | | ${min_rate}= | Set Variable | ${10000}
504 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
505 | | ${binary_min}= | Set Variable | ${min_rate}
506 | | ${binary_max}= | Set Variable | ${max_rate}
507 | | ${threshold}= | Set Variable | ${min_rate}
508 | | ${dut1_vm_refs}= | Create Dictionary
509 | | ${dut2_vm_refs}= | Create Dictionary
510 | | Set Test Variable | ${dut1_vm_refs}
511 | | Set Test Variable | ${dut2_vm_refs}
512 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
513 | | And Add PCI devices to DUTs in 3-node single link topology
514 | | And Add no multi seg to all DUTs
515 | | And Apply startup configuration on all VPP DUTs
516 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
517 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
518 | | Then Find NDR using binary search and pps
519 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
520 | | ... | ${min_rate} | ${max_rate} | ${threshold}
521
522 | tc18-IMIX-4t4c-eth-l2bdbasemaclrn-eth-4vhost-2vm-pdrdisc
523 | | [Documentation]
524 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores, \
525 | | ... | 2 receive queues per NIC port. [Ver] Find PDR for IMIX_v4_1 frame \
526 | | ... | size using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
527 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
528 | | [Tags] | IMIX | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
529 | | ${framesize}= | Set Variable | IMIX_v4_1
530 | | ${min_rate}= | Set Variable | ${10000}
531 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize}
532 | | ${binary_min}= | Set Variable | ${min_rate}
533 | | ${binary_max}= | Set Variable | ${max_rate}
534 | | ${threshold}= | Set Variable | ${min_rate}
535 | | ${dut1_vm_refs}= | Create Dictionary
536 | | ${dut2_vm_refs}= | Create Dictionary
537 | | Set Test Variable | ${dut1_vm_refs}
538 | | Set Test Variable | ${dut2_vm_refs}
539 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
540 | | And Add PCI devices to DUTs in 3-node single link topology
541 | | And Add no multi seg to all DUTs
542 | | And Apply startup configuration on all VPP DUTs
543 | | When Initialize L2 bridge domains with Vhost-User for '2' VMs in 3-node circular topology
544 | | And Configure '2' guest VMs with dpdk-testpmd connected via vhost-user in 3-node circular topology
545 | | Then Find PDR using binary search and pps
546 | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile}
547 | | ... | ${min_rate} | ${max_rate} | ${threshold}
548 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}