VPP startup config change (rss->txqueues)
[csit.git] / tests / suites / performance / Long_IPv6_Cop_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 | Library | resources.libraries.python.Cop
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG
18 | ...        | NIC_Intel-X520-DA2
19 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
20 | ... | L3 | Intel-X520-DA2
21 | Suite Teardown | 3-node Performance Suite Teardown
22 | Test Setup | Setup all DUTs before test
23 | Test Teardown | Run Keyword | Remove startup configuration of VPP from all DUTs
24 | Documentation | *Throughput search suite (based on RFC2544).*
25 | ...
26 | ... | Test suite uses 3-node topology TG - DUT1 - DUT2 - TG, with one link
27 | ... | between nodes. Traffic profile contain 2 L3 streams (1 stream per
28 | ... | direction). Packets contain Ethernet header, IPv6 header, and random
29 | ... | payload. Ethernet header MAC addresses are matching MAC addresses
30 | ... | of the TG node. COP (whitelist) is applied on link between TG - DUT1
31 | ... | and DUT2 - TG. Additional ipv6 fib table with index 1 is created and
32 | ... | single entry added to permit all the traffic (subnet /64).
33
34 *** Test Cases ***
35 | Find NDR by using RFC2544 binary search and 78B frames through IPv6 forwarding with COP in 3-node topology
36 | | [Documentation]
37 | | ... | Find throughput with non drop rate for 78B frames by using
38 | | ... | binary search with threshold 0.1Mpps.
39 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
40 | | ${framesize}= | Set Variable | 78
41 | | ${min_rate}= | Set Variable | 100000
42 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
43 | | ${binary_min}= | Set Variable | ${min_rate}
44 | | ${binary_max}= | Set Variable | ${max_rate}
45 | | ${threshold}= | Set Variable | ${min_rate}
46 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
47 | | And   Add all PCI devices to all DUTs
48 | | And   Add No Multi Seg to all DUTs
49 | | And   Apply startup configuration on all VPP DUTs
50 | | When  IPv6 forwarding initialized in a 3-node circular topology
51 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
52 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
53 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
54 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
55 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
56 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
57 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
58 | | ...                                       | ${binary_max} | 3-node-IPv6
59 | | ...                                       | ${min_rate} | ${max_rate}
60 | | ...                                       | ${threshold}
61
62 | Find PDR by using RFC2544 binary search and 78B frames through IPv6 forwarding with COP in 3-node topology
63 | | [Documentation]
64 | | ... | Find throughput with partial drop rate for 78B frames by using
65 | | ... | binary search with threshold 0.1Mpps. Loss acceptance is set to 0.5
66 | | ... | percent of transmitted packets.
67 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
68 | | ${framesize}= | Set Variable | 78
69 | | ${min_rate}= | Set Variable | 100000
70 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
71 | | ${binary_min}= | Set Variable | ${min_rate}
72 | | ${binary_max}= | Set Variable | ${max_rate}
73 | | ${threshold}= | Set Variable | ${min_rate}
74 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
75 | | And   Add all PCI devices to all DUTs
76 | | And   Add No Multi Seg to all DUTs
77 | | And   Apply startup configuration on all VPP DUTs
78 | | When  IPv6 forwarding initialized in a 3-node circular topology
79 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
80 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
81 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
82 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
83 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
84 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
85 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
86 | | ...                                       | ${binary_max} | 3-node-IPv6
87 | | ...                                       | ${min_rate} | ${max_rate}
88 | | ...                                       | ${threshold}
89 | | ...                                       | ${glob_loss_acceptance}
90 | | ...                                       | ${glob_loss_acceptance_type}
91
92 | Find NDR by using RFC2544 binary search and 1518B frames through IPv6 forwarding with COP in 3-node topology
93 | | [Documentation]
94 | | ... | Find throughput with non drop rate for 1518B frames by using
95 | | ... | binary search with threshold 10,000pps.
96 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
97 | | ${framesize}= | Set Variable | 1518
98 | | ${min_rate}= | Set Variable | 10000
99 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
100 | | ${binary_min}= | Set Variable | ${min_rate}
101 | | ${binary_max}= | Set Variable | ${max_rate}
102 | | ${threshold}= | Set Variable | ${min_rate}
103 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
104 | | And   Add all PCI devices to all DUTs
105 | | And   Add No Multi Seg to all DUTs
106 | | And   Apply startup configuration on all VPP DUTs
107 | | When  IPv6 forwarding initialized in a 3-node circular topology
108 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
109 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
110 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
111 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
112 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
113 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
114 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
115 | | ...                                       | ${binary_max} | 3-node-IPv6
116 | | ...                                       | ${min_rate} | ${max_rate}
117 | | ...                                       | ${threshold}
118
119 | Find PDR by using RFC2544 binary search and 1518B frames through IPv6 forwarding with COP in 3-node topology
120 | | [Documentation]
121 | | ... | Find throughput with partial drop rate for 1518B frames by using
122 | | ... | binary search with threshold 10,000pps. Loss acceptance is set to 0.5
123 | | ... | percent of transmitted packets.
124 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
125 | | ${framesize}= | Set Variable | 1518
126 | | ${min_rate}= | Set Variable | 10000
127 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
128 | | ${binary_min}= | Set Variable | ${min_rate}
129 | | ${binary_max}= | Set Variable | ${max_rate}
130 | | ${threshold}= | Set Variable | ${min_rate}
131 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
132 | | And   Add all PCI devices to all DUTs
133 | | And   Add No Multi Seg to all DUTs
134 | | And   Apply startup configuration on all VPP DUTs
135 | | When  IPv6 forwarding initialized in a 3-node circular topology
136 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
137 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
138 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
139 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
140 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
141 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
142 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
143 | | ...                                       | ${binary_max} | 3-node-IPv6
144 | | ...                                       | ${min_rate} | ${max_rate}
145 | | ...                                       | ${threshold}
146 | | ...                                       | ${glob_loss_acceptance}
147 | | ...                                       | ${glob_loss_acceptance_type}
148
149 | Find NDR by using RFC2544 binary search and 9000B frames through IPv6 forwarding with COP in 3-node topology
150 | | [Documentation]
151 | | ... | Find throughput with non drop rate for 9000B frames by using
152 | | ... | binary search with threshold 5,000pps.
153 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
154 | | ${framesize}= | Set Variable | 9000
155 | | ${min_rate}= | Set Variable | 5000
156 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
157 | | ${binary_min}= | Set Variable | ${min_rate}
158 | | ${binary_max}= | Set Variable | ${max_rate}
159 | | ${threshold}= | Set Variable | ${min_rate}
160 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
161 | | And   Add all PCI devices to all DUTs
162 | | And   Apply startup configuration on all VPP DUTs
163 | | When  IPv6 forwarding initialized in a 3-node circular topology
164 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
165 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
166 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
167 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
168 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
169 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
170 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
171 | | ...                                       | ${binary_max} | 3-node-IPv6
172 | | ...                                       | ${min_rate} | ${max_rate}
173 | | ...                                       | ${threshold}
174
175 | Find PDR by using RFC2544 binary search and 9000B frames through IPv6 forwarding with COP in 3-node topology
176 | | [Documentation]
177 | | ... | Find throughput with partial drop rate for 9000B frames by using
178 | | ... | binary search with threshold of 5,000pps. Loss acceptance is set to
179 | | ... | 0.5 percent of transmitted packets.
180 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
181 | | ${framesize}= | Set Variable | 9000
182 | | ${min_rate}= | Set Variable | 5000
183 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
184 | | ${binary_min}= | Set Variable | ${min_rate}
185 | | ${binary_max}= | Set Variable | ${max_rate}
186 | | ${threshold}= | Set Variable | ${min_rate}
187 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
188 | | And   Add all PCI devices to all DUTs
189 | | And   Apply startup configuration on all VPP DUTs
190 | | When  IPv6 forwarding initialized in a 3-node circular topology
191 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
192 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
193 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
194 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
195 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
196 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
197 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
198 | | ...                                       | ${binary_max} | 3-node-IPv6
199 | | ...                                       | ${min_rate} | ${max_rate}
200 | | ...                                       | ${threshold}
201 | | ...                                       | ${glob_loss_acceptance}
202 | | ...                                       | ${glob_loss_acceptance_type}
203
204 | Find NDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 78B frames through IPv6 forwarding with COP in 3-node topology
205 | | [Documentation]
206 | | ... | Find throughput on 2 cores with non drop rate for 78B frames by using
207 | | ... | binary search with threshold 0.1Mpps.
208 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
209 | | ${framesize}= | Set Variable | 78
210 | | ${min_rate}= | Set Variable | 100000
211 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
212 | | ${binary_min}= | Set Variable | ${min_rate}
213 | | ${binary_max}= | Set Variable | ${max_rate}
214 | | ${threshold}= | Set Variable | ${min_rate}
215 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
216 | | And   Add all PCI devices to all DUTs
217 | | And   Add No Multi Seg to all DUTs
218 | | And   Apply startup configuration on all VPP DUTs
219 | | When  IPv6 forwarding initialized in a 3-node circular topology
220 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
221 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
222 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
223 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
224 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
225 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
226 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
227 | | ...                                       | ${binary_max} | 3-node-IPv6
228 | | ...                                       | ${min_rate} | ${max_rate}
229 | | ...                                       | ${threshold}
230
231 | Find PDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 78B frames through IPv6 forwarding with COP in 3-node topology
232 | | [Documentation]
233 | | ... | Find throughput on 2 cores with partial drop rate for 78B frames by
234 | | ... | using binary search with threshold 10,000pps. Loss acceptance is set
235 | | ... | to 0.5 percent of transmitted packets.
236 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
237 | | ${framesize}= | Set Variable | 78
238 | | ${min_rate}= | Set Variable | 100000
239 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
240 | | ${binary_min}= | Set Variable | ${min_rate}
241 | | ${binary_max}= | Set Variable | ${max_rate}
242 | | ${threshold}= | Set Variable | ${min_rate}
243 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
244 | | And   Add all PCI devices to all DUTs
245 | | And   Add No Multi Seg to all DUTs
246 | | And   Apply startup configuration on all VPP DUTs
247 | | When  IPv6 forwarding initialized in a 3-node circular topology
248 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
249 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
250 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
251 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
252 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
253 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
254 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
255 | | ...                                       | ${binary_max} | 3-node-IPv6
256 | | ...                                       | ${min_rate} | ${max_rate}
257 | | ...                                       | ${threshold}
258 | | ...                                       | ${glob_loss_acceptance}
259 | | ...                                       | ${glob_loss_acceptance_type}
260
261 | Find NDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 1518B frames through IPv6 forwarding with COP in 3-node topology
262 | | [Documentation]
263 | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by
264 | | ... | using binary search with threshold 10,000pps.
265 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
266 | | ${framesize}= | Set Variable | 1518
267 | | ${min_rate}= | Set Variable | 10000
268 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
269 | | ${binary_min}= | Set Variable | ${min_rate}
270 | | ${binary_max}= | Set Variable | ${max_rate}
271 | | ${threshold}= | Set Variable | ${min_rate}
272 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
273 | | And   Add all PCI devices to all DUTs
274 | | And   Add No Multi Seg to all DUTs
275 | | And   Apply startup configuration on all VPP DUTs
276 | | When  IPv6 forwarding initialized in a 3-node circular topology
277 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
278 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
279 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
280 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
281 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
282 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
283 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
284 | | ...                                       | ${binary_max} | 3-node-IPv6
285 | | ...                                       | ${min_rate} | ${max_rate}
286 | | ...                                       | ${threshold}
287
288 | Find PDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 1518B frames through IPv6 forwarding with COP in 3-node topology
289 | | [Documentation]
290 | | ... | Find throughput on 2 cores with partial drop rate for 1518B frames by
291 | | ... | using binary search with threshold 10,000pps. Loss acceptance is set
292 | | ... | to 0.5 percent of transmitted packets.
293 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
294 | | ${framesize}= | Set Variable | 1518
295 | | ${min_rate}= | Set Variable | 10000
296 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
297 | | ${binary_min}= | Set Variable | ${min_rate}
298 | | ${binary_max}= | Set Variable | ${max_rate}
299 | | ${threshold}= | Set Variable | ${min_rate}
300 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
301 | | And   Add all PCI devices to all DUTs
302 | | And   Add No Multi Seg to all DUTs
303 | | And   Apply startup configuration on all VPP DUTs
304 | | When  IPv6 forwarding initialized in a 3-node circular topology
305 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
306 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
307 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
308 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
309 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
310 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
311 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
312 | | ...                                       | ${binary_max} | 3-node-IPv6
313 | | ...                                       | ${min_rate} | ${max_rate}
314 | | ...                                       | ${threshold}
315 | | ...                                       | ${glob_loss_acceptance}
316 | | ...                                       | ${glob_loss_acceptance_type}
317
318 | Find NDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 9000B frames through IPv6 forwarding with COP in 3-node topology
319 | | [Documentation]
320 | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by
321 | | ... | using binary search with threshold 5,000pps.
322 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
323 | | ${framesize}= | Set Variable | 9000
324 | | ${min_rate}= | Set Variable | 5000
325 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
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' without HTT to all DUTs
330 | | And   Add all PCI devices to all DUTs
331 | | And   Apply startup configuration on all VPP DUTs
332 | | When  IPv6 forwarding initialized in a 3-node circular topology
333 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
334 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
335 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
336 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
337 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
338 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
339 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
340 | | ...                                       | ${binary_max} | 3-node-IPv6
341 | | ...                                       | ${min_rate} | ${max_rate}
342 | | ...                                       | ${threshold}
343
344 | Find PDR with 2 cores and rxqueues 1 by using RFC2544 binary search and 9000B frames through IPv6 forwarding with COP in 3-node topology
345 | | [Documentation]
346 | | ... | Find throughput on 2 cores with partial drop rate for 9000B frames by
347 | | ... | using binary search with threshold 5,000pps. Loss acceptance is set
348 | | ... | to 0.5 percent of transmitted packets.
349 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
350 | | ${framesize}= | Set Variable | 9000
351 | | ${min_rate}= | Set Variable | 5000
352 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
353 | | ${binary_min}= | Set Variable | ${min_rate}
354 | | ${binary_max}= | Set Variable | ${max_rate}
355 | | ${threshold}= | Set Variable | ${min_rate}
356 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
357 | | And   Add all PCI devices to all DUTs
358 | | And   Apply startup configuration on all VPP DUTs
359 | | When  IPv6 forwarding initialized in a 3-node circular topology
360 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
361 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
362 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
363 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
364 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
365 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
366 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
367 | | ...                                       | ${binary_max} | 3-node-IPv6
368 | | ...                                       | ${min_rate} | ${max_rate}
369 | | ...                                       | ${threshold}
370 | | ...                                       | ${glob_loss_acceptance}
371 | | ...                                       | ${glob_loss_acceptance_type}
372
373 | Find NDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 78B frames through IPv6 forwarding with COP in 3-node topology
374 | | [Documentation]
375 | | ... | Find throughput on 4 cores and rxqueues 2 with non drop rate for 78B
376 | | ... | frames by using binary search with threshold 0.1Mpps.
377 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
378 | | ${framesize}= | Set Variable | 78
379 | | ${min_rate}= | Set Variable | 100000
380 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
381 | | ${binary_min}= | Set Variable | ${min_rate}
382 | | ${binary_max}= | Set Variable | ${max_rate}
383 | | ${threshold}= | Set Variable | ${min_rate}
384 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
385 | | And   Add all PCI devices to all DUTs
386 | | And   Add No Multi Seg to all DUTs
387 | | And   Apply startup configuration on all VPP DUTs
388 | | When  IPv6 forwarding initialized in a 3-node circular topology
389 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
390 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
391 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
392 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
393 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
394 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
395 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
396 | | ...                                       | ${binary_max} | 3-node-IPv6
397 | | ...                                       | ${min_rate} | ${max_rate}
398 | | ...                                       | ${threshold}
399
400 | Find PDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 78B frames through IPv6 forwarding with COP in 3-node topology
401 | | [Documentation]
402 | | ... | Find throughput on 4 cores and rxqueues 2 with partial drop rate for 78B
403 | | ... | frames by using binary search with threshold 0.1Mpps. Loss acceptance
404 | | ... | is set to 0.5 percent of transmitted packets.
405 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
406 | | ${framesize}= | Set Variable | 78
407 | | ${min_rate}= | Set Variable | 100000
408 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
409 | | ${binary_min}= | Set Variable | ${min_rate}
410 | | ${binary_max}= | Set Variable | ${max_rate}
411 | | ${threshold}= | Set Variable | ${min_rate}
412 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
413 | | And   Add all PCI devices to all DUTs
414 | | And   Add No Multi Seg to all DUTs
415 | | And   Apply startup configuration on all VPP DUTs
416 | | When  IPv6 forwarding initialized in a 3-node circular topology
417 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
418 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
419 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
420 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
421 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
422 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
423 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
424 | | ...                                       | ${binary_max} | 3-node-IPv6
425 | | ...                                       | ${min_rate} | ${max_rate}
426 | | ...                                       | ${threshold}
427 | | ...                                       | ${glob_loss_acceptance}
428 | | ...                                       | ${glob_loss_acceptance_type}
429
430 | Find NDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 1518B frames through IPv6 forwarding with COP in 3-node topology
431 | | [Documentation]
432 | | ... | Find throughput on 4 cores and rxqueues 2 with non drop rate for 1518B
433 | | ... | frames by using binary search with threshold 10,000pps.
434 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
435 | | ${framesize}= | Set Variable | 1518
436 | | ${min_rate}= | Set Variable | 10000
437 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
438 | | ${binary_min}= | Set Variable | ${min_rate}
439 | | ${binary_max}= | Set Variable | ${max_rate}
440 | | ${threshold}= | Set Variable | ${min_rate}
441 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
442 | | And   Add all PCI devices to all DUTs
443 | | And   Add No Multi Seg to all DUTs
444 | | And   Apply startup configuration on all VPP DUTs
445 | | When  IPv6 forwarding initialized in a 3-node circular topology
446 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
447 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
448 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
449 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
450 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
451 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
452 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
453 | | ...                                       | ${binary_max} | 3-node-IPv6
454 | | ...                                       | ${min_rate} | ${max_rate}
455 | | ...                                       | ${threshold}
456
457 | Find PDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 1518B frames through IPv6 forwarding with COP in 3-node topology
458 | | [Documentation]
459 | | ... | Find throughput on 4 cores and rxqueues 2 with partial drop rate for 1518B
460 | | ... | frames by using binary search with threshold 10,000pps. Loss
461 | | ... | acceptance is set to 0.5 percent of transmitted packets.
462 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
463 | | ${framesize}= | Set Variable | 1518
464 | | ${min_rate}= | Set Variable | 10000
465 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
466 | | ${binary_min}= | Set Variable | ${min_rate}
467 | | ${binary_max}= | Set Variable | ${max_rate}
468 | | ${threshold}= | Set Variable | ${min_rate}
469 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
470 | | And   Add all PCI devices to all DUTs
471 | | And   Add No Multi Seg to all DUTs
472 | | And   Apply startup configuration on all VPP DUTs
473 | | When  IPv6 forwarding initialized in a 3-node circular topology
474 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
475 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
476 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
477 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
478 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
479 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
480 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
481 | | ...                                       | ${binary_max} | 3-node-IPv6
482 | | ...                                       | ${min_rate} | ${max_rate}
483 | | ...                                       | ${threshold}
484 | | ...                                       | ${glob_loss_acceptance}
485 | | ...                                       | ${glob_loss_acceptance_type}
486
487 | Find NDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 9000B frames through IPv6 forwarding with COP in 3-node topology
488 | | [Documentation]
489 | | ... | Find throughput on 4 cores and rxqueues 2 with non drop rate for 9000B
490 | | ... | frames by using binary search starting at 138,580pps, stepping down
491 | | ... | with step of 5,000pps.
492 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
493 | | ${framesize}= | Set Variable | 9000
494 | | ${min_rate}= | Set Variable | 5000
495 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
496 | | ${binary_min}= | Set Variable | ${min_rate}
497 | | ${binary_max}= | Set Variable | ${max_rate}
498 | | ${threshold}= | Set Variable | ${min_rate}
499 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
500 | | And   Add all PCI devices to all DUTs
501 | | And   Apply startup configuration on all VPP DUTs
502 | | When  IPv6 forwarding initialized in a 3-node circular topology
503 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
504 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
505 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
506 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
507 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
508 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
509 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
510 | | ...                                       | ${binary_max} | 3-node-IPv6
511 | | ...                                       | ${min_rate} | ${max_rate}
512 | | ...                                       | ${threshold}
513
514 | Find PDR with 4 cores and rxqueues 2 by using RFC2544 binary search and 9000B frames through IPv6 forwarding with COP in 3-node topology
515 | | [Documentation]
516 | | ... | Find throughput on 4 cores and rxqueues 2 with partial drop rate for 9000B
517 | | ... | frames by using binary search with threshold 5,000pps. Loss
518 | | ... | acceptance is set to 0.5 percent of transmitted packets.
519 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
520 | | ${framesize}= | Set Variable | 9000
521 | | ${min_rate}= | Set Variable | 5000
522 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
523 | | ${binary_min}= | Set Variable | ${min_rate}
524 | | ${binary_max}= | Set Variable | ${max_rate}
525 | | ${threshold}= | Set Variable | ${min_rate}
526 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
527 | | And   Add all PCI devices to all DUTs
528 | | And   Apply startup configuration on all VPP DUTs
529 | | When  IPv6 forwarding initialized in a 3-node circular topology
530 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
531 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
532 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
533 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
534 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
535 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
536 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
537 | | ...                                       | ${binary_max} | 3-node-IPv6
538 | | ...                                       | ${min_rate} | ${max_rate}
539 | | ...                                       | ${threshold}
540 | | ...                                       | ${glob_loss_acceptance}
541 | | ...                                       | ${glob_loss_acceptance_type}