CSIT-604: Bootstrap file for vpp-csit-verify-master-centos7-nightly
[csit.git] / tests / vpp / perf / ip6 / 10ge2p1x520-ethip6-ip6scale200k-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 | SCALE | FIB_200K
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 routing 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 and 2x100k static IPv6 /64 route entries. DUT1 and DUT2 tested
34 | ... | with 2p10GE NIC X520 Niantic by Intel.
35 | ... | *[Ver] TG verification:* In short performance tests, TG verifies
36 | ... | DUTs' throughput at ref-NDR (reference Non Drop Rate) with zero packet
37 | ... | loss tolerance. Ref-NDR value is periodically updated acording to
38 | ... | formula: ref-NDR = 0.9x NDR, where NDR is found in RFC2544 long
39 | ... | performance tests for the same DUT confiiguration. Test packets are
40 | ... | generated by TG on links to DUTs. TG traffic profile contains two L3
41 | ... | flow-groups (flow-group per direction, 100k flows per flow-group) with
42 | ... | all packets containing Ethernet header, IPv6 header and static
43 | ... | payload. Incrementing of IP.dst (IPv6 destination address) field is
44 | ... | applied to both streams.
45 | ... | *[Ref] Applicable standard specifications:* RFC2544.
46
47 *** Variables ***
48 | ${rts_per_flow}= | ${100000}
49
50 # Traffic profile:
51 | ${traffic_profile} | trex-sl-3n-ethip6-ip6dst${rts_per_flow}
52 *** Test Cases ***
53 | tc01-78B-1t1c-ethip6-ip6scale200k-ndrchk
54 | | [Documentation]
55 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
56 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 78 Byte
57 | | ... | frames using single trial throughput test at 2x 2.3mpps.
58 | | [Tags] | 78B | 1T1C | STHREAD
59 | | ${framesize}= | Set Variable | ${78}
60 | | ${rate}= | Set Variable | 2.3mpps
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 with scaling in 3-node circular topology
66 | | ... | ${rts_per_flow}
67 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
68 | | ... | ${framesize} | ${traffic_profile}
69
70 | tc02-1518B-1t1c-ethip6-ip6scale200k-ndrchk
71 | | [Documentation]
72 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
73 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte
74 | | ... | frames using single trial throughput test at 2x 812743pps.
75 | | [Tags] | 1518B | 1T1C | STHREAD
76 | | ${framesize}= | Set Variable | ${1518}
77 | | ${rate}= | Set Variable | 812743pps
78 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
79 | | And Add PCI devices to DUTs in 3-node single link topology
80 | | And Add no multi seg to all DUTs
81 | | And Apply startup configuration on all VPP DUTs
82 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
83 | | ... | ${rts_per_flow}
84 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
85 | | ... | ${framesize} | ${traffic_profile}
86
87 | tc03-9000B-1t1c-ethip6-ip6scale200k-ndrchk
88 | | [Documentation]
89 | | ... | [Cfg] DUT runs IPv6 routing config with 1 thread, 1 phy core, \
90 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
91 | | ... | frames using single trial throughput test at 2x 138580pps.
92 | | [Tags] | 9000B | 1T1C | STHREAD
93 | | ${framesize}= | Set Variable | ${9000}
94 | | ${rate}= | Set Variable | 138580pps
95 | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
96 | | And Add PCI devices to DUTs in 3-node single link topology
97 | | And Apply startup configuration on all VPP DUTs
98 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
99 | | ... | ${rts_per_flow}
100 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
101 | | ... | ${framesize} | ${traffic_profile}
102
103 | tc04-78B-2t2c-ethip6-ip6scale200k-ndrchk
104 | | [Documentation]
105 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
106 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 78 Byte
107 | | ... | frames using single trial throughput test at 2x 5.0mpps.
108 | | [Tags] | 78B | 2T2C | MTHREAD
109 | | ${framesize}= | Set Variable | ${78}
110 | | ${rate}= | Set Variable | 5.0mpps
111 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
112 | | And Add PCI devices to DUTs in 3-node single link topology
113 | | And Add no multi seg to all DUTs
114 | | And Apply startup configuration on all VPP DUTs
115 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
116 | | ... | ${rts_per_flow}
117 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
118 | | ... | ${framesize} | ${traffic_profile}
119
120 | tc05-1518B-2t2c-ethip6-ip6scale200k-ndrchk
121 | | [Documentation]
122 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
123 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte
124 | | ... | frames using single trial throughput test at 2x 812743pps.
125 | | [Tags] | 1518B | 2T2C | MTHREAD
126 | | ${framesize}= | Set Variable | ${1518}
127 | | ${rate}= | Set Variable | 812743pps
128 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
129 | | And Add PCI devices to DUTs in 3-node single link topology
130 | | And Add no multi seg to all DUTs
131 | | And Apply startup configuration on all VPP DUTs
132 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
133 | | ... | ${rts_per_flow}
134 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
135 | | ... | ${framesize} | ${traffic_profile}
136
137 | tc06-9000B-2t2c-ethip6-ip6scale200k-ndrchk
138 | | [Documentation]
139 | | ... | [Cfg] DUT runs IPv6 routing config with 2 threads, 2 phy cores, \
140 | | ... | 1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
141 | | ... | frames using single trial throughput test at 2x 138580pps.
142 | | [Tags] | 9000B | 2T2C | MTHREAD
143 | | ${framesize}= | Set Variable | ${9000}
144 | | ${rate}= | Set Variable | 138580pps
145 | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
146 | | And Add PCI devices to DUTs in 3-node single link topology
147 | | And Apply startup configuration on all VPP DUTs
148 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
149 | | ... | ${rts_per_flow}
150 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
151 | | ... | ${framesize} | ${traffic_profile}
152
153 | tc07-78B-4t4c-ethip6-ip6scale200k-ndrchk
154 | | [Documentation]
155 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
156 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 78 Byte
157 | | ... | frames using single trial throughput test at 2x 5.7mpps.
158 | | [Tags] | 78B | 4T4C | MTHREAD
159 | | ${framesize}= | Set Variable | ${78}
160 | | ${rate}= | Set Variable | 5.7mpps
161 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
162 | | And Add PCI devices to DUTs in 3-node single link topology
163 | | And Add no multi seg to all DUTs
164 | | And Apply startup configuration on all VPP DUTs
165 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
166 | | ... | ${rts_per_flow}
167 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
168 | | ... | ${framesize} | ${traffic_profile}
169
170 | tc08-1518B-4t4c-ethip6-ip6scale200k-ndrchk
171 | | [Documentation]
172 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
173 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte
174 | | ... | frames using single trial throughput test at 2x 812743pps.
175 | | [Tags] | 1518B | 4T4C | MTHREAD
176 | | ${framesize}= | Set Variable | ${1518}
177 | | ${rate}= | Set Variable | 812743pps
178 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
179 | | And Add PCI devices to DUTs in 3-node single link topology
180 | | And Add no multi seg to all DUTs
181 | | And Apply startup configuration on all VPP DUTs
182 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
183 | | ... | ${rts_per_flow}
184 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
185 | | ... | ${framesize} | ${traffic_profile}
186
187 | tc09-9000B-4t4c-ethip6-ip6scale200k-ndrchk
188 | | [Documentation]
189 | | ... | [Cfg] DUT runs IPv6 routing config with 4 threads, 4 phy cores, \
190 | | ... | 2 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte
191 | | ... | frames using single trial throughput test at 2x 138580pps.
192 | | [Tags] | 9000B | 4T4C | MTHREAD
193 | | ${framesize}= | Set Variable | ${9000}
194 | | ${rate}= | Set Variable | 138580pps
195 | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
196 | | And Add PCI devices to DUTs in 3-node single link topology
197 | | And Apply startup configuration on all VPP DUTs
198 | | And Initialize IPv6 forwarding with scaling in 3-node circular topology
199 | | ... | ${rts_per_flow}
200 | | Then Traffic should pass with no loss | ${perf_trial_duration} | ${rate}
201 | | ... | ${framesize} | ${traffic_profile}