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