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