bb6b95110d835356884234a74ee88d08771e333c
[csit.git] / tests / perf / 10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc.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 | Library | resources.libraries.python.QemuUtils
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
18 | ...        | PERFTEST_VHOST | NIC_Intel-X520-DA2
19 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
20 | ... | L2 | Intel-X520-DA2
21 | Suite Teardown | 3-node Performance Suite Teardown
22 | Test Setup | Setup all DUTs before test
23 | Test Teardown | Run Keywords
24 | ...           | Run Keyword If Test Failed
25 | ...           | Traffic should pass with no loss | 10
26 | ...           | ${min_rate}pps | ${framesize} | 3-node-bridge
27 | ...           | fail_on_loss=${False}
28 | ...           | AND | Show Vpp Vhost On All DUTs
29 | ...           | AND | Remove startup configuration of VPP from all DUTs
30 | ...           | AND | Guest VM with dpdk-testpmd Teardown | ${dut1}
31 | ...                 | ${dut1_vm_refs}
32 | ...           | AND | Guest VM with dpdk-testpmd Teardown | ${dut2}
33 | ...                 | ${dut2_vm_refs}
34 | Documentation | *RFC2544: Packet throughput L2BD test cases with VXLANoIPv4
35 | ... | and vhost*
36 | ...
37 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
38 | ... | with single links between nodes.
39 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 switching of IPv4.
40 | ... | Eth-IPv4-VXLAN-Eth-IPv4 is applied on link between DUT1 and DUT2.
41 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 bridge-
42 | ... | domain and MAC learning enabled. Qemu Guest is connected to VPP via
43 | ... | vhost-user interfaces. Guest is running DPDK testpmd interconnecting
44 | ... | vhost-user interfaces using 5 cores pinned to cpus 5-9 and 2048M
45 | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores
46 | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to
47 | ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520
48 | ... | Niantic by Intel.
49 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
50 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
51 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
52 | ... | of packets transmitted. NDR and PDR are discovered for different
53 | ... | Ethernet L2 frame sizes using either binary search or linear search
54 | ... | algorithms with configured starting rate and final step that determines
55 | ... | throughput measurement resolution. Test packets are generated by TG on
56 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
57 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
58 | ... | containing Ethernet header, IPv4 header with IP protocol=61 and static
59 | ... | payload. MAC addresses are matching MAC addresses of the TG node
60 | ... | interfaces.
61 | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348.
62
63 *** Variables ***
64 #X520-DA2 bandwidth limit
65 | ${s_limit} | ${10000000000}
66 | ${vxlan_overhead} | ${50}
67 #Socket names
68 | ${bd_id1}= | 1
69 | ${bd_id2}= | 2
70 | ${sock1}= | /tmp/sock-1-${bd_id1}
71 | ${sock2}= | /tmp/sock-1-${bd_id2}
72
73 *** Test Cases ***
74 | TC01: 64B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq
75 | | [Documentation]
76 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
77 | | ... | 1 receive queue per NIC port.
78 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
79 | | ... | linerate, step 10kpps.
80 | | ...
81 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
82 | | ...
83 | | ${framesize}= | Set Variable | ${64}
84 | | ${min_rate}= | Set Variable | ${10000}
85 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
86 | | ${binary_min}= | Set Variable | ${min_rate}
87 | | ${binary_max}= | Set Variable | ${max_rate}
88 | | ${threshold}= | Set Variable | ${min_rate}
89 | | ${dut1_vm_refs}= | Create Dictionary
90 | | ${dut2_vm_refs}= | Create Dictionary
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 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
96 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
97 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
98 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
99 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
100 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
101 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
102 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
103 | | And Setup scheduler policy for VPP on all DUTs
104 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
105 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
106 | | ... | ${threshold}
107
108 | TC02: 64B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq
109 | | [Documentation]
110 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
111 | | ... | 1 receive queue per NIC port.
112 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
113 | | ... | linerate, step 10kpps, LT=0.5%.
114 | | ...
115 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
116 | | ...
117 | | ${framesize}= | Set Variable | ${64}
118 | | ${min_rate}= | Set Variable | ${10000}
119 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
120 | | ${binary_min}= | Set Variable | ${min_rate}
121 | | ${binary_max}= | Set Variable | ${max_rate}
122 | | ${threshold}= | Set Variable | ${min_rate}
123 | | ${dut1_vm_refs}= | Create Dictionary
124 | | ${dut2_vm_refs}= | Create Dictionary
125 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
126 | | And Add PCI devices to DUTs from 3-node single link topology
127 | | And Add No Multi Seg to all DUTs
128 | | And Apply startup configuration on all VPP DUTs
129 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
130 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
131 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
132 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
133 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
134 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
135 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
136 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
137 | | And Setup scheduler policy for VPP on all DUTs
138 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
139 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
140 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
141
142 | TC03: 1518B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq
143 | | [Documentation]
144 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
145 | | ... | 1 receive queue per NIC port.
146 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
147 | | ... | linerate, step 10kpps.
148 | | ...
149 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
150 | | ...
151 | | ${framesize}= | Set Variable | ${1518}
152 | | ${min_rate}= | Set Variable | ${10000}
153 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
154 | | ${binary_min}= | Set Variable | ${min_rate}
155 | | ${binary_max}= | Set Variable | ${max_rate}
156 | | ${threshold}= | Set Variable | ${min_rate}
157 | | ${dut1_vm_refs}= | Create Dictionary
158 | | ${dut2_vm_refs}= | Create Dictionary
159 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
160 | | And Add PCI devices to DUTs from 3-node single link topology
161 | | And Apply startup configuration on all VPP DUTs
162 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
163 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
164 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
165 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
166 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
167 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
168 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
169 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
170 | | And Setup scheduler policy for VPP on all DUTs
171 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
172 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
173 | | ... | ${threshold}
174
175 | TC04: 1518B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq
176 | | [Documentation]
177 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
178 | | ... | 1 receive queue per NIC port.
179 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
180 | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%.
181 | | ...
182 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
183 | | ...
184 | | ${framesize}= | Set Variable | ${1518}
185 | | ${min_rate}= | Set Variable | ${10000}
186 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
187 | | ${binary_min}= | Set Variable | ${min_rate}
188 | | ${binary_max}= | Set Variable | ${max_rate}
189 | | ${threshold}= | Set Variable | ${min_rate}
190 | | ${dut1_vm_refs}= | Create Dictionary
191 | | ${dut2_vm_refs}= | Create Dictionary
192 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
193 | | And Add PCI devices to DUTs from 3-node single link topology
194 | | And Apply startup configuration on all VPP DUTs
195 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
196 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
197 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
198 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
199 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
200 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
201 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
202 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
203 | | And Setup scheduler policy for VPP on all DUTs
204 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
205 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
206 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
207
208 | TC05: IMIX_v4_1 NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq
209 | | [Documentation]
210 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
211 | | ... | 1 receive queue per NIC port.
212 | | ... | [Ver] Find NDR for IMIX_v4_1 framesize using binary search start at\
213 | | ... | 10GE linerate, step 5kpps.
214 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
215 | | ...
216 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
217 | | ...
218 | | ${framesize}= | Set Variable | IMIX_v4_1
219 | | ${avg_framesize}= | Set Variable | ${403.833}
220 | | ${min_rate}= | Set Variable | ${10000}
221 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
222 | | ${binary_min}= | Set Variable | ${min_rate}
223 | | ${binary_max}= | Set Variable | ${max_rate}
224 | | ${threshold}= | Set Variable | ${min_rate}
225 | | ${dut1_vm_refs}= | Create Dictionary
226 | | ${dut2_vm_refs}= | Create Dictionary
227 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
228 | | And Add PCI devices to DUTs from 3-node single link topology
229 | | And Apply startup configuration on all VPP DUTs
230 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
231 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
232 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
233 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
234 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
235 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
236 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
237 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
238 | | And Setup scheduler policy for VPP on all DUTs
239 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
240 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
241 | | ... | ${threshold}
242
243 | TC06: IMIX_v4_1 PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq
244 | | [Documentation]
245 | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\
246 | | ... | 1 receive queue per NIC port.
247 | | ... | [Ver] Find PDR for IMIX_v4_1 frame size using binary search start at\
248 | | ... | 10GE linerate, step 5kpps, LT=0.5%.
249 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
250 | | ...
251 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH
252 | | ...
253 | | ${framesize}= | Set Variable | IMIX_v4_1
254 | | ${avg_framesize}= | Set Variable | ${403.833}
255 | | ${min_rate}= | Set Variable | ${10000}
256 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
257 | | ${binary_min}= | Set Variable | ${min_rate}
258 | | ${binary_max}= | Set Variable | ${max_rate}
259 | | ${threshold}= | Set Variable | ${min_rate}
260 | | ${dut1_vm_refs}= | Create Dictionary
261 | | ${dut2_vm_refs}= | Create Dictionary
262 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
263 | | And Add PCI devices to DUTs from 3-node single link topology
264 | | And Apply startup configuration on all VPP DUTs
265 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
266 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
267 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
268 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
269 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
270 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
271 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
272 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
273 | | And Setup scheduler policy for VPP on all DUTs
274 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
275 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
276 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
277
278 | TC07: 64B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq
279 | | [Documentation]
280 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
281 | | ... | 1 receive queue per NIC port.
282 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
283 | | ... | linerate, step 10kpps.
284 | | ...
285 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
286 | | ...
287 | | ${framesize}= | Set Variable | ${64}
288 | | ${min_rate}= | Set Variable | ${10000}
289 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
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 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
296 | | And Add PCI devices to DUTs from 3-node single link topology
297 | | And Add No Multi Seg to all DUTs
298 | | And Apply startup configuration on all VPP DUTs
299 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
300 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
301 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
302 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
303 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
304 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
305 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
306 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
307 | | And Setup scheduler policy for VPP on all DUTs
308 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
309 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
310 | | ... | ${threshold}
311
312 | TC08: 64B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq
313 | | [Documentation]
314 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
315 | | ... | 1 receive queue per NIC port.
316 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
317 | | ... | linerate, step 10kpps, LT=0.5%.
318 | | ...
319 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
320 | | ...
321 | | ${framesize}= | Set Variable | ${64}
322 | | ${min_rate}= | Set Variable | ${10000}
323 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
324 | | ${binary_min}= | Set Variable | ${min_rate}
325 | | ${binary_max}= | Set Variable | ${max_rate}
326 | | ${threshold}= | Set Variable | ${min_rate}
327 | | ${dut1_vm_refs}= | Create Dictionary
328 | | ${dut2_vm_refs}= | Create Dictionary
329 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
330 | | And Add PCI devices to DUTs from 3-node single link topology
331 | | And Add No Multi Seg to all DUTs
332 | | And Apply startup configuration on all VPP DUTs
333 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
334 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
335 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
336 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
337 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
338 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
339 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
340 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
341 | | And Setup scheduler policy for VPP on all DUTs
342 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
343 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
344 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
345
346 | TC09: 1518B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq
347 | | [Documentation]
348 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
349 | | ... | 1 receive queue per NIC port.
350 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
351 | | ... | linerate, step 10kpps.
352 | | ...
353 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
354 | | ...
355 | | ${framesize}= | Set Variable | ${1518}
356 | | ${min_rate}= | Set Variable | ${10000}
357 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
358 | | ${binary_min}= | Set Variable | ${min_rate}
359 | | ${binary_max}= | Set Variable | ${max_rate}
360 | | ${threshold}= | Set Variable | ${min_rate}
361 | | ${dut1_vm_refs}= | Create Dictionary
362 | | ${dut2_vm_refs}= | Create Dictionary
363 | | Given Add '2' worker threads and rxqueues '1' 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 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
367 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
368 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
369 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
370 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
371 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
372 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
373 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
374 | | And Setup scheduler policy for VPP on all DUTs
375 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
376 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
377 | | ... | ${threshold}
378
379 | TC10: 1518B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq
380 | | [Documentation]
381 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
382 | | ... | 1 receive queue per NIC port.
383 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
384 | | ... | linerate, step 10kpps, LT=0.5%.
385 | | ...
386 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
387 | | ...
388 | | ${framesize}= | Set Variable | ${1518}
389 | | ${min_rate}= | Set Variable | ${10000}
390 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
391 | | ${binary_min}= | Set Variable | ${min_rate}
392 | | ${binary_max}= | Set Variable | ${max_rate}
393 | | ${threshold}= | Set Variable | ${min_rate}
394 | | ${dut1_vm_refs}= | Create Dictionary
395 | | ${dut2_vm_refs}= | Create Dictionary
396 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
397 | | And Add PCI devices to DUTs from 3-node single link topology
398 | | And Apply startup configuration on all VPP DUTs
399 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
400 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
401 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
402 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
403 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
404 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
405 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
406 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
407 | | And Setup scheduler policy for VPP on all DUTs
408 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
409 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
410 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
411
412 | TC11: IMIX_v4_1 NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq
413 | | [Documentation]
414 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
415 | | ... | 1 receive queue per NIC port.
416 | | ... | [Ver] Find NDR for IMIX_v4_1 frame size using binary search start at\
417 | | ... | 10GE linerate, step 5kpps.
418 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
419 | | ...
420 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH
421 | | ...
422 | | ${framesize}= | Set Variable | IMIX_v4_1
423 | | ${avg_framesize}= | Set Variable | ${403.833}
424 | | ${min_rate}= | Set Variable | ${10000}
425 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
426 | | ${binary_min}= | Set Variable | ${min_rate}
427 | | ${binary_max}= | Set Variable | ${max_rate}
428 | | ${threshold}= | Set Variable | ${min_rate}
429 | | ${dut1_vm_refs}= | Create Dictionary
430 | | ${dut2_vm_refs}= | Create Dictionary
431 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
432 | | And Add PCI devices to DUTs from 3-node single link topology
433 | | And Apply startup configuration on all VPP DUTs
434 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
435 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
436 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
437 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
438 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
439 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
440 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
441 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
442 | | And Setup scheduler policy for VPP on all DUTs
443 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
444 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
445 | | ... | ${threshold}
446
447 | TC12: IMIX_v4_1 PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq
448 | | [Documentation]
449 | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\
450 | | ... | 1 receive queue per NIC port.
451 | | ... | [Ver] Find PDR for IMIX_v4_1 frame size using binary search start at\
452 | | ... | 10GE linerate, step 5kpps, LT=0.5%.
453 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
454 | | ...
455 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH
456 | | ...
457 | | ${framesize}= | Set Variable | IMIX_v4_1
458 | | ${avg_framesize}= | Set Variable | ${403.833}
459 | | ${min_rate}= | Set Variable | ${10000}
460 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
461 | | ${binary_min}= | Set Variable | ${min_rate}
462 | | ${binary_max}= | Set Variable | ${max_rate}
463 | | ${threshold}= | Set Variable | ${min_rate}
464 | | ${dut1_vm_refs}= | Create Dictionary
465 | | ${dut2_vm_refs}= | Create Dictionary
466 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
467 | | And Add PCI devices to DUTs from 3-node single link topology
468 | | And Apply startup configuration on all VPP DUTs
469 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
470 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
471 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
472 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
473 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
474 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
475 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
476 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
477 | | And Setup scheduler policy for VPP on all DUTs
478 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
479 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
480 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
481
482 | TC13: 64B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq
483 | | [Documentation]
484 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\
485 | | ... | 2 receive queues per NIC port.
486 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\
487 | | ... | linerate, step 10kpps.
488 | | ...
489 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
490 | | ...
491 | | ${framesize}= | Set Variable | ${64}
492 | | ${min_rate}= | Set Variable | ${10000}
493 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
494 | | ${binary_min}= | Set Variable | ${min_rate}
495 | | ${binary_max}= | Set Variable | ${max_rate}
496 | | ${threshold}= | Set Variable | ${min_rate}
497 | | ${dut1_vm_refs}= | Create Dictionary
498 | | ${dut2_vm_refs}= | Create Dictionary
499 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
500 | | And Add PCI devices to DUTs from 3-node single link topology
501 | | And Add No Multi Seg to all DUTs
502 | | And Apply startup configuration on all VPP DUTs
503 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
504 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
505 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
506 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
507 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
508 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
509 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
510 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
511 | | And Setup scheduler policy for VPP on all DUTs
512 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
513 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
514 | | ... | ${threshold}
515
516 | TC14: 64B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq
517 | | [Documentation]
518 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\
519 | | ... | 2 receive queues per NIC port.
520 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\
521 | | ... | linerate, step 10kpps, LT=0.5%.
522 | | ...
523 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
524 | | ...
525 | | ${framesize}= | Set Variable | ${64}
526 | | ${min_rate}= | Set Variable | ${10000}
527 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
528 | | ${binary_min}= | Set Variable | ${min_rate}
529 | | ${binary_max}= | Set Variable | ${max_rate}
530 | | ${threshold}= | Set Variable | ${min_rate}
531 | | ${dut1_vm_refs}= | Create Dictionary
532 | | ${dut2_vm_refs}= | Create Dictionary
533 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
534 | | And Add PCI devices to DUTs from 3-node single link topology
535 | | And Add No Multi Seg to all DUTs
536 | | And Apply startup configuration on all VPP DUTs
537 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
538 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
539 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
540 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
541 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
542 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
543 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
544 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
545 | | And Setup scheduler policy for VPP on all DUTs
546 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
547 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
548 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
549
550 | TC15: 1518B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq
551 | | [Documentation]
552 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\
553 | | ... | 2 receive queues per NIC port.
554 | | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\
555 | | ... | linerate, step 10kpps.
556 | | ...
557 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
558 | | ...
559 | | ${framesize}= | Set Variable | ${1518}
560 | | ${min_rate}= | Set Variable | ${10000}
561 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
562 | | ${binary_min}= | Set Variable | ${min_rate}
563 | | ${binary_max}= | Set Variable | ${max_rate}
564 | | ${threshold}= | Set Variable | ${min_rate}
565 | | ${dut1_vm_refs}= | Create Dictionary
566 | | ${dut2_vm_refs}= | Create Dictionary
567 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
568 | | And Add PCI devices to DUTs from 3-node single link topology
569 | | And Apply startup configuration on all VPP DUTs
570 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
571 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
572 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
573 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
574 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
575 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
576 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
577 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
578 | | And Setup scheduler policy for VPP on all DUTs
579 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
580 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
581 | | ... | ${threshold}
582
583 | TC16: 1518B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq
584 | | [Documentation]
585 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\
586 | | ... | 2 receive queues per NIC port.
587 | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\
588 | | ... | linerate, step 10kpps, LT=0.5%.
589 | | ...
590 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
591 | | ...
592 | | ${framesize}= | Set Variable | ${1518}
593 | | ${min_rate}= | Set Variable | ${10000}
594 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + ${vxlan_overhead}}
595 | | ${binary_min}= | Set Variable | ${min_rate}
596 | | ${binary_max}= | Set Variable | ${max_rate}
597 | | ${threshold}= | Set Variable | ${min_rate}
598 | | ${dut1_vm_refs}= | Create Dictionary
599 | | ${dut2_vm_refs}= | Create Dictionary
600 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
601 | | And Add PCI devices to DUTs from 3-node single link topology
602 | | And Apply startup configuration on all VPP DUTs
603 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
604 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
605 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
606 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
607 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
608 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
609 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
610 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
611 | | And Setup scheduler policy for VPP on all DUTs
612 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
613 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
614 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}
615
616 | TC17: IMIX_v4_1 NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq
617 | | [Documentation]
618 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\
619 | | ... | 2 receive queues per NIC port.
620 | | ... | [Ver] Find NDR for IMIX_v4_1 frame size using binary search start at\
621 | | ... | 10GE linerate, step 5kpps.
622 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
623 | | ...
624 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH
625 | | ...
626 | | ${framesize}= | Set Variable | IMIX_v4_1
627 | | ${avg_framesize}= | Set Variable | ${403.833}
628 | | ${min_rate}= | Set Variable | ${10000}
629 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
630 | | ${binary_min}= | Set Variable | ${min_rate}
631 | | ${binary_max}= | Set Variable | ${max_rate}
632 | | ${threshold}= | Set Variable | ${min_rate}
633 | | ${dut1_vm_refs}= | Create Dictionary
634 | | ${dut2_vm_refs}= | Create Dictionary
635 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
636 | | And Add PCI devices to DUTs from 3-node single link topology
637 | | And Apply startup configuration on all VPP DUTs
638 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
639 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
640 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
641 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
642 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
643 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
644 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
645 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
646 | | And Setup scheduler policy for VPP on all DUTs
647 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
648 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
649 | | ... | ${threshold}
650
651 | TC18: IMIX_v4_1 PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq
652 | | [Documentation]
653 | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\
654 | | ... | 2 receive queues per NIC port.
655 | | ... | [Ver] Find PDR for IMIX_v4_1 frame size using binary search start at\
656 | | ... | 10GE linerate, step 5kpps, LT=0.5%.
657 | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B)
658 | | ...
659 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH
660 | | ...
661 | | ${framesize}= | Set Variable | IMIX_v4_1
662 | | ${avg_framesize}= | Set Variable | ${403.833}
663 | | ${min_rate}= | Set Variable | ${10000}
664 | | ${max_rate}= | Calculate pps | ${s_limit} | ${avg_framesize}
665 | | ${binary_min}= | Set Variable | ${min_rate}
666 | | ${binary_max}= | Set Variable | ${max_rate}
667 | | ${threshold}= | Set Variable | ${min_rate}
668 | | ${dut1_vm_refs}= | Create Dictionary
669 | | ${dut2_vm_refs}= | Create Dictionary
670 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
671 | | And Add PCI devices to DUTs from 3-node single link topology
672 | | And Apply startup configuration on all VPP DUTs
673 | | When L2 bridge domains with Vhost-User and VXLANoIPv4 initialized in a 3-node circular topology
674 | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2}
675 | | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
676 | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1
677 | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1}
678 | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup
679 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
680 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
681 | | And Setup scheduler policy for VPP on all DUTs
682 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
683 | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate}
684 | | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type}