Suite: performance.
[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 | *RFC2544: Pkt throughput IPv6 whitelist test cases*
25 | ...
26 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
27 | ... | with single links between nodes.
28 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6 for IPv6 routing.
29 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6
30 | ... | routing, two static IPv6 /64 routes and IPv6 COP security whitelist
31 | ... | ingress /64 filter entries applied on links TG - DUT1 and DUT2 - TG.
32 | ... | DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel.
33 | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop
34 | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop
35 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
36 | ... | of packets transmitted. NDR and PDR are discovered for different
37 | ... | Ethernet L2 frame sizes using either binary search or linear search
38 | ... | algorithms with configured starting rate and final step that determines
39 | ... | throughput measurement resolution. Test packets are generated by TG on
40 | ... | links to DUTs. TG traffic profile contains two L3 flow-groups
41 | ... | (flow-group per direction, 253 flows per flow-group) with all packets
42 | ... | containing Ethernet header, IPv6 header and static
43 | ... | payload. MAC addresses are matching MAC addresses of the TG node
44 | ... | interfaces.
45 | ... | *[Ref] Applicable standard specifications:* RFC2544.
46
47 *** Test Cases ***
48 | TC01: 78B NDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq
49 | | [Documentation]
50 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
51 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
52 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
53 | | ... | step 100kpps.
54 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
55 | | ${framesize}= | Set Variable | 78
56 | | ${min_rate}= | Set Variable | 100000
57 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
58 | | ${binary_min}= | Set Variable | ${min_rate}
59 | | ${binary_max}= | Set Variable | ${max_rate}
60 | | ${threshold}= | Set Variable | ${min_rate}
61 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
62 | | And   Add all PCI devices to all DUTs
63 | | And   Add No Multi Seg to all DUTs
64 | | And   Apply startup configuration on all VPP DUTs
65 | | When  IPv6 forwarding initialized in a 3-node circular topology
66 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
67 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
68 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
69 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
70 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
71 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
72 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
73 | | ...                                       | ${binary_max} | 3-node-IPv6
74 | | ...                                       | ${min_rate} | ${max_rate}
75 | | ...                                       | ${threshold}
76
77 | TC02: 78B PDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq
78 | | [Documentation]
79 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
80 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
81 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
82 | | ... | step 100kpps, LT=0.5%.
83 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
84 | | ${framesize}= | Set Variable | 78
85 | | ${min_rate}= | Set Variable | 100000
86 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
87 | | ${binary_min}= | Set Variable | ${min_rate}
88 | | ${binary_max}= | Set Variable | ${max_rate}
89 | | ${threshold}= | Set Variable | ${min_rate}
90 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
91 | | And   Add all PCI devices to all DUTs
92 | | And   Add No Multi Seg to all DUTs
93 | | And   Apply startup configuration on all VPP DUTs
94 | | When  IPv6 forwarding initialized in a 3-node circular topology
95 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
96 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
97 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
98 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
99 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
100 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
101 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
102 | | ...                                       | ${binary_max} | 3-node-IPv6
103 | | ...                                       | ${min_rate} | ${max_rate}
104 | | ...                                       | ${threshold}
105 | | ...                                       | ${glob_loss_acceptance}
106 | | ...                                       | ${glob_loss_acceptance_type}
107
108 | TC03: 1518B NDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq
109 | | [Documentation]
110 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
111 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
112 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
113 | | ... | step 10kpps.
114 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
115 | | ${framesize}= | Set Variable | 1518
116 | | ${min_rate}= | Set Variable | 10000
117 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
118 | | ${binary_min}= | Set Variable | ${min_rate}
119 | | ${binary_max}= | Set Variable | ${max_rate}
120 | | ${threshold}= | Set Variable | ${min_rate}
121 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
122 | | And   Add all PCI devices to all DUTs
123 | | And   Add No Multi Seg to all DUTs
124 | | And   Apply startup configuration on all VPP DUTs
125 | | When  IPv6 forwarding initialized in a 3-node circular topology
126 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
127 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
128 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
129 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
130 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
131 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
132 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
133 | | ...                                       | ${binary_max} | 3-node-IPv6
134 | | ...                                       | ${min_rate} | ${max_rate}
135 | | ...                                       | ${threshold}
136
137 | TC04: 1518B PDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq
138 | | [Documentation]
139 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
140 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
141 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
142 | | ... | step 10kpps, LT=0.5%.
143 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
144 | | ${framesize}= | Set Variable | 1518
145 | | ${min_rate}= | Set Variable | 10000
146 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
147 | | ${binary_min}= | Set Variable | ${min_rate}
148 | | ${binary_max}= | Set Variable | ${max_rate}
149 | | ${threshold}= | Set Variable | ${min_rate}
150 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
151 | | And   Add all PCI devices to all DUTs
152 | | And   Add No Multi Seg to all DUTs
153 | | And   Apply startup configuration on all VPP DUTs
154 | | When  IPv6 forwarding initialized in a 3-node circular topology
155 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
156 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
157 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
158 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
159 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
160 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
161 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
162 | | ...                                       | ${binary_max} | 3-node-IPv6
163 | | ...                                       | ${min_rate} | ${max_rate}
164 | | ...                                       | ${threshold}
165 | | ...                                       | ${glob_loss_acceptance}
166 | | ...                                       | ${glob_loss_acceptance_type}
167
168 | TC05: 9000B NDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq
169 | | [Documentation]
170 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
171 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find NDR
172 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
173 | | ... | step 5kpps.
174 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
175 | | ${framesize}= | Set Variable | 9000
176 | | ${min_rate}= | Set Variable | 5000
177 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
178 | | ${binary_min}= | Set Variable | ${min_rate}
179 | | ${binary_max}= | Set Variable | ${max_rate}
180 | | ${threshold}= | Set Variable | ${min_rate}
181 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
182 | | And   Add all PCI devices to all DUTs
183 | | And   Apply startup configuration on all VPP DUTs
184 | | When  IPv6 forwarding initialized in a 3-node circular topology
185 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
186 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
187 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
188 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
189 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
190 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
191 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
192 | | ...                                       | ${binary_max} | 3-node-IPv6
193 | | ...                                       | ${min_rate} | ${max_rate}
194 | | ...                                       | ${threshold}
195
196 | TC06: 9000B PDR binary search - DUT IPv6 whitelist - 1thread 1core 1rxq
197 | | [Documentation]
198 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
199 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Find PDR
200 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
201 | | ... | step 5kpps, LT=0.5%.
202 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR
203 | | ${framesize}= | Set Variable | 9000
204 | | ${min_rate}= | Set Variable | 5000
205 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
206 | | ${binary_min}= | Set Variable | ${min_rate}
207 | | ${binary_max}= | Set Variable | ${max_rate}
208 | | ${threshold}= | Set Variable | ${min_rate}
209 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
210 | | And   Add all PCI devices to all DUTs
211 | | And   Apply startup configuration on all VPP DUTs
212 | | When  IPv6 forwarding initialized in a 3-node circular topology
213 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
214 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
215 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
216 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
217 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
218 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
219 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
220 | | ...                                       | ${binary_max} | 3-node-IPv6
221 | | ...                                       | ${min_rate} | ${max_rate}
222 | | ...                                       | ${threshold}
223 | | ...                                       | ${glob_loss_acceptance}
224 | | ...                                       | ${glob_loss_acceptance_type}
225
226 | TC07: 78B NDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq
227 | | [Documentation]
228 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
229 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
230 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
231 | | ... | step 100kpps.
232 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
233 | | ${framesize}= | Set Variable | 78
234 | | ${min_rate}= | Set Variable | 100000
235 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
236 | | ${binary_min}= | Set Variable | ${min_rate}
237 | | ${binary_max}= | Set Variable | ${max_rate}
238 | | ${threshold}= | Set Variable | ${min_rate}
239 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
240 | | And   Add all PCI devices to all DUTs
241 | | And   Add No Multi Seg to all DUTs
242 | | And   Apply startup configuration on all VPP DUTs
243 | | When  IPv6 forwarding initialized in a 3-node circular topology
244 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
245 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
246 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
247 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
248 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
249 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
250 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
251 | | ...                                       | ${binary_max} | 3-node-IPv6
252 | | ...                                       | ${min_rate} | ${max_rate}
253 | | ...                                       | ${threshold}
254
255 | TC08: 78B PDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq
256 | | [Documentation]
257 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
258 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
259 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
260 | | ... | step 100kpps, LT=0.5%.
261 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
262 | | ${framesize}= | Set Variable | 78
263 | | ${min_rate}= | Set Variable | 100000
264 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
265 | | ${binary_min}= | Set Variable | ${min_rate}
266 | | ${binary_max}= | Set Variable | ${max_rate}
267 | | ${threshold}= | Set Variable | ${min_rate}
268 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
269 | | And   Add all PCI devices to all DUTs
270 | | And   Add No Multi Seg to all DUTs
271 | | And   Apply startup configuration on all VPP DUTs
272 | | When  IPv6 forwarding initialized in a 3-node circular topology
273 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
274 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
275 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
276 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
277 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
278 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
279 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
280 | | ...                                       | ${binary_max} | 3-node-IPv6
281 | | ...                                       | ${min_rate} | ${max_rate}
282 | | ...                                       | ${threshold}
283 | | ...                                       | ${glob_loss_acceptance}
284 | | ...                                       | ${glob_loss_acceptance_type}
285
286 | TC09: 1518B NDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq
287 | | [Documentation]
288 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
289 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
290 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
291 | | ... | step 10kpps.
292 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
293 | | ${framesize}= | Set Variable | 1518
294 | | ${min_rate}= | Set Variable | 10000
295 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
296 | | ${binary_min}= | Set Variable | ${min_rate}
297 | | ${binary_max}= | Set Variable | ${max_rate}
298 | | ${threshold}= | Set Variable | ${min_rate}
299 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
300 | | And   Add all PCI devices to all DUTs
301 | | And   Add No Multi Seg to all DUTs
302 | | And   Apply startup configuration on all VPP DUTs
303 | | When  IPv6 forwarding initialized in a 3-node circular topology
304 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
305 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
306 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
307 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
308 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
309 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
310 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
311 | | ...                                       | ${binary_max} | 3-node-IPv6
312 | | ...                                       | ${min_rate} | ${max_rate}
313 | | ...                                       | ${threshold}
314
315 | TC10: 1518B PDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq
316 | | [Documentation]
317 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
318 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
319 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
320 | | ... | step 10kpps, LT=0.5%.
321 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
322 | | ${framesize}= | Set Variable | 1518
323 | | ${min_rate}= | Set Variable | 10000
324 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
325 | | ${binary_min}= | Set Variable | ${min_rate}
326 | | ${binary_max}= | Set Variable | ${max_rate}
327 | | ${threshold}= | Set Variable | ${min_rate}
328 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
329 | | And   Add all PCI devices to all DUTs
330 | | And   Add No Multi Seg 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 PDR using binary search and pps | ${framesize} | ${binary_min}
340 | | ...                                       | ${binary_max} | 3-node-IPv6
341 | | ...                                       | ${min_rate} | ${max_rate}
342 | | ...                                       | ${threshold}
343 | | ...                                       | ${glob_loss_acceptance}
344 | | ...                                       | ${glob_loss_acceptance_type}
345
346 | TC11: 9000B NDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq
347 | | [Documentation]
348 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
349 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find NDR
350 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
351 | | ... | step 5kpps.
352 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
353 | | ${framesize}= | Set Variable | 9000
354 | | ${min_rate}= | Set Variable | 5000
355 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
356 | | ${binary_min}= | Set Variable | ${min_rate}
357 | | ${binary_max}= | Set Variable | ${max_rate}
358 | | ${threshold}= | Set Variable | ${min_rate}
359 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
360 | | And   Add all PCI devices to all DUTs
361 | | And   Apply startup configuration on all VPP DUTs
362 | | When  IPv6 forwarding initialized in a 3-node circular topology
363 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
364 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
365 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
366 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
367 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
368 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
369 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
370 | | ...                                       | ${binary_max} | 3-node-IPv6
371 | | ...                                       | ${min_rate} | ${max_rate}
372 | | ...                                       | ${threshold}
373
374 | TC12: 9000B PDR binary search - DUT IPv6 whitelist - 2threads 2cores 1rxq
375 | | [Documentation]
376 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
377 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Find PDR
378 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
379 | | ... | step 5kpps, LT=0.5%.
380 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR
381 | | ${framesize}= | Set Variable | 9000
382 | | ${min_rate}= | Set Variable | 5000
383 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
384 | | ${binary_min}= | Set Variable | ${min_rate}
385 | | ${binary_max}= | Set Variable | ${max_rate}
386 | | ${threshold}= | Set Variable | ${min_rate}
387 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
388 | | And   Add all PCI devices to all DUTs
389 | | And   Apply startup configuration on all VPP DUTs
390 | | When  IPv6 forwarding initialized in a 3-node circular topology
391 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
392 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
393 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
394 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
395 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
396 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
397 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
398 | | ...                                       | ${binary_max} | 3-node-IPv6
399 | | ...                                       | ${min_rate} | ${max_rate}
400 | | ...                                       | ${threshold}
401 | | ...                                       | ${glob_loss_acceptance}
402 | | ...                                       | ${glob_loss_acceptance_type}
403
404 | TC13: 78B NDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq
405 | | [Documentation]
406 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
407 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
408 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
409 | | ... | step 100kpps.
410 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
411 | | ${framesize}= | Set Variable | 78
412 | | ${min_rate}= | Set Variable | 100000
413 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
414 | | ${binary_min}= | Set Variable | ${min_rate}
415 | | ${binary_max}= | Set Variable | ${max_rate}
416 | | ${threshold}= | Set Variable | ${min_rate}
417 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
418 | | And   Add all PCI devices to all DUTs
419 | | And   Add No Multi Seg to all DUTs
420 | | And   Apply startup configuration on all VPP DUTs
421 | | When  IPv6 forwarding initialized in a 3-node circular topology
422 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
423 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
424 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
425 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
426 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
427 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
428 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
429 | | ...                                       | ${binary_max} | 3-node-IPv6
430 | | ...                                       | ${min_rate} | ${max_rate}
431 | | ...                                       | ${threshold}
432
433 | TC14: 78B PDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq
434 | | [Documentation]
435 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
436 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
437 | | ... | for 78 Byte frames using binary search start at 10GE linerate,
438 | | ... | step 100kpps, LT=0.5%.
439 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
440 | | ${framesize}= | Set Variable | 78
441 | | ${min_rate}= | Set Variable | 100000
442 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B}
443 | | ${binary_min}= | Set Variable | ${min_rate}
444 | | ${binary_max}= | Set Variable | ${max_rate}
445 | | ${threshold}= | Set Variable | ${min_rate}
446 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
447 | | And   Add all PCI devices to all DUTs
448 | | And   Add No Multi Seg to all DUTs
449 | | And   Apply startup configuration on all VPP DUTs
450 | | When  IPv6 forwarding initialized in a 3-node circular topology
451 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
452 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
453 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
454 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
455 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
456 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
457 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
458 | | ...                                       | ${binary_max} | 3-node-IPv6
459 | | ...                                       | ${min_rate} | ${max_rate}
460 | | ...                                       | ${threshold}
461 | | ...                                       | ${glob_loss_acceptance}
462 | | ...                                       | ${glob_loss_acceptance_type}
463
464 | TC15: 1518B NDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq
465 | | [Documentation]
466 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
467 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
468 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
469 | | ... | step 10kpps.
470 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
471 | | ${framesize}= | Set Variable | 1518
472 | | ${min_rate}= | Set Variable | 10000
473 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
474 | | ${binary_min}= | Set Variable | ${min_rate}
475 | | ${binary_max}= | Set Variable | ${max_rate}
476 | | ${threshold}= | Set Variable | ${min_rate}
477 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
478 | | And   Add all PCI devices to all DUTs
479 | | And   Add No Multi Seg to all DUTs
480 | | And   Apply startup configuration on all VPP DUTs
481 | | When  IPv6 forwarding initialized in a 3-node circular topology
482 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
483 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
484 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
485 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
486 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
487 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
488 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
489 | | ...                                       | ${binary_max} | 3-node-IPv6
490 | | ...                                       | ${min_rate} | ${max_rate}
491 | | ...                                       | ${threshold}
492
493 | TC16: 1518B PDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq
494 | | [Documentation]
495 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
496 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
497 | | ... | for 1518 Byte frames using binary search start at 10GE linerate,
498 | | ... | step 10kpps, LT=0.5%.
499 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
500 | | ${framesize}= | Set Variable | 1518
501 | | ${min_rate}= | Set Variable | 10000
502 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B}
503 | | ${binary_min}= | Set Variable | ${min_rate}
504 | | ${binary_max}= | Set Variable | ${max_rate}
505 | | ${threshold}= | Set Variable | ${min_rate}
506 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
507 | | And   Add all PCI devices to all DUTs
508 | | And   Add No Multi Seg to all DUTs
509 | | And   Apply startup configuration on all VPP DUTs
510 | | When  IPv6 forwarding initialized in a 3-node circular topology
511 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
512 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
513 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
514 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
515 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
516 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
517 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
518 | | ...                                       | ${binary_max} | 3-node-IPv6
519 | | ...                                       | ${min_rate} | ${max_rate}
520 | | ...                                       | ${threshold}
521 | | ...                                       | ${glob_loss_acceptance}
522 | | ...                                       | ${glob_loss_acceptance_type}
523
524 | TC17: 9000B NDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq
525 | | [Documentation]
526 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
527 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find NDR
528 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
529 | | ... | step 5kpps.
530 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
531 | | ${framesize}= | Set Variable | 9000
532 | | ${min_rate}= | Set Variable | 5000
533 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
534 | | ${binary_min}= | Set Variable | ${min_rate}
535 | | ${binary_max}= | Set Variable | ${max_rate}
536 | | ${threshold}= | Set Variable | ${min_rate}
537 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
538 | | And   Add all PCI devices to all DUTs
539 | | And   Apply startup configuration on all VPP DUTs
540 | | When  IPv6 forwarding initialized in a 3-node circular topology
541 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
542 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
543 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
544 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
545 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
546 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
547 | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
548 | | ...                                       | ${binary_max} | 3-node-IPv6
549 | | ...                                       | ${min_rate} | ${max_rate}
550 | | ...                                       | ${threshold}
551
552 | TC18: 9000B PDR binary search - DUT IPv6 whitelist - 4threads 4cores 2rxq
553 | | [Documentation]
554 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
555 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Find PDR
556 | | ... | for 9000 Byte frames using binary search start at 10GE linerate,
557 | | ... | step 5kpps, LT=0.5%.
558 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR
559 | | ${framesize}= | Set Variable | 9000
560 | | ${min_rate}= | Set Variable | 5000
561 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B}
562 | | ${binary_min}= | Set Variable | ${min_rate}
563 | | ${binary_max}= | Set Variable | ${max_rate}
564 | | ${threshold}= | Set Variable | ${min_rate}
565 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
566 | | And   Add all PCI devices to all DUTs
567 | | And   Apply startup configuration on all VPP DUTs
568 | | When  IPv6 forwarding initialized in a 3-node circular topology
569 | | And   Add fib table | ${dut1} | 2001:1:: | 64 | 1 | local
570 | | And   Add fib table | ${dut2} | 2001:2:: | 64 | 1 | local
571 | | And   COP Add whitelist Entry | ${dut1} | ${dut1_if1} | ip6 | 1
572 | | And   COP Add whitelist Entry | ${dut2} | ${dut2_if2} | ip6 | 1
573 | | And   COP interface enable or disable | ${dut1} | ${dut1_if1} | enable
574 | | And   COP interface enable or disable | ${dut2} | ${dut2_if2} | enable
575 | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
576 | | ...                                       | ${binary_max} | 3-node-IPv6
577 | | ...                                       | ${min_rate} | ${max_rate}
578 | | ...                                       | ${threshold}
579 | | ...                                       | ${glob_loss_acceptance}
580 | | ...                                       | ${glob_loss_acceptance_type}