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