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