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