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