CSIT-861: SW cryptodev perf tests
[csit.git] / tests / vpp / perf / ip6 / 10ge2p1x520-ethip6-ip6base-iacldstbase-ndrchk.robot
1 # Copyright (c) 2017 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/performance_setup.robot
16 | ...
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRCHK
18 | ... | NIC_Intel-X520-DA2 | ETH | IP6FWD | FEATURE | IACLDST
19 | ...
20 | Suite Setup | Set up 3-node performance topology with DUT's NIC model
21 | ... | L3 | Intel-X520-DA2
22 | Suite Teardown | Tear down 3-node performance topology
23 | ...
24 | Test Setup | Set up performance test
25 | Test Teardown | Tear down performance ndrchk test
26 | ...
27 | Documentation | *Reference NDR throughput IPv6 whitelist verify test cases*
28 | ...
29 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
30 | ... | with single links between nodes.
31 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6 for IPv6 routing.
32 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6
33 | ... | routing, two static IPv6 /64 routes and IPv6 iAcl security whitelist
34 | ... | ingress /64 filter entries applied on links TG - DUT1 and DUT2 - TG.
35 | ... | DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel.
36 | ... | *[Ver] TG verification:* In short performance tests, TG verifies
37 | ... | DUTs' throughput at ref-NDR (reference Non Drop Rate) with zero packet
38 | ... | loss tolerance. Ref-NDR value is periodically updated acording to
39 | ... | formula: ref-NDR = 0.9x NDR, where NDR is found in RFC2544 long
40 | ... | performance tests for the same DUT confiiguration. Test packets are
41 | ... | generated by TG on links to DUTs. TG traffic profile contains two L3
42 | ... | flow-groups (flow-group per direction, 253 flows per flow-group) with
43 | ... | all packets containing Ethernet header, IPv6 header and generated
44 | ... | payload.
45 | ... | *[Ref] Applicable standard specifications:* RFC2544.
46
47 *** Variables ***
48 # Traffic profile:
49 | ${traffic_profile} | trex-sl-3n-ethip6-ip6src253
50
51 *** Test Cases ***
52 | tc01-78B-1t1c-ethip6-ip6base-iacldstbase-ndrchk
53 | | [Documentation]
54 | | ... | [Cfg] DUT runs IPv4 routing and whitelist filters config with \
55 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Verify
56 | | ... | ref-NDR for 78 Byte frames using single trial throughput test
57 | | ... | at 2x 3.2mpps.
58 | | [Tags] | 78B | 1T1C | STHREAD
59 | | ${framesize}= | Set Variable | ${78}
60 | | ${rate}= | Set Variable | 3.2mpps
61 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
62 | | And Add PCI devices to DUTs in 3-node single link topology
63 | | And Add no multi seg to all DUTs
64 | | And Apply startup configuration on all VPP DUTs
65 | | And Initialize IPv6 forwarding in 3-node circular topology
66 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
67 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
68 | | ... | ${framesize} | ${traffic_profile}
69
70 | tc02-1518B-1t1c-ethip6-ip6base-iacldstbase-ndrchk
71 | | [Documentation]
72 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
73 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Verify
74 | | ... | ref-NDR for 1518 Byte frames using single trial throughput test
75 | | ... | at 2x 812743pps.
76 | | [Tags] | 1518B | 1T1C | STHREAD
77 | | ${framesize}= | Set Variable | ${1518}
78 | | ${rate}= | Set Variable | 812743pps
79 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
80 | | And Add PCI devices to DUTs in 3-node single link topology
81 | | And Add no multi seg to all DUTs
82 | | And Apply startup configuration on all VPP DUTs
83 | | And Initialize IPv6 forwarding in 3-node circular topology
84 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
85 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
86 | | ... | ${framesize} | ${traffic_profile}
87
88 | tc03-9000B-1t1c-ethip6-ip6base-iacldstbase-ndrchk
89 | | [Documentation]
90 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
91 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Verify
92 | | ... | ref-NDR for 9000 Byte frames using single trial throughput test
93 | | ... | at 2x 138580pps.
94 | | [Tags] | 9000B | 1T1C | STHREAD
95 | | ${framesize}= | Set Variable | ${9000}
96 | | ${rate}= | Set Variable | 138580pps
97 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
98 | | And Add PCI devices to DUTs in 3-node single link topology
99 | | And Apply startup configuration on all VPP DUTs
100 | | And Initialize IPv6 forwarding in 3-node circular topology
101 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
102 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
103 | | ... | ${framesize} | ${traffic_profile}
104
105 | tc04-78B-2t2c-ethip6-ip6base-iacldstbase-ndrchk
106 | | [Documentation]
107 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
108 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Verify
109 | | ... | ref-NDR for 78 Byte frames using single trial throughput test
110 | | ... | at 2x 5.7mpps.
111 | | [Tags] | 78B | 2T2C | MTHREAD
112 | | ${framesize}= | Set Variable | ${78}
113 | | ${rate}= | Set Variable | 5.7mpps
114 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
115 | | And Add PCI devices to DUTs in 3-node single link topology
116 | | And Add no multi seg to all DUTs
117 | | And Apply startup configuration on all VPP DUTs
118 | | And Initialize IPv6 forwarding in 3-node circular topology
119 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
120 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
121 | | ... | ${framesize} | ${traffic_profile}
122
123 | tc05-1518B-2t2c-ethip6-ip6base-iacldstbase-ndrchk
124 | | [Documentation]
125 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
126 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Verify
127 | | ... | ref-NDR for 1518 Byte frames using single trial throughput test
128 | | ... | at 2x 812743pps.
129 | | [Tags] | 1518B | 2T2C | MTHREAD
130 | | ${framesize}= | Set Variable | ${1518}
131 | | ${rate}= | Set Variable | 812743pps
132 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
133 | | And Add PCI devices to DUTs in 3-node single link topology
134 | | And Add no multi seg to all DUTs
135 | | And Apply startup configuration on all VPP DUTs
136 | | And Initialize IPv6 forwarding in 3-node circular topology
137 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
138 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
139 | | ... | ${framesize} | ${traffic_profile}
140
141 | tc06-9000B-2t2c-ethip6-ip6base-iacldstbase-ndrchk
142 | | [Documentation]
143 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
144 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Verify
145 | | ... | ref-NDR for 9000 Byte frames using single trial throughput test
146 | | ... | at 2x 138580pps.
147 | | [Tags] | 9000B | 2T2C | MTHREAD
148 | | ${framesize}= | Set Variable | ${9000}
149 | | ${rate}= | Set Variable | 138580pps
150 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
151 | | And Add PCI devices to DUTs in 3-node single link topology
152 | | And Apply startup configuration on all VPP DUTs
153 | | And Initialize IPv6 forwarding in 3-node circular topology
154 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
155 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
156 | | ... | ${framesize} | ${traffic_profile}
157
158 | tc07-78B-4t4c-ethip6-ip6base-iacldstbase-ndrchk
159 | | [Documentation]
160 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
161 | | ... | 4 thread, 4 phy core, 2 receive queue per NIC port. [Ver] Verify
162 | | ... | ref-NDR for 78 Byte frames using single trial throughput test
163 | | ... | at 2x 9.2mpps.
164 | | [Tags] | 78B | 4T4C | MTHREAD
165 | | ${framesize}= | Set Variable | ${78}
166 | | ${rate}= | Set Variable | 9.2mpps
167 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
168 | | And Add PCI devices to DUTs in 3-node single link topology
169 | | And Add no multi seg to all DUTs
170 | | And Apply startup configuration on all VPP DUTs
171 | | And Initialize IPv6 forwarding in 3-node circular topology
172 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
173 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
174 | | ... | ${framesize} | ${traffic_profile}
175
176 | tc08-1518B-4t4c-ethip6-ip6base-iacldstbase-ndrchk
177 | | [Documentation]
178 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
179 | | ... | 4 thread, 4 phy core, 2 receive queue per NIC port. [Ver] Verify
180 | | ... | ref-NDR for 1518 Byte frames using single trial throughput test
181 | | ... | at 2x 812743pps.
182 | | [Tags] | 1518B | 4T4C | MTHREAD
183 | | ${framesize}= | Set Variable | ${1518}
184 | | ${rate}= | Set Variable | 812743pps
185 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
186 | | And Add PCI devices to DUTs in 3-node single link topology
187 | | And Add no multi seg to all DUTs
188 | | And Apply startup configuration on all VPP DUTs
189 | | And Initialize IPv6 forwarding in 3-node circular topology
190 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
191 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
192 | | ... | ${framesize} | ${traffic_profile}
193
194 | tc09-9000B-4t4c-ethip6-ip6base-iacldstbase-ndrchk
195 | | [Documentation]
196 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
197 | | ... | 4 thread, 4 phy core, 2 receive queue per NIC port. [Ver] Verify
198 | | ... | ref-NDR for 9000 Byte frames using single trial throughput test
199 | | ... | at 2x 138580pps.
200 | | [Tags] | 9000B | 4T4C | MTHREAD
201 | | ${framesize}= | Set Variable | ${9000}
202 | | ${rate}= | Set Variable | 138580pps
203 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
204 | | And Add PCI devices to DUTs in 3-node single link topology
205 | | And Apply startup configuration on all VPP DUTs
206 | | And Initialize IPv6 forwarding in 3-node circular topology
207 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
208 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
209 | | ... | ${framesize} | ${traffic_profile}