Remove lbdpdk perf tests
[csit.git] / tests / vpp / perf / ip6 / 2n1l-10ge2p1x710-ethip6-ip6base-soak.robot
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:
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 | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | SOAK
18 | ... | NIC_Intel-X710 | ETH | IP6FWD | BASE | IP6BASE
19 | ...
20 | Suite Setup | Set up 2-node performance topology with DUT's NIC model
21 | ... | L3 | Intel-X710
22 | Suite Teardown | Tear down 2-node performance topology
23 | ...
24 | Test Setup | Set up performance test
25 | ...
26 | Test Teardown | Tear down performance mrr test
27 | ...
28 | Test Template | Local Template
29 | ...
30 | Documentation | *Raw results IPv6 routing test cases*
31 | ...
32 | ... | *[Top] Network Topologies:* TG-DUT1-TG 2-node circular topology
33 | ... | with single links between nodes.
34 | ... | *[Enc] Packet Encapsulations:* Eth-IPv6 for IPv6 routing.
35 | ... | *[Cfg] DUT configuration:* DUT1 is configured with IPv6 routing and two
36 | ... | static IPv6 /64 route entries. DUT1 tested with 2p10GE NIC X710 by
37 | ... | Intel.
38 | ... | *[Ver] TG verification:* Perform PLRsearch to find critical load.
39
40 *** Variables ***
41 # X710-DA2 bandwidth limit
42 | ${s_limit}= | ${10000000000}
43 # Traffic profile:
44 | ${traffic_profile}= | trex-sl-2n-ethip6-ip6src253
45
46 *** Keywords ***
47 | Local Template
48 | | [Documentation]
49 | | ... | [Cfg] DUT runs IPv6 routing config.\
50 | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads.
51 | | ... | [Ver] Perform PLRsearch to find critical load.
52 | | ...
53 | | ... | *Arguments:*
54 | | ... | - framesize - Framesize in Bytes in integer or string (IMIX_v4_1).
55 | | ... |   Type: integer, string
56 | | ... | - phy_cores - Number of physical cores. Type: integer
57 | | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer
58 | | ...
59 | | [Arguments] | ${framesize} | ${phy_cores} | ${rxq}=${None}
60 | | ...
61 | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq}
62 | | And Add PCI devices to all DUTs
63 | | ${max_rate} | ${jumbo} = | Get Max Rate And Jumbo And Handle Multi Seg
64 | | ... | ${s_limit} | ${framesize}
65 | | And Apply startup configuration on all VPP DUTs
66 | | And Initialize IPv6 forwarding in 2-node circular topology
67 | | Then Find critical load using PLRsearch
68 | | ... | ${framesize} | ${traffic_profile} | ${10000} | ${max_rate}
69
70 *** Test Cases ***
71 | tc01-78B-1c-ethip6-ip6base-soak
72 | | [Tags] | 78B | 1C
73 | | framesize=${78} | phy_cores=${1}