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