c5858455b1145e42ac577d7ecab4a3ccb22989ab
[csit.git] / tests / suites / performance / Short_IPv6_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 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_SHORT
17 | ...        | NIC_Intel-X520-DA2
18 | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
19 | ... | L3 | Intel-X520-DA2
20
21 | Suite Teardown | 3-node Performance Suite Teardown
22 | Test Setup | Setup all DUTs before test
23 | Test Teardown | Run Keyword | Remove startup configuration of VPP from all DUTs
24 | Documentation | Minimal throughput acceptance test cases
25
26 *** Test Cases ***
27 | 1core VPP passes 78B frames through IPv6 forwarding at 2x 2.9Mpps in 3-node topology
28 | | [Documentation]
29 | | ... | VPP with 1 core should pass 78B frames through IPv6 forwarding
30 | | ... | at 2x2.9Mpps in 3-node topology.
31 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
32 | | ${framesize}= | Set Variable | 78
33 | | ${duration}= | Set Variable | 10
34 | | ${rate}= | Set Variable | 2.9mpps
35 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
36 | | And   Add all PCI devices to all DUTs
37 | | And   Add No Multi Seg to all DUTs
38 | | And   Apply startup configuration on all VPP DUTs
39 | | And   IPv6 forwarding initialized in a 3-node circular topology
40 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
41 | | ...                                    | ${framesize} | 3-node-IPv6
42
43 | 1core VPP passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
44 | | [Documentation]
45 | | ... | VPP with 1 core should pass 1518B frames through IPv6 forwarding
46 | | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology.
47 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
48 | | ${framesize}= | Set Variable | 1518
49 | | ${duration}= | Set Variable | 10
50 | | ${rate}= | Set Variable | 812743pps
51 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
52 | | And   Add all PCI devices to all DUTs
53 | | And   Add No Multi Seg to all DUTs
54 | | And   Apply startup configuration on all VPP DUTs
55 | | And   IPv6 forwarding initialized in a 3-node circular topology
56 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
57 | | ...                                    | ${framesize} | 3-node-IPv6
58
59 | 1core VPP passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
60 | | [Documentation]
61 | | ... | VPP with 1 core should pass 9000B frames through IPv6 forwarding
62 | | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology.
63 | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR
64 | | ${framesize}= | Set Variable | 9000
65 | | ${duration}= | Set Variable | 10
66 | | ${rate}= | Set Variable | 138580pps
67 | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs
68 | | And   Add all PCI devices to all DUTs
69 | | And   Apply startup configuration on all VPP DUTs
70 | | And   IPv6 forwarding initialized in a 3-node circular topology
71 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
72 | | ...                                    | ${framesize} | 3-node-IPv6
73
74 | 2core VPP with rxqueues 1 passes 78B frames through IPv6 forwarding at 2x 5.9Mpps in 3-node topology
75 | | [Documentation]
76 | | ... | VPP with 2 cores should pass 78B frames through IPv6 forwarding
77 | | ... | at 2x5.9Mpps in 3-node topology.
78 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
79 | | ${framesize}= | Set Variable | 78
80 | | ${duration}= | Set Variable | 10
81 | | ${rate}= | Set Variable | 5.9mpps
82 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
83 | | And   Add all PCI devices to all DUTs
84 | | And   Add No Multi Seg to all DUTs
85 | | And   Apply startup configuration on all VPP DUTs
86 | | And   IPv6 forwarding initialized in a 3-node circular topology
87 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
88 | | ...                                    | ${framesize} | 3-node-IPv6
89
90 | 2core VPP with rxqueues 1 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
91 | | [Documentation]
92 | | ... | VPP with 2 cores should pass 1518B frames through IPv6 forwarding
93 | | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology.
94 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
95 | | ${framesize}= | Set Variable | 1518
96 | | ${duration}= | Set Variable | 10
97 | | ${rate}= | Set Variable | 812743pps
98 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
99 | | And   Add all PCI devices to all DUTs
100 | | And   Add No Multi Seg to all DUTs
101 | | And   Apply startup configuration on all VPP DUTs
102 | | And   IPv6 forwarding initialized in a 3-node circular topology
103 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
104 | | ...                                    | ${framesize} | 3-node-IPv6
105
106 | 2core VPP with rxqueues 1 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
107 | | [Documentation]
108 | | ... | VPP with 2 cores should pass 9000B frames through IPv6 forwarding
109 | | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology.
110 | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR
111 | | ${framesize}= | Set Variable | 9000
112 | | ${duration}= | Set Variable | 10
113 | | ${rate}= | Set Variable | 138580pps
114 | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs
115 | | And   Add all PCI devices to all DUTs
116 | | And   Apply startup configuration on all VPP DUTs
117 | | And   IPv6 forwarding initialized in a 3-node circular topology
118 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
119 | | ...                                    | ${framesize} | 3-node-IPv6
120
121 | 4core VPP with rxqueues 2 passes 78B frames through IPv6 forwarding at 2x 7.3Mpps in 3-node topology
122 | | [Documentation]
123 | | ... | VPP with 4 cores and rxqueues 2 should pass 78B frames through IPv6
124 | | ... | forwarding at 2x7.3Mpps in 3-node topology.
125 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
126 | | ${framesize}= | Set Variable | 78
127 | | ${duration}= | Set Variable | 10
128 | | ${rate}= | Set Variable | 7.3mpps
129 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
130 | | And   Add all PCI devices to all DUTs
131 | | And   Add No Multi Seg to all DUTs
132 | | And   Apply startup configuration on all VPP DUTs
133 | | And   IPv6 forwarding initialized in a 3-node circular topology
134 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
135 | | ...                                    | ${framesize} | 3-node-IPv6
136
137 | 4core VPP with rxqueues 2 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology
138 | | [Documentation]
139 | | ... | VPP with 4 cores and rxqueues 2 should pass 1518B frames through IPv6
140 | | ... | forwarding at 2x812,743pps (2x 10Gbps) in 3-node topology.
141 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
142 | | ${framesize}= | Set Variable | 1518
143 | | ${duration}= | Set Variable | 10
144 | | ${rate}= | Set Variable | 812743pps
145 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
146 | | And   Add all PCI devices to all DUTs
147 | | And   Add No Multi Seg to all DUTs
148 | | And   Apply startup configuration on all VPP DUTs
149 | | And   IPv6 forwarding initialized in a 3-node circular topology
150 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
151 | | ...                                    | ${framesize} | 3-node-IPv6
152
153 | 4core VPP with rxqueues 2 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology
154 | | [Documentation]
155 | | ... | VPP with 4 cores and rxqueues 2 should pass 9000B frames through IPv6
156 | | ... | forwarding at 2x138,580pps (2x 10Gbps) in 3-node topology.
157 | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR
158 | | ${framesize}= | Set Variable | 9000
159 | | ${duration}= | Set Variable | 10
160 | | ${rate}= | Set Variable | 138580pps
161 | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs
162 | | And   Add all PCI devices to all DUTs
163 | | And   Apply startup configuration on all VPP DUTs
164 | | And   IPv6 forwarding initialized in a 3-node circular topology
165 | | Then  Traffic should pass with no loss | ${duration} | ${rate}
166 | | ...                                    | ${framesize} | 3-node-IPv6