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