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