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