CSIT-200: Lisp performance test
[csit.git] / tests / perf / Short_Lisp_Intel-X520-DA2.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_SHORT
24 | ...        | NIC_Intel-X520-DA2
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 Keyword | Remove startup configuration of VPP from all DUTs
30 | Documentation | *Reference NDR throughput Lisp tunnel verify test cases*
31 | ...
32 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
33 | ... | with single links between nodes.
34 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-LISP-IPv4-ICMPv4 on DUT1-DUT2,
35 | ... | Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv4 tunnel;
36 | ... | Eth-IPv6-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on TG-DUTn for
37 | ... | IPv6 routing over LISPoIPv6 tunnel; Eth-IPv6-LISP-IPv4-ICMPv4 on
38 | ... | DUT1-DUT2, Eth-IPv4-ICMPv4 on TG-DUTn for IPv4 routing over LISPoIPv6
39 | ... | tunnel; Eth-IPv4-LISP-IPv6-ICMPv6 on DUT1-DUT2, Eth-IPv6-ICMPv6 on
40 | ... | TG-DUTn for IPv6 routing over LISPoIPv4 tunnel.
41 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv4 (IPv6)
42 | ... | routing and static routes. LISPoIPv4 (oIPv6) tunnel is configured
43 | ... | between DUT1 and DUT2. DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic
44 | ... | by Intel.
45 | ... | *[Ver] TG verification:* In short performance tests, TG verifies
46 | ... | DUTs' throughput at ref-NDR (reference Non Drop Rate) with zero packet
47 | ... | loss tolerance. Ref-NDR value is periodically updated acording to
48 | ... | formula: ref-NDR = 0.9x NDR, where NDR is found in RFC2544 long
49 | ... | performance tests for the same DUT confiiguration. Test packets are
50 | ... | generated by TG on links to DUTs. TG traffic profile contains two L3
51 | ... | flow-groups (flow-group per direction, 253 flows per flow-group) with
52 | ... | all packets containing Ethernet header, IPv4 header or IPv6 header with
53 | ... | IP protocol=61 and generated payload.
54 | ... | *[Ref] Applicable standard specifications:* RFC2544.
55
56 *** Test Cases ***
57 | TC01: Verify 64B ref-NDR at 2x 1.9Mpps - DUT IPv4 - 1thread 1core 1rxq
58 | | [Documentation]
59 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
60 | | ... | 1 receive queue per NIC port.
61 | | ... | [Ver] Verify ref-NDR for 64 Byte frames using single trial throughput
62 | | ... | test.
63 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv4
64 | | ${framesize}= | Set Variable | 64
65 | | ${duration}= | Set Variable | 10
66 | | ${rate}= | Set Variable | 1.9mpps
67 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
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 IPv4 forwarding initialized in a 3-node circular topology
72 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
73 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
74 | | And  Set up Lisp topology
75 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
76 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
77 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
78 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
79 | | Then Traffic should pass with no loss | ${duration} | ${rate}
80 | | ...                                   | ${framesize} | 3-node-IPv4
81
82 | TC02: Verify 1480B ref-NDR at 2x 740kpps - DUT IPv4 - 1thread 1core 1rxq
83 | | [Documentation]
84 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
85 | | ... | 1 receive queue per NIC port.
86 | | ... | [Ver] Verify ref-NDR for 1480 Byte frames using single trial
87 | | ... | throughput test.
88 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv4
89 | | ${framesize}= | Set Variable | 1480
90 | | ${duration}= | Set Variable | 10
91 | | ${rate}= | Set Variable | 740000pps
92 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
93 | | And   Add PCI devices to DUTs from 3-node single link topology
94 | | And   Add No Multi Seg to all DUTs
95 | | And   Apply startup configuration on all VPP DUTs
96 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
97 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
98 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
99 | | And  Set up Lisp topology
100 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
101 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
102 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
103 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
104 | | Then Traffic should pass with no loss | ${duration} | ${rate}
105 | | ...                                   | ${framesize} | 3-node-IPv4
106
107 | TC03: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv4 - 1thread 1core 1rxq
108 | | [Documentation]
109 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
110 | | ... | 1 receive queue per NIC port.
111 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
112 | | ... | throughput test.
113 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv4
114 | | ${framesize}= | Set Variable | 9000
115 | | ${duration}= | Set Variable | 10
116 | | ${rate}= | Set Variable | 120000pps
117 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
118 | | And   Add PCI devices to DUTs from 3-node single link topology
119 | | And   Apply startup configuration on all VPP DUTs
120 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
121 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
122 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
123 | | And  Set up Lisp topology
124 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
125 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
126 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
127 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
128 | | Then Traffic should pass with no loss | ${duration} | ${rate}
129 | | ...                                   | ${framesize} | 3-node-IPv4
130
131 | TC04: Verify 64B ref-NDR at 2x 3.6Mpps - DUT IPv4 - 2thread 2core 1rxq
132 | | [Documentation]
133 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
134 | | ... | 1 receive queue per NIC port.
135 | | ... | [Ver] Verify ref-NDR for 64 Byte frames using single trial
136 | | ... | throughput test.
137 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv4
138 | | ${framesize}= | Set Variable | 64
139 | | ${duration}= | Set Variable | 10
140 | | ${rate}= | Set Variable | 3.6mpps
141 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
142 | | And   Add PCI devices to DUTs from 3-node single link topology
143 | | And   Add No Multi Seg to all DUTs
144 | | And   Apply startup configuration on all VPP DUTs
145 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
146 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
147 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
148 | | And  Set up Lisp topology
149 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
150 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
151 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
152 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
153 | | Then Traffic should pass with no loss | ${duration} | ${rate}
154 | | ...                                   | ${framesize} | 3-node-IPv4
155
156 | TC05: Verify 1480B ref-NDR at 2x 740kpps - DUT IPv4 - 2thread 2core 1rxq
157 | | [Documentation]
158 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
159 | | ... | 1 receive queue per NIC port.
160 | | ... | [Ver] Verify ref-NDR for 1480 Byte frames using single trial
161 | | ... | throughput test.
162 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv4
163 | | ${framesize}= | Set Variable | 1480
164 | | ${duration}= | Set Variable | 10
165 | | ${rate}= | Set Variable | 740000pps
166 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
167 | | And   Add PCI devices to DUTs from 3-node single link topology
168 | | And   Add No Multi Seg to all DUTs
169 | | And   Apply startup configuration on all VPP DUTs
170 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
171 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
172 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
173 | | And  Set up Lisp topology
174 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
175 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
176 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
177 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
178 | | Then Traffic should pass with no loss | ${duration} | ${rate}
179 | | ...                                   | ${framesize} | 3-node-IPv4
180
181 | TC06: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv4 - 2thread 2core 1rxq
182 | | [Documentation]
183 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
184 | | ... | 1 receive queue per NIC port.
185 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
186 | | ... | throughput test.
187 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv4
188 | | ${framesize}= | Set Variable | 9000
189 | | ${duration}= | Set Variable | 10
190 | | ${rate}= | Set Variable | 120000pps
191 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
192 | | And   Add PCI devices to DUTs from 3-node single link topology
193 | | And   Apply startup configuration on all VPP DUTs
194 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
195 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
196 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
197 | | And  Set up Lisp topology
198 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
199 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
200 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
201 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
202 | | Then Traffic should pass with no loss | ${duration} | ${rate}
203 | | ...                                   | ${framesize} | 3-node-IPv4
204
205 | TC07: Verify 64B ref-NDR at 2x 3.5Mpps - DUT IPv4 - 4thread 4core 2rxq
206 | | [Documentation]
207 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
208 | | ... | 2 receive queues per NIC port.
209 | | ... | [Ver] Verify ref-NDR for 64 Byte frames using single trial
210 | | ... | throughput test.
211 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv4
212 | | ${framesize}= | Set Variable | 64
213 | | ${duration}= | Set Variable | 10
214 | | ${rate}= | Set Variable | 3.5mpps
215 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
216 | | And   Add PCI devices to DUTs from 3-node single link topology
217 | | And   Add No Multi Seg to all DUTs
218 | | And   Apply startup configuration on all VPP DUTs
219 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
220 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
221 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
222 | | And  Set up Lisp topology
223 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
224 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
225 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
226 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
227 | | Then Traffic should pass with no loss | ${duration} | ${rate}
228 | | ...                                   | ${framesize} | 3-node-IPv4
229
230 | TC08: Verify 1480B ref-NDR at 2x 740kpps - DUT IPv4 - 4thread 4core 2rxq
231 | | [Documentation]
232 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
233 | | ... | 2 receive queues per NIC port.
234 | | ... | [Ver] Verify ref-NDR for 1480 Byte frames using single trial
235 | | ... | throughput test.
236 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv4
237 | | ${framesize}= | Set Variable | 1480
238 | | ${duration}= | Set Variable | 10
239 | | ${rate}= | Set Variable | 740000pps
240 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
241 | | And   Add PCI devices to DUTs from 3-node single link topology
242 | | And   Add No Multi Seg to all DUTs
243 | | And   Apply startup configuration on all VPP DUTs
244 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
245 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
246 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
247 | | And  Set up Lisp topology
248 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
249 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
250 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
251 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
252 | | Then Traffic should pass with no loss | ${duration} | ${rate}
253 | | ...                                   | ${framesize} | 3-node-IPv4
254
255 | TC09: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv4 - 4thread 4core 2rxq
256 | | [Documentation]
257 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
258 | | ... | 2 receive queues per NIC port.
259 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
260 | | ... | throughput test.
261 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv4
262 | | ${framesize}= | Set Variable | 9000
263 | | ${duration}= | Set Variable | 10
264 | | ${rate}= | Set Variable | 120000pps
265 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
266 | | And   Add PCI devices to DUTs from 3-node single link topology
267 | | And   Apply startup configuration on all VPP DUTs
268 | | When Lisp IPv4 forwarding initialized in a 3-node circular topology
269 | | ...  | ${dut1_to_dut2_ip4} | ${dut1_to_tg_ip4} | ${dut2_to_dut1_ip4}
270 | | ...  | ${dut2_to_tg_ip4} | ${prefix4}
271 | | And  Set up Lisp topology
272 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
273 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
274 | | ...  | ${duts_locator_set} | ${dut1_ip4_eid} | ${dut2_ip4_eid}
275 | | ...  | ${dut1_ip4_static_adjacency} | ${dut2_ip4_static_adjacency}
276 | | Then Traffic should pass with no loss | ${duration} | ${rate}
277 | | ...                                   | ${framesize} | 3-node-IPv4
278
279 | TC10: Verify 78B ref-NDR at 2x 1.56Mpps - DUT IPv6 - 1thread 1core 1rxq
280 | | [Documentation]
281 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
282 | | ... | 1 receive queue per NIC port.
283 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial
284 | | ... | throughput test.
285 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv6
286 | | ${framesize}= | Set Variable | 78
287 | | ${duration}= | Set Variable | 10
288 | | ${rate}= | Set Variable | 1.56mpps
289 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
290 | | And   Add PCI devices to DUTs from 3-node single link topology
291 | | And   Add No Multi Seg to all DUTs
292 | | And   Apply startup configuration on all VPP DUTs
293 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
294 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
295 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
296 | | And  Set up Lisp topology
297 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
298 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
299 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
300 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
301 | | Then Traffic should pass with no loss | ${duration} | ${rate}
302 | | ...                                   | ${framesize} | 3-node-IPv6
303
304 | TC11: Verify 1460B ref-NDR at 2x 740kpps - DUT IPv6 - 1thread 1core 1rxq
305 | | [Documentation]
306 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
307 | | ... | 1 receive queue per NIC port.
308 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
309 | | ... | throughput test.
310 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv6
311 | | ${framesize}= | Set Variable | 1460
312 | | ${duration}= | Set Variable | 10
313 | | ${rate}= | Set Variable | 740000pps
314 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
315 | | And   Add PCI devices to DUTs from 3-node single link topology
316 | | And   Add No Multi Seg to all DUTs
317 | | And   Apply startup configuration on all VPP DUTs
318 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
319 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
320 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
321 | | And  Set up Lisp topology
322 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
323 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
324 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
325 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
326 | | Then Traffic should pass with no loss | ${duration} | ${rate}
327 | | ...                                   | ${framesize} | 3-node-IPv6
328
329 | TC12: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv6 - 1thread 1core 1rxq
330 | | [Documentation]
331 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
332 | | ... | 1 receive queue per NIC port.
333 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
334 | | ... | throughput test.
335 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv6
336 | | ${framesize}= | Set Variable | 9000
337 | | ${duration}= | Set Variable | 10
338 | | ${rate}= | Set Variable | 120000pps
339 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
340 | | And   Add PCI devices to DUTs from 3-node single link topology
341 | | And   Apply startup configuration on all VPP DUTs
342 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
343 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
344 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
345 | | And  Set up Lisp topology
346 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
347 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
348 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
349 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
350 | | Then Traffic should pass with no loss | ${duration} | ${rate}
351 | | ...                                   | ${framesize} | 3-node-IPv6
352
353 | TC13: Verify 78B ref-NDR at 2x 3.2Mpps - DUT IPv6 - 2thread 2core 1rxq
354 | | [Documentation]
355 | | ... | [Cfg] DUT runs LISP tunnel config with 2 thread, 2 phy core, \
356 | | ... | 1 receive queue per NIC port.
357 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial
358 | | ... | throughput test.
359 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv6
360 | | ${framesize}= | Set Variable | 78
361 | | ${duration}= | Set Variable | 10
362 | | ${rate}= | Set Variable | 3.2mpps
363 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
364 | | And   Add PCI devices to DUTs from 3-node single link topology
365 | | And   Add No Multi Seg to all DUTs
366 | | And   Apply startup configuration on all VPP DUTs
367 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
368 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
369 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
370 | | And  Set up Lisp topology
371 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
372 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
373 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
374 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
375 | | Then Traffic should pass with no loss | ${duration} | ${rate}
376 | | ...                                   | ${framesize} | 3-node-IPv6
377
378 | TC14: Verify 1460B ref-NDR at 2x 740kpps - DUT IPv6 - 2thread 2core 1rxq
379 | | [Documentation]
380 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
381 | | ... | 1 receive queue per NIC port.
382 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
383 | | ... | throughput test.
384 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv6
385 | | ${framesize}= | Set Variable | 1460
386 | | ${duration}= | Set Variable | 10
387 | | ${rate}= | Set Variable | 740000pps
388 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
389 | | And   Add PCI devices to DUTs from 3-node single link topology
390 | | And   Add No Multi Seg to all DUTs
391 | | And   Apply startup configuration on all VPP DUTs
392 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
393 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
394 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
395 | | And  Set up Lisp topology
396 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
397 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
398 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
399 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
400 | | Then Traffic should pass with no loss | ${duration} | ${rate}
401 | | ...                                   | ${framesize} | 3-node-IPv6
402
403 | TC15: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv6 - 2thread 2core 1rxq
404 | | [Documentation]
405 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
406 | | ... | 1 receive queue per NIC port.
407 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
408 | | ... | throughput test.
409 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv6
410 | | ${framesize}= | Set Variable | 9000
411 | | ${duration}= | Set Variable | 10
412 | | ${rate}= | Set Variable | 120000pps
413 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
414 | | And   Add PCI devices to DUTs from 3-node single link topology
415 | | And   Apply startup configuration on all VPP DUTs
416 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
417 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
418 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
419 | | And  Set up Lisp topology
420 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
421 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
422 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
423 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
424 | | Then Traffic should pass with no loss | ${duration} | ${rate}
425 | | ...                                   | ${framesize} | 3-node-IPv6
426
427 | TC16: Verify 78B ref-NDR at 2x 3.2Mpps - DUT IPv6 - 4thread 4core 2rxq
428 | | [Documentation]
429 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
430 | | ... | 2 receive queues per NIC port.
431 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial
432 | | ... | throughput test.
433 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv6
434 | | ${framesize}= | Set Variable | 78
435 | | ${duration}= | Set Variable | 10
436 | | ${rate}= | Set Variable | 3.2mpps
437 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
438 | | And   Add PCI devices to DUTs from 3-node single link topology
439 | | And   Add No Multi Seg to all DUTs
440 | | And   Apply startup configuration on all VPP DUTs
441 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
442 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
443 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
444 | | And  Set up Lisp topology
445 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
446 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
447 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
448 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
449 | | Then Traffic should pass with no loss | ${duration} | ${rate}
450 | | ...                                   | ${framesize} | 3-node-IPv6
451
452 | TC17: Verify 1460B ref-NDR at 2x 740kpps - DUT IPv6 - 4thread 4core 2rxq
453 | | [Documentation]
454 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
455 | | ... | 2 receive queues per NIC port.
456 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
457 | | ... | throughput test.
458 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv6
459 | | ${framesize}= | Set Variable | 1460
460 | | ${duration}= | Set Variable | 10
461 | | ${rate}= | Set Variable | 740000pps
462 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
463 | | And   Add PCI devices to DUTs from 3-node single link topology
464 | | And   Add No Multi Seg to all DUTs
465 | | And   Apply startup configuration on all VPP DUTs
466 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
467 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
468 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
469 | | And  Set up Lisp topology
470 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
471 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
472 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
473 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
474 | | Then Traffic should pass with no loss | ${duration} | ${rate}
475 | | ...                                   | ${framesize} | 3-node-IPv6
476
477 | TC18: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv6 - 4thread 4core 2rxq
478 | | [Documentation]
479 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
480 | | ... | 2 receive queues per NIC port.
481 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
482 | | ... | throughput test.
483 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv6
484 | | ${framesize}= | Set Variable | 9000
485 | | ${duration}= | Set Variable | 10
486 | | ${rate}= | Set Variable | 120000pps
487 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
488 | | And   Add PCI devices to DUTs from 3-node single link topology
489 | | And   Apply startup configuration on all VPP DUTs
490 | | When Lisp IPv6 forwarding initialized in a 3-node circular topology
491 | | ...  | ${dut1_to_dut2_ip6} | ${dut1_to_tg_ip6} | ${dut2_to_dut1_ip6}
492 | | ...  | ${dut2_to_tg_ip6} | ${prefix6}
493 | | And  Set up Lisp topology
494 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
495 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
496 | | ...  | ${duts_locator_set} | ${dut1_ip6_eid} | ${dut2_ip6_eid}
497 | | ...  | ${dut1_ip6_static_adjacency} | ${dut2_ip6_static_adjacency}
498 | | Then Traffic should pass with no loss | ${duration} | ${rate}
499 | | ...                                   | ${framesize} | 3-node-IPv6
500
501 | TC19: Verify 64B ref-NDR at 2x 1.53Mpps - DUT IPv4oIPv6 - 1thread 1core 1rxq
502 | | [Documentation]
503 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
504 | | ... | 1 receive queue per NIC port.
505 | | ... | [Ver] Verify ref-NDR for 64 Byte frames using single trial
506 | | ... | throughput test.
507 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv4oIPv6
508 | | ${framesize}= | Set Variable | 64
509 | | ${duration}= | Set Variable | 10
510 | | ${rate}= | Set Variable | 1.53mpps
511 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
512 | | And   Add PCI devices to DUTs from 3-node single link topology
513 | | And   Add No Multi Seg to all DUTs
514 | | And   Apply startup configuration on all VPP DUTs
515 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
516 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
517 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
518 | | And  Set up Lisp topology
519 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
520 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
521 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
522 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
523 | | Then Traffic should pass with no loss | ${duration} | ${rate}
524 | | ...                                   | ${framesize} | 3-node-IPv4
525
526 | TC20: Verify 1460B ref-NDR at 2x 720kpps - DUT IPv4oIPv6 - 1thread 1core 1rxq
527 | | [Documentation]
528 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
529 | | ... | 1 receive queue per NIC port.
530 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
531 | | ... | throughput test.
532 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv4oIPv6
533 | | ${framesize}= | Set Variable | 1460
534 | | ${duration}= | Set Variable | 10
535 | | ${rate}= | Set Variable | 720000pps
536 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
537 | | And   Add PCI devices to DUTs from 3-node single link topology
538 | | And   Add No Multi Seg to all DUTs
539 | | And   Apply startup configuration on all VPP DUTs
540 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
541 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
542 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
543 | | And  Set up Lisp topology
544 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
545 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
546 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
547 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
548 | | Then Traffic should pass with no loss | ${duration} | ${rate}
549 | | ...                                   | ${framesize} | 3-node-IPv4
550
551 | TC21: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv4oIPv6 - 1thread 1core 1rxq
552 | | [Documentation]
553 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
554 | | ... | 1 receive queue per NIC port.
555 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
556 | | ... | throughput test.
557 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv4oIPv6
558 | | ${framesize}= | Set Variable | 9000
559 | | ${duration}= | Set Variable | 10
560 | | ${rate}= | Set Variable | 120000pps
561 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
562 | | And   Add PCI devices to DUTs from 3-node single link topology
563 | | And   Apply startup configuration on all VPP DUTs
564 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
565 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
566 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
567 | | And  Set up Lisp topology
568 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
569 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
570 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
571 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
572 | | Then Traffic should pass with no loss | ${duration} | ${rate}
573 | | ...                                   | ${framesize} | 3-node-IPv4
574
575 | TC22: Verify 64B ref-NDR at 2x 3.25Mpps - DUT IPv4oIPv6 - 2thread 2core 1rxq
576 | | [Documentation]
577 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
578 | | ... | 1 receive queue per NIC port.
579 | | ... | [Ver] Verify ref-NDR for 64 Byte frames using single trial
580 | | ... | throughput test.
581 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv4oIPv6
582 | | ${framesize}= | Set Variable | 64
583 | | ${duration}= | Set Variable | 10
584 | | ${rate}= | Set Variable | 3.25mpps
585 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
586 | | And   Add PCI devices to DUTs from 3-node single link topology
587 | | And   Add No Multi Seg to all DUTs
588 | | And   Apply startup configuration on all VPP DUTs
589 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
590 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
591 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
592 | | And  Set up Lisp topology
593 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
594 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
595 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
596 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
597 | | Then Traffic should pass with no loss | ${duration} | ${rate}
598 | | ...                                   | ${framesize} | 3-node-IPv4
599
600 | TC23: Verify 1460B ref-NDR at 2x 720kpps - DUT IPv4oIPv6 - 2thread 2core 1rxq
601 | | [Documentation]
602 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
603 | | ... | 1 receive queue per NIC port.
604 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
605 | | ... | throughput test.
606 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv4oIPv6
607 | | ${framesize}= | Set Variable | 1460
608 | | ${duration}= | Set Variable | 10
609 | | ${rate}= | Set Variable | 720000pps
610 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
611 | | And   Add PCI devices to DUTs from 3-node single link topology
612 | | And   Add No Multi Seg to all DUTs
613 | | And   Apply startup configuration on all VPP DUTs
614 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
615 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
616 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
617 | | And  Set up Lisp topology
618 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
619 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
620 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
621 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
622 | | Then Traffic should pass with no loss | ${duration} | ${rate}
623 | | ...                                   | ${framesize} | 3-node-IPv4
624
625 | TC24: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv4oIPv6 - 2thread 2core 1rxq
626 | | [Documentation]
627 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
628 | | ... | 1 receive queue per NIC port.
629 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
630 | | ... | throughput test.
631 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv4oIPv6
632 | | ${framesize}= | Set Variable | 9000
633 | | ${duration}= | Set Variable | 10
634 | | ${rate}= | Set Variable | 120000pps
635 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
636 | | And   Add PCI devices to DUTs from 3-node single link topology
637 | | And   Apply startup configuration on all VPP DUTs
638 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
639 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
640 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
641 | | And  Set up Lisp topology
642 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
643 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
644 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
645 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
646 | | Then Traffic should pass with no loss | ${duration} | ${rate}
647 | | ...                                   | ${framesize} | 3-node-IPv4
648
649 | TC25: Verify 64B ref-NDR at 2x 3.12Mpps - DUT IPv4oIPv6 - 4thread 4core 2rxq
650 | | [Documentation]
651 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
652 | | ... | 2 receive queues per NIC port.
653 | | ... | [Ver] Verify ref-NDR for 64 Byte frames using single trial
654 | | ... | throughput test.
655 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv4oIPv6
656 | | ${framesize}= | Set Variable | 64
657 | | ${duration}= | Set Variable | 10
658 | | ${rate}= | Set Variable | 3.12mpps
659 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
660 | | And   Add PCI devices to DUTs from 3-node single link topology
661 | | And   Add No Multi Seg to all DUTs
662 | | And   Apply startup configuration on all VPP DUTs
663 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
664 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
665 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
666 | | And  Set up Lisp topology
667 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
668 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
669 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
670 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
671 | | Then Traffic should pass with no loss | ${duration} | ${rate}
672 | | ...                                   | ${framesize} | 3-node-IPv4
673
674 | TC26: Verify 1460B ref-NDR at 2x 720kpps - DUT IPv4oIPv6 - 4thread 4core 2rxq
675 | | [Documentation]
676 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
677 | | ... | 2 receive queues per NIC port.
678 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
679 | | ... | throughput test.
680 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv4oIPv6
681 | | ${framesize}= | Set Variable | 1460
682 | | ${duration}= | Set Variable | 10
683 | | ${rate}= | Set Variable | 720000pps
684 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
685 | | And   Add PCI devices to DUTs from 3-node single link topology
686 | | And   Add No Multi Seg to all DUTs
687 | | And   Apply startup configuration on all VPP DUTs
688 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
689 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
690 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
691 | | And  Set up Lisp topology
692 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
693 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
694 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
695 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
696 | | Then Traffic should pass with no loss | ${duration} | ${rate}
697 | | ...                                   | ${framesize} | 3-node-IPv4
698
699 | TC27: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv4oIPv6 - 4thread 4core 2rxq
700 | | [Documentation]
701 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
702 | | ... | 2 receive queues per NIC port.
703 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
704 | | ... | throughput test.
705 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv4oIPv6
706 | | ${framesize}= | Set Variable | 9000
707 | | ${duration}= | Set Variable | 10
708 | | ${rate}= | Set Variable | 120000pps
709 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
710 | | And   Add PCI devices to DUTs from 3-node single link topology
711 | | And   Apply startup configuration on all VPP DUTs
712 | | When Lisp IPv4 over IPv6 forwarding initialized in a 3-node circular topology
713 | | ...  | ${dut1_to_dut2_ip4o6} | ${dut1_to_tg_ip4o6} | ${dut2_to_dut1_ip4o6}
714 | | ...  | ${dut2_to_tg_ip4o6} | ${tg_prefix4o6} | ${dut_prefix4o6}
715 | | And  Set up Lisp topology
716 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
717 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
718 | | ...  | ${duts_locator_set} | ${dut1_ip4o6_eid} | ${dut2_ip4o6_eid}
719 | | ...  | ${dut1_ip4o6_static_adjacency} | ${dut2_ip4o6_static_adjacency}
720 | | Then Traffic should pass with no loss | ${duration} | ${rate}
721 | | ...                                   | ${framesize} | 3-node-IPv4
722
723 | TC28: Verify 78B ref-NDR at 2x 1.75Mpps - DUT IPv6oIPv4 - 1thread 1core 1rxq
724 | | [Documentation]
725 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
726 | | ... | 1 receive queue per NIC port.
727 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial
728 | | ... | throughput test.
729 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv6oIPv4
730 | | ${framesize}= | Set Variable | 78
731 | | ${duration}= | Set Variable | 10
732 | | ${rate}= | Set Variable | 1.75mpps
733 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
734 | | And   Add PCI devices to DUTs from 3-node single link topology
735 | | And   Add No Multi Seg to all DUTs
736 | | And   Apply startup configuration on all VPP DUTs
737 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
738 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
739 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
740 | | And  Set up Lisp topology
741 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
742 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
743 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
744 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
745 | | Then Traffic should pass with no loss | ${duration} | ${rate}
746 | | ...                                   | ${framesize} | 3-node-IPv6
747
748 | TC29: Verify 1460B ref-NDR at 2x 720kpps - DUT IPv6oIPv4 - 1thread 1core 1rxq
749 | | [Documentation]
750 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
751 | | ... | 1 receive queue per NIC port.
752 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
753 | | ... | throughput test.
754 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv6oIPv4
755 | | ${framesize}= | Set Variable | 1460
756 | | ${duration}= | Set Variable | 10
757 | | ${rate}= | Set Variable | 720000pps
758 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
759 | | And   Add PCI devices to DUTs from 3-node single link topology
760 | | And   Add No Multi Seg to all DUTs
761 | | And   Apply startup configuration on all VPP DUTs
762 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
763 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
764 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
765 | | And  Set up Lisp topology
766 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
767 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
768 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
769 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
770 | | Then Traffic should pass with no loss | ${duration} | ${rate}
771 | | ...                                   | ${framesize} | 3-node-IPv6
772
773 | TC30: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv6oIPv4 - 1thread 1core 1rxq
774 | | [Documentation]
775 | | ... | [Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core, \
776 | | ... | 1 receive queue per NIC port.
777 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
778 | | ... | throughput test.
779 | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | LISP_IPv6oIPv4
780 | | ${framesize}= | Set Variable | 9000
781 | | ${duration}= | Set Variable | 10
782 | | ${rate}= | Set Variable | 120000pps
783 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
784 | | And   Add PCI devices to DUTs from 3-node single link topology
785 | | And   Apply startup configuration on all VPP DUTs
786 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
787 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
788 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
789 | | And  Set up Lisp topology
790 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
791 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
792 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
793 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
794 | | Then Traffic should pass with no loss | ${duration} | ${rate}
795 | | ...                                   | ${framesize} | 3-node-IPv6
796
797 | TC31: Verify 78B ref-NDR at 2x 3.42Mpps - DUT IPv6oIPv4 - 2thread 2core 1rxq
798 | | [Documentation]
799 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
800 | | ... | 1 receive queue per NIC port.
801 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial
802 | | ... | throughput test.
803 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv6oIPv4
804 | | ${framesize}= | Set Variable | 78
805 | | ${duration}= | Set Variable | 10
806 | | ${rate}= | Set Variable | 3.42mpps
807 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
808 | | And   Add PCI devices to DUTs from 3-node single link topology
809 | | And   Add No Multi Seg to all DUTs
810 | | And   Apply startup configuration on all VPP DUTs
811 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
812 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
813 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
814 | | And  Set up Lisp topology
815 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
816 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
817 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
818 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
819 | | Then Traffic should pass with no loss | ${duration} | ${rate}
820 | | ...                                   | ${framesize} | 3-node-IPv6
821
822 | TC32: Verify 1460B ref-NDR at 2x 720kpps - DUT IPv6oIPv4 - 2thread 2core 1rxq
823 | | [Documentation]
824 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
825 | | ... | 1 receive queue per NIC port.
826 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
827 | | ... | throughput test.
828 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv6oIPv4
829 | | ${framesize}= | Set Variable | 1460
830 | | ${duration}= | Set Variable | 10
831 | | ${rate}= | Set Variable | 720000pps
832 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
833 | | And   Add PCI devices to DUTs from 3-node single link topology
834 | | And   Add No Multi Seg to all DUTs
835 | | And   Apply startup configuration on all VPP DUTs
836 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
837 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
838 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
839 | | And  Set up Lisp topology
840 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
841 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
842 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
843 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
844 | | Then Traffic should pass with no loss | ${duration} | ${rate}
845 | | ...                                   | ${framesize} | 3-node-IPv6
846
847 | TC33: Verify 9000B ref-NDR at 2x 120kpps - DUT IPv6oIPv4 - 2thread 2core 1rxq
848 | | [Documentation]
849 | | ... | [Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores, \
850 | | ... | 1 receive queue per NIC port.
851 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
852 | | ... | throughput test.
853 | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | LISP_IPv6oIPv4
854 | | ${framesize}= | Set Variable | 9000
855 | | ${duration}= | Set Variable | 10
856 | | ${rate}= | Set Variable | 120000pps
857 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
858 | | And   Add PCI devices to DUTs from 3-node single link topology
859 | | And   Apply startup configuration on all VPP DUTs
860 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
861 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
862 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
863 | | And  Set up Lisp topology
864 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
865 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
866 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
867 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
868 | | Then Traffic should pass with no loss | ${duration} | ${rate}
869 | | ...                                   | ${framesize} | 3-node-IPv6
870
871 | TC34: Verify 78B ref-NDR at 2x 3.42Mpps - DUT IPv6oIPv4 - 4thread 4core 2rxq
872 | | [Documentation]
873 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
874 | | ... | 2 receive queues per NIC port.
875 | | ... | [Ver] Verify ref-NDR for 78 Byte frames using single trial
876 | | ... | throughput test.
877 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv6oIPv4
878 | | ${framesize}= | Set Variable | 78
879 | | ${duration}= | Set Variable | 10
880 | | ${rate}= | Set Variable | 3.42mpps
881 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
882 | | And   Add PCI devices to DUTs from 3-node single link topology
883 | | And   Add No Multi Seg to all DUTs
884 | | And   Apply startup configuration on all VPP DUTs
885 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
886 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
887 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
888 | | And  Set up Lisp topology
889 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
890 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
891 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
892 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
893 | | Then Traffic should pass with no loss | ${duration} | ${rate}
894 | | ...                                   | ${framesize} | 3-node-IPv6
895
896 | TC35: Verify 1460B ref-NDR at 2x 720Kpps - DUT IPv6oIPv4 - 4thread 4core 2rxq
897 | | [Documentation]
898 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
899 | | ... | 2 receive queues per NIC port.
900 | | ... | [Ver] Verify ref-NDR for 1460 Byte frames using single trial
901 | | ... | throughput test.
902 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv6oIPv4
903 | | ${framesize}= | Set Variable | 1460
904 | | ${duration}= | Set Variable | 10
905 | | ${rate}= | Set Variable | 720000pps
906 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
907 | | And   Add PCI devices to DUTs from 3-node single link topology
908 | | And   Add No Multi Seg to all DUTs
909 | | And   Apply startup configuration on all VPP DUTs
910 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
911 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
912 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
913 | | And  Set up Lisp topology
914 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
915 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
916 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
917 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
918 | | Then Traffic should pass with no loss | ${duration} | ${rate}
919 | | ...                                   | ${framesize} | 3-node-IPv6
920
921 | TC36: Verify 9000B ref-NDR at 2x 120Kpps - DUT IPv6oIPv4 - 4thread 4core 2rxq
922 | | [Documentation]
923 | | ... | [Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores, \
924 | | ... | 2 receive queues per NIC port.
925 | | ... | [Ver] Verify ref-NDR for 9000 Byte frames using single trial
926 | | ... | throughput test.
927 | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | LISP_IPv6oIPv4
928 | | ${framesize}= | Set Variable | 9000
929 | | ${duration}= | Set Variable | 10
930 | | ${rate}= | Set Variable | 120000pps
931 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
932 | | And   Add PCI devices to DUTs from 3-node single link topology
933 | | And   Apply startup configuration on all VPP DUTs
934 | | When Lisp IPv6 over IPv4 forwarding initialized in a 3-node circular topology
935 | | ...  | ${dut1_to_dut2_ip6o4} | ${dut1_to_tg_ip6o4} | ${dut2_to_dut1_ip6o4}
936 | | ...  | ${dut2_to_tg_ip6o4} | ${tg_prefix6o4} | ${dut_prefix6o4}
937 | | And  Set up Lisp topology
938 | | ...  | ${dut1} | ${dut1_if2} | ${NONE}
939 | | ...  | ${dut2} | ${dut2_if1} | ${NONE}
940 | | ...  | ${duts_locator_set} | ${dut1_ip6o4_eid} | ${dut2_ip6o4_eid}
941 | | ...  | ${dut1_ip6o4_static_adjacency} | ${dut2_ip6o4_static_adjacency}
942 | | Then Traffic should pass with no loss | ${duration} | ${rate}
943 | | ...                                   | ${framesize} | 3-node-IPv6