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