CSIT-548: Add x520 IP4base perf test with 2 VMs per DUT
[csit.git] / tests / perf / 10ge2p1x520-ethip4lispip4-ip4base-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 | Resource | resources/libraries/robot/lisp/lisp_static_adjacency.robot
17 | Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT1']}
18 | ... | WITH NAME | dut1_v4
19 | Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT2']}
20 | ... | WITH NAME | dut2_v4
21 | Variables | resources/test_data/lisp/performance/lisp_static_adjacency.py
22 | ...
23 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC
24 | ... | NIC_Intel-X520-DA2 | IP4FWD | ENCAP | LISP | IP4UNRLAY | IP4OVRLAY
25 | ...
26 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
27 | ... | L3 | Intel-X520-DA2
28 | Suite Teardown | 3-node Performance Suite Teardown
29 | ...
30 | Test Setup | Performance test setup
31 | Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize}
32 | ... | 3-node-IPv4
33 | ...
34 | Documentation | *RFC6830: Pkt throughput Lisp test cases*
35 | ...
36 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\
37 | ... | with single links between nodes.
38 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-LISP-IPv4 on DUT1-DUT2,\
39 | ... | Eth-IPv4 on TG-DUTn for IPv4 routing over LISPoIPv4 tunnel.
40 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv4\
41 | ... | routing and static routes. LISPoIPv4 tunnel is configured between DUT1\
42 | ... | and DUT2. DUT1 and DUT2 tested with 2p10GE 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 | ... | *[Ref] Applicable standard specifications:* RFC6830.
49
50 *** Variables ***
51 # X520-DA2 bandwidth limit
52 | ${s_limit} | ${10000000000}
53
54 *** Test Cases ***
55 | tc01-64B-1t1c-ethip4lispip4-ip4base-ndrdisc
56 | | [Documentation]
57 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
58 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
59 | | ... | port.
60 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start\
61 | | ... | at 10GE linerate, step 100kpps.
62 | | [Tags] | 1T1C | STHREAD | NDRDISC
63 | | ${framesize}= | Set Variable | ${64}
64 | | ${min_rate}= | Set Variable | ${100000}
65 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
66 | | ${binary_min}= | Set Variable | ${min_rate}
67 | | ${binary_max}= | Set Variable | ${max_rate}
68 | | ${threshold}= | Set Variable | ${min_rate}
69 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
70 | | And   Add PCI devices to DUTs from 3-node single link topology
71 | | And   Add No Multi Seg to all DUTs
72 | | And   Apply startup configuration on all VPP DUTs
73 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
74 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
75 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
76 | | And  Set up Lisp topology
77 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
78 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
79 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
80 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
81 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
82 | | ...                                       | ${binary_max} | 3-node-IPv4
83 | | ...                                       | ${min_rate} | ${max_rate}
84 | | ...                                       | ${threshold}
85
86 | tc02-64B-1t1c-ethip4lispip4-ip4base-pdrdisc
87 | | [Documentation]
88 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
89 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
90 | | ... | port.
91 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start\
92 | | ... | at 10GE linerate, step 100kpps, LT=0.5%.
93 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
94 | | ${framesize}= | Set Variable | ${64}
95 | | ${min_rate}= | Set Variable | ${100000}
96 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
97 | | ${binary_min}= | Set Variable | ${min_rate}
98 | | ${binary_max}= | Set Variable | ${max_rate}
99 | | ${threshold}= | Set Variable | ${min_rate}
100 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
101 | | And   Add PCI devices to DUTs from 3-node single link topology
102 | | And   Add No Multi Seg to all DUTs
103 | | And   Apply startup configuration on all VPP DUTs
104 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
105 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
106 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
107 | | And  Set up Lisp topology
108 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
109 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
110 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
111 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
112 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
113 | | ...                                       | ${binary_max} | 3-node-IPv4
114 | | ...                                       | ${min_rate} | ${max_rate}
115 | | ...                                       | ${threshold}
116 | | ...                                       | ${perf_pdr_loss_acceptance}
117 | | ...                                       | ${perf_pdr_loss_acceptance_type}
118
119 | tc03-1480B-1t1c-ethip4lispip4-ip4base-ndrdisc
120 | | [Documentation]
121 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
122 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
123 | | ... | port.
124 | | ... | [Ver] Find NDR for 1480 Byte frames using binary search start\
125 | | ... | at 10GE linerate, step 10kpps.
126 | | [Tags] | 1T1C | STHREAD | NDRDISC
127 | | ${framesize}= | Set Variable | ${1480}
128 | | ${min_rate}= | Set Variable | ${10000}
129 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
130 | | ${binary_min}= | Set Variable | ${min_rate}
131 | | ${binary_max}= | Set Variable | ${max_rate}
132 | | ${threshold}= | Set Variable | ${min_rate}
133 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
134 | | And   Add PCI devices to DUTs from 3-node single link topology
135 | | And   Add No Multi Seg to all DUTs
136 | | And   Apply startup configuration on all VPP DUTs
137 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
138 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
139 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
140 | | And  Set up Lisp topology
141 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
142 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
143 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
144 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
145 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
146 | | ...                                       | ${binary_max} | 3-node-IPv4
147 | | ...                                       | ${min_rate} | ${max_rate}
148 | | ...                                       | ${threshold}
149
150 | tc04-1480B-1t1c-ethip4lispip4-ip4base-pdrdisc
151 | | [Documentation]
152 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
153 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
154 | | ... | port.
155 | | ... | [Ver] Find PDR for 1480 Byte frames using binary search start\
156 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
157 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
158 | | ${framesize}= | Set Variable | ${1480}
159 | | ${min_rate}= | Set Variable | ${10000}
160 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
161 | | ${binary_min}= | Set Variable | ${min_rate}
162 | | ${binary_max}= | Set Variable | ${max_rate}
163 | | ${threshold}= | Set Variable | ${min_rate}
164 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
165 | | And   Add PCI devices to DUTs from 3-node single link topology
166 | | And   Add No Multi Seg to all DUTs
167 | | And   Apply startup configuration on all VPP DUTs
168 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
169 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
170 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
171 | | And  Set up Lisp topology
172 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
173 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
174 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
175 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
176 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
177 | | ...                                       | ${binary_max} | 3-node-IPv4
178 | | ...                                       | ${min_rate} | ${max_rate}
179 | | ...                                       | ${threshold}
180 | | ...                                       | ${perf_pdr_loss_acceptance}
181 | | ...                                       | ${perf_pdr_loss_acceptance_type}
182
183 | tc05-9000B-1t1c-ethip4lispip4-ip4base-ndrdisc
184 | | [Documentation]
185 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
186 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
187 | | ... | port.
188 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
189 | | ... | at 10GE linerate, step 5kpps.
190 | | [Tags] | 1T1C | STHREAD | NDRDISC
191 | | ${framesize}= | Set Variable | ${9000}
192 | | ${min_rate}= | Set Variable | ${10000}
193 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
194 | | ${binary_min}= | Set Variable | ${min_rate}
195 | | ${binary_max}= | Set Variable | ${max_rate}
196 | | ${threshold}= | Set Variable | ${min_rate}
197 | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo
198 | | And   Add PCI devices to DUTs from 3-node single link topology
199 | | And   Apply startup configuration on all VPP DUTs
200 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
201 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
202 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
203 | | And  Set up Lisp topology
204 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
205 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
206 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
207 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
208 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
209 | | ...                                       | ${binary_max} | 3-node-IPv4
210 | | ...                                       | ${min_rate} | ${max_rate}
211 | | ...                                       | ${threshold}
212
213 | tc06-9000B-1t1c-ethip4lispip4-ip4base-pdrdisc
214 | | [Documentation]
215 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
216 | | ... | filters config with 1 thread, 1 phy core, 1 receive queue per NIC\
217 | | ... | port.
218 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
219 | | ... | at 10GE linerate, step 5kpps, LT=0.5%.
220 | | [Tags] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH
221 | | ${framesize}= | Set Variable | ${9000}
222 | | ${min_rate}= | Set Variable | ${10000}
223 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
224 | | ${binary_min}= | Set Variable | ${min_rate}
225 | | ${binary_max}= | Set Variable | ${max_rate}
226 | | ${threshold}= | Set Variable | ${min_rate}
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 Lisp IPv4 forwarding initialized in a 3-node circular topology
231 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
232 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
233 | | And  Set up Lisp topology
234 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
235 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
236 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
237 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
238 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
239 | | ...                                       | ${binary_max} | 3-node-IPv4
240 | | ...                                       | ${min_rate} | ${max_rate}
241 | | ...                                       | ${threshold}
242 | | ...                                       | ${perf_pdr_loss_acceptance}
243 | | ...                                       | ${perf_pdr_loss_acceptance_type}
244
245 | tc07-64B-2t2c-ethip4lispip4-ip4base-ndrdisc
246 | | [Documentation]
247 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
248 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
249 | | ... | port.
250 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start\
251 | | ... | at 10GE linerate, step 100kpps.
252 | | [Tags] | 2T2C | MTHREAD | NDRDISC
253 | | ${framesize}= | Set Variable | ${64}
254 | | ${min_rate}= | Set Variable | ${100000}
255 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
256 | | ${binary_min}= | Set Variable | ${min_rate}
257 | | ${binary_max}= | Set Variable | ${max_rate}
258 | | ${threshold}= | Set Variable | ${min_rate}
259 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
260 | | And   Add PCI devices to DUTs from 3-node single link topology
261 | | And   Add No Multi Seg to all DUTs
262 | | And   Apply startup configuration on all VPP DUTs
263 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
264 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
265 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
266 | | And  Set up Lisp topology
267 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
268 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
269 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
270 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
271 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
272 | | ...                                       | ${binary_max} | 3-node-IPv4
273 | | ...                                       | ${min_rate} | ${max_rate}
274 | | ...                                       | ${threshold}
275
276 | tc08-64B-2t2c-ethip4lispip4-ip4base-pdrdisc
277 | | [Documentation]
278 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
279 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
280 | | ... | port.
281 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start\
282 | | ... | at 10GE linerate, step 100kpps, LT=0.5%.
283 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
284 | | ${framesize}= | Set Variable | ${64}
285 | | ${min_rate}= | Set Variable | ${100000}
286 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
287 | | ${binary_min}= | Set Variable | ${min_rate}
288 | | ${binary_max}= | Set Variable | ${max_rate}
289 | | ${threshold}= | Set Variable | ${min_rate}
290 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
291 | | And   Add PCI devices to DUTs from 3-node single link topology
292 | | And   Add No Multi Seg to all DUTs
293 | | And   Apply startup configuration on all VPP DUTs
294 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
295 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
296 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
297 | | And  Set up Lisp topology
298 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
299 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
300 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
301 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
302 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
303 | | ...                                       | ${binary_max} | 3-node-IPv4
304 | | ...                                       | ${min_rate} | ${max_rate}
305 | | ...                                       | ${threshold}
306 | | ...                                       | ${perf_pdr_loss_acceptance}
307 | | ...                                       | ${perf_pdr_loss_acceptance_type}
308
309 | tc09-1480B-2t2c-ethip4lispip4-ip4base-ndrdisc
310 | | [Documentation]
311 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
312 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
313 | | ... | port.
314 | | ... | [Ver] Find NDR for 1480 Byte frames using binary search start\
315 | | ... | at 10GE linerate, step 10kpps.
316 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
317 | | ${framesize}= | Set Variable | ${1480}
318 | | ${min_rate}= | Set Variable | ${10000}
319 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
320 | | ${binary_min}= | Set Variable | ${min_rate}
321 | | ${binary_max}= | Set Variable | ${max_rate}
322 | | ${threshold}= | Set Variable | ${min_rate}
323 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
324 | | And   Add PCI devices to DUTs from 3-node single link topology
325 | | And   Add No Multi Seg to all DUTs
326 | | And   Apply startup configuration on all VPP DUTs
327 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
328 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
329 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
330 | | And  Set up Lisp topology
331 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
332 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
333 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
334 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
335 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
336 | | ...                                       | ${binary_max} | 3-node-IPv4
337 | | ...                                       | ${min_rate} | ${max_rate}
338 | | ...                                       | ${threshold}
339
340 | tc10-1480B-2t2c-ethip4lispip4-ip4base-pdrdisc
341 | | [Documentation]
342 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
343 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
344 | | ... | port.
345 | | ... | [Ver] Find PDR for 1480 Byte frames using binary search start\
346 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
347 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
348 | | ${framesize}= | Set Variable | ${1480}
349 | | ${min_rate}= | Set Variable | ${10000}
350 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
351 | | ${binary_min}= | Set Variable | ${min_rate}
352 | | ${binary_max}= | Set Variable | ${max_rate}
353 | | ${threshold}= | Set Variable | ${min_rate}
354 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
355 | | And   Add PCI devices to DUTs from 3-node single link topology
356 | | And   Add No Multi Seg to all DUTs
357 | | And   Apply startup configuration on all VPP DUTs
358 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
359 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
360 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
361 | | And  Set up Lisp topology
362 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
363 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
364 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
365 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
366 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
367 | | ...                                       | ${binary_max} | 3-node-IPv4
368 | | ...                                       | ${min_rate} | ${max_rate}
369 | | ...                                       | ${threshold}
370 | | ...                                       | ${perf_pdr_loss_acceptance}
371 | | ...                                       | ${perf_pdr_loss_acceptance_type}
372
373 | tc11-9000B-2t2c-ethip4lispip4-ip4base-ndrdisc
374 | | [Documentation]
375 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
376 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
377 | | ... | port.
378 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
379 | | ... | at 10GE linerate, step 5kpps.
380 | | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH
381 | | ${framesize}= | Set Variable | ${9000}
382 | | ${min_rate}= | Set Variable | ${10000}
383 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
384 | | ${binary_min}= | Set Variable | ${min_rate}
385 | | ${binary_max}= | Set Variable | ${max_rate}
386 | | ${threshold}= | Set Variable | ${min_rate}
387 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
388 | | And   Add PCI devices to DUTs from 3-node single link topology
389 | | And   Apply startup configuration on all VPP DUTs
390 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
391 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
392 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
393 | | And  Set up Lisp topology
394 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
395 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
396 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
397 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
398 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
399 | | ...                                       | ${binary_max} | 3-node-IPv4
400 | | ...                                       | ${min_rate} | ${max_rate}
401 | | ...                                       | ${threshold}
402
403 | tc12-9000B-2t2c-ethip4lispip4-ip4base-pdrdisc
404 | | [Documentation]
405 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
406 | | ... | filters config with 2 threads, 2 phy cores, 1 receive queue per NIC\
407 | | ... | port.
408 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
409 | | ... | at 10GE linerate, step 5kpps, LT=0.5%.
410 | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH
411 | | ${framesize}= | Set Variable | ${9000}
412 | | ${min_rate}= | Set Variable | ${10000}
413 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
414 | | ${binary_min}= | Set Variable | ${min_rate}
415 | | ${binary_max}= | Set Variable | ${max_rate}
416 | | ${threshold}= | Set Variable | ${min_rate}
417 | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo
418 | | And   Add PCI devices to DUTs from 3-node single link topology
419 | | And   Apply startup configuration on all VPP DUTs
420 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
421 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
422 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
423 | | And  Set up Lisp topology
424 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
425 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
426 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
427 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
428 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
429 | | ...                                       | ${binary_max} | 3-node-IPv4
430 | | ...                                       | ${min_rate} | ${max_rate}
431 | | ...                                       | ${threshold}
432 | | ...                                       | ${perf_pdr_loss_acceptance}
433 | | ...                                       | ${perf_pdr_loss_acceptance_type}
434
435 | tc13-64B-4t4c-ethip4lispip4-ip4base-ndrdisc
436 | | [Documentation]
437 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
438 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
439 | | ... | port.
440 | | ... | [Ver] Find NDR for 64 Byte frames using binary search start\
441 | | ... | at 10GE linerate, step 100kpps.
442 | | [Tags] | 4T4C | MTHREAD | NDRDISC
443 | | ${framesize}= | Set Variable | ${64}
444 | | ${min_rate}= | Set Variable | ${100000}
445 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
446 | | ${binary_min}= | Set Variable | ${min_rate}
447 | | ${binary_max}= | Set Variable | ${max_rate}
448 | | ${threshold}= | Set Variable | ${min_rate}
449 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
450 | | And   Add PCI devices to DUTs from 3-node single link topology
451 | | And   Add No Multi Seg to all DUTs
452 | | And   Apply startup configuration on all VPP DUTs
453 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
454 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
455 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
456 | | And  Set up Lisp topology
457 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
458 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
459 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
460 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
461 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
462 | | ...                                       | ${binary_max} | 3-node-IPv4
463 | | ...                                       | ${min_rate} | ${max_rate}
464 | | ...                                       | ${threshold}
465
466 | tc14-64B-4t4c-ethip4lispip4-ip4base-pdrdisc
467 | | [Documentation]
468 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
469 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
470 | | ... | port.
471 | | ... | [Ver] Find PDR for 64 Byte frames using binary search start\
472 | | ... | at 10GE linerate, step 100kpps, LT=0.5%.
473 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
474 | | ${framesize}= | Set Variable | ${64}
475 | | ${min_rate}= | Set Variable | ${100000}
476 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
477 | | ${binary_min}= | Set Variable | ${min_rate}
478 | | ${binary_max}= | Set Variable | ${max_rate}
479 | | ${threshold}= | Set Variable | ${min_rate}
480 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
481 | | And   Add PCI devices to DUTs from 3-node single link topology
482 | | And   Add No Multi Seg to all DUTs
483 | | And   Apply startup configuration on all VPP DUTs
484 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
485 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
486 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
487 | | And  Set up Lisp topology
488 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
489 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
490 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
491 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
492 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
493 | | ...                                       | ${binary_max} | 3-node-IPv4
494 | | ...                                       | ${min_rate} | ${max_rate}
495 | | ...                                       | ${threshold}
496 | | ...                                       | ${perf_pdr_loss_acceptance}
497 | | ...                                       | ${perf_pdr_loss_acceptance_type}
498
499 | tc15-1480B-4t4c-ethip4lispip4-ip4base-ndrdisc
500 | | [Documentation]
501 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
502 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
503 | | ... | port.
504 | | ... | [Ver] Find NDR for 1480 Byte frames using binary search start\
505 | | ... | at 10GE linerate, step 10kpps.
506 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
507 | | ${framesize}= | Set Variable | ${1480}
508 | | ${min_rate}= | Set Variable | ${10000}
509 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
510 | | ${binary_min}= | Set Variable | ${min_rate}
511 | | ${binary_max}= | Set Variable | ${max_rate}
512 | | ${threshold}= | Set Variable | ${min_rate}
513 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
514 | | And   Add PCI devices to DUTs from 3-node single link topology
515 | | And   Add No Multi Seg to all DUTs
516 | | And   Apply startup configuration on all VPP DUTs
517 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
518 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
519 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
520 | | And  Set up Lisp topology
521 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
522 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
523 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
524 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
525 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
526 | | ...                                       | ${binary_max} | 3-node-IPv4
527 | | ...                                       | ${min_rate} | ${max_rate}
528 | | ...                                       | ${threshold}
529
530 | tc16-1480B-4t4c-ethip4lispip4-ip4base-pdrdisc
531 | | [Documentation]
532 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
533 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
534 | | ... | port.
535 | | ... | [Ver] Find PDR for 1480 Byte frames using binary search start\
536 | | ... | at 10GE linerate, step 10kpps, LT=0.5%.
537 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
538 | | ${framesize}= | Set Variable | ${1480}
539 | | ${min_rate}= | Set Variable | ${10000}
540 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
541 | | ${binary_min}= | Set Variable | ${min_rate}
542 | | ${binary_max}= | Set Variable | ${max_rate}
543 | | ${threshold}= | Set Variable | ${min_rate}
544 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
545 | | And   Add PCI devices to DUTs from 3-node single link topology
546 | | And   Add No Multi Seg to all DUTs
547 | | And   Apply startup configuration on all VPP DUTs
548 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
549 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
550 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
551 | | And  Set up Lisp topology
552 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
553 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
554 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
555 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
556 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
557 | | ...                                       | ${binary_max} | 3-node-IPv4
558 | | ...                                       | ${min_rate} | ${max_rate}
559 | | ...                                       | ${threshold}
560 | | ...                                       | ${perf_pdr_loss_acceptance}
561 | | ...                                       | ${perf_pdr_loss_acceptance_type}
562
563 | tc17-9000B-4t4c-ethip4lispip4-ip4base-ndrdisc
564 | | [Documentation]
565 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
566 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
567 | | ... | port.
568 | | ... | [Ver] Find NDR for 9000 Byte frames using binary search start\
569 | | ... | at 10GE linerate, step 5kpps.
570 | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH
571 | | ${framesize}= | Set Variable | ${9000}
572 | | ${min_rate}= | Set Variable | ${10000}
573 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
574 | | ${binary_min}= | Set Variable | ${min_rate}
575 | | ${binary_max}= | Set Variable | ${max_rate}
576 | | ${threshold}= | Set Variable | ${min_rate}
577 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
578 | | And   Add PCI devices to DUTs from 3-node single link topology
579 | | And   Apply startup configuration on all VPP DUTs
580 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
581 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
582 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
583 | | And  Set up Lisp topology
584 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
585 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
586 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
587 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
588 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
589 | | ...                                       | ${binary_max} | 3-node-IPv4
590 | | ...                                       | ${min_rate} | ${max_rate}
591 | | ...                                       | ${threshold}
592
593 | tc18-9000B-4t4c-ethip4lispip4-ip4base-pdrdisc
594 | | [Documentation]
595 | | ... | [Cfg] DUT runs IPv4 LISP remote static mappings and whitelist\
596 | | ... | filters config with 4 threads, 4 phy cores, 2 receive queues per NIC\
597 | | ... | port.
598 | | ... | [Ver] Find PDR for 9000 Byte frames using binary search start\
599 | | ... | at 10GE linerate, step 5kpps, LT=0.5%.
600 | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH
601 | | ${framesize}= | Set Variable | ${9000}
602 | | ${min_rate}= | Set Variable | ${10000}
603 | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize + 8}
604 | | ${binary_min}= | Set Variable | ${min_rate}
605 | | ${binary_max}= | Set Variable | ${max_rate}
606 | | ${threshold}= | Set Variable | ${min_rate}
607 | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo
608 | | And   Add PCI devices to DUTs from 3-node single link topology
609 | | And   Apply startup configuration on all VPP DUTs
610 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
611 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
612 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
613 | | And  Set up Lisp topology
614 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
615 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
616 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
617 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
618 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
619 | | ...                                       | ${binary_max} | 3-node-IPv4
620 | | ...                                       | ${min_rate} | ${max_rate}
621 | | ...                                       | ${threshold}
622 | | ...                                       | ${perf_pdr_loss_acceptance}
623 | | ...                                       | ${perf_pdr_loss_acceptance_type}