1 # Copyright (c) 2018 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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 | Resource | resources/libraries/robot/performance/performance_setup.robot
17 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | MRR
18 | ... | NIC_Intel-X710 | ETH | IP6FWD | FEATURE | IACLDST
20 | Suite Setup | Set up 3-node performance topology with DUT's NIC model
21 | ... | L3 | Intel-X710
22 | Suite Teardown | Tear down 3-node performance topology
24 | Test Setup | Set up performance test
26 | Test Teardown | Tear down performance mrr test
28 | Documentation | *Raw results IPv6 iAcl whitelist test cases*
30 | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology
31 | ... | with single links between nodes.
32 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6 for IPv6 routing.
33 | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with IPv6
34 | ... | routing, two static IPv6 /64 routes and IPv6 iAcl security whitelist
35 | ... | ingress /64 filter entries applied on links TG - DUT1 and DUT2 - TG.
36 | ... | DUT1 and DUT2 tested with 2p10GE NIC X710 by Intel.
37 | ... | *[Ver] TG verification:* In MaxReceivedRate tests TG sends traffic\
38 | ... | at line rate and reports total received/sent packets over trial period.\
39 | ... | 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 generated payload. MAC
43 | ... | addresses are matching MAC addresses of the TG node interfaces.
44 | ... | *[Ref] Applicable standard specifications:* RFC2544.
47 # X710-DA2 bandwidth limit
48 | ${s_limit}= | ${10000000000}
50 | ${traffic_profile}= | trex-sl-3n-ethip6-ip6src253
53 | Check RR for ip6base-iacldstbase
55 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with ${wt} \
56 | | ... | thread(s), ${wt} phy core(s), ${rxq} receive queue(s) per NIC port.
57 | | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\
58 | | ... | trial throughput test.
60 | | [Arguments] | ${framesize} | ${wt} | ${rxq}
62 | | # Test Variables required for test teardown
63 | | Set Test Variable | ${framesize}
64 | | ${get_framesize}= | Get Frame Size | ${framesize}
65 | | ${max_rate}= | Calculate pps | ${s_limit} | ${get_framesize}
67 | | Given Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology
68 | | And Add PCI devices to DUTs in 3-node single link topology
69 | | And Run Keyword If | ${get_framesize} < ${1522}
70 | | ... | Add no multi seg to all DUTs
71 | | And Apply startup configuration on all VPP DUTs
72 | | When Initialize IPv6 forwarding in 3-node circular topology
73 | | And Initialize IPv6 iAcl whitelist in 3-node circular topology
74 | | Then Traffic should pass with maximum rate | ${perf_trial_duration}
75 | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile}
78 | tc01-78B-1t1c-ethip6-ip6base-iacldstbase-mrr
80 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
81 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
82 | | ... | [Ver] Measure MaxReceivedRate for 78B frames using single trial\
83 | | ... | throughput test.
85 | | [Tags] | 78B | 1T1C | STHREAD
87 | | [Template] | Check RR for ip6base-iacldstbase
88 | | wt=1 | rxq=1 | framesize=${78}
90 | tc02-1518B-1t1c-ethip6-ip6base-iacldstbase-mrr
92 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
93 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
94 | | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single trial\
95 | | ... | throughput test.
97 | | [Tags] | 1518B | 1T1C | STHREAD
99 | | [Template] | Check RR for ip6base-iacldstbase
100 | | wt=1 | rxq=1 | framesize=${1518}
102 | tc03-9000B-1t1c-ethip6-ip6base-iacldstbase-mrr
104 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
105 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
106 | | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single trial\
107 | | ... | throughput test.
109 | | [Tags] | 9000B | 1T1C | STHREAD
111 | | [Template] | Check RR for ip6base-iacldstbase
112 | | wt=1 | rxq=1 | framesize=${9000}
114 | tc04-IMIX-1t1c-ethip6-ip6base-iacldstbase-mrr
116 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
117 | | ... | 1 thread, 1 phy core, 1 receive queue per NIC port.
118 | | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single trial\
119 | | ... | throughput test.
120 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
122 | | [Tags] | IMIX | 1T1C | STHREAD
124 | | [Template] | Check RR for ip6base-iacldstbase
125 | | wt=1 | rxq=1 | framesize=IMIX_v4_1
127 | tc05-78B-2t2c-ethip6-ip6base-iacldstbase-mrr
129 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
130 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
131 | | ... | [Ver] Measure MaxReceivedRate for 78B frames using single trial\
132 | | ... | throughput test.
134 | | [Tags] | 78B | 2T2C | MTHREAD
136 | | [Template] | Check RR for ip6base-iacldstbase
137 | | wt=2 | rxq=1 | framesize=${78}
139 | tc06-1518B-2t2c-ethip6-ip6base-iacldstbase-mrr
141 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
142 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
143 | | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single trial\
144 | | ... | throughput test.
146 | | [Tags] | 1518B | 2T2C | MTHREAD
148 | | [Template] | Check RR for ip6base-iacldstbase
149 | | wt=2 | rxq=1 | framesize=${1518}
151 | tc07-9000B-2t2c-ethip6-ip6base-iacldstbase-mrr
153 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
154 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
155 | | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single trial\
156 | | ... | throughput test.
158 | | [Tags] | 9000B | 2T2C | MTHREAD
160 | | [Template] | Check RR for ip6base-iacldstbase
161 | | wt=2 | rxq=1 | framesize=${9000}
163 | tc08-IMIX-2t2c-ethip6-ip6base-iacldstbase-mrr
165 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
166 | | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port.
167 | | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single trial\
168 | | ... | throughput test.
169 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
171 | | [Tags] | IMIX | 2T2C | MTHREAD
173 | | [Template] | Check RR for ip6base-iacldstbase
174 | | wt=2 | rxq=1 | framesize=IMIX_v4_1
176 | tc09-78B-4t4c-ethip6-ip6base-iacldstbase-mrr
178 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
179 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port.
180 | | ... | [Ver] Measure MaxReceivedRate for 78B frames using single trial\
181 | | ... | throughput test.
183 | | [Tags] | 78B | 4T4C | MTHREAD
185 | | [Template] | Check RR for ip6base-iacldstbase
186 | | wt=4 | rxq=2 | framesize=${78}
188 | tc10-1518B-4t4c-ethip6-ip6base-iacldstbase-mrr
190 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
191 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port.
192 | | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single trial\
193 | | ... | throughput test.
195 | | [Tags] | 1518B | 4T4C | MTHREAD
197 | | [Template] | Check RR for ip6base-iacldstbase
198 | | wt=4 | rxq=2 | framesize=${1518}
200 | tc11-9000B-4t4c-ethip6-ip6base-iacldstbase-mrr
202 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
203 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port.
204 | | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single trial\
205 | | ... | throughput test.
207 | | [Tags] | 9000B | 4T4C | MTHREAD
209 | | [Template] | Check RR for ip6base-iacldstbase
210 | | wt=4 | rxq=2 | framesize=${9000}
212 | tc12-IMIX-4t4c-ethip6-ip6base-iacldstbase-mrr
214 | | ... | [Cfg] DUT runs IPv6 routing and whitelist filters config with \
215 | | ... | 4 threads, 4 phy cores, 2 receive queue per NIC port.
216 | | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single trial\
217 | | ... | throughput test.
218 | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B)
220 | | [Tags] | IMIX | 4T4C | MTHREAD
222 | | [Template] | Check RR for ip6base-iacldstbase
223 | | wt=4 | rxq=2 | framesize=IMIX_v4_1