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