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