rls2001 perf: fix hoststack test packet sizes
[csit.git] / tests / vpp / perf / hoststack / 10ge2p1x710-eth-ip4tcpbase-ldpreload-iperf3-bps.robot
1 # Copyright (c) 2020 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 | Library  | resources.libraries.python.HoststackUtil
16 | Resource | resources/libraries/robot/shared/default.robot
17 | Resource | resources/libraries/robot/hoststack/hoststack.robot
18 |
19 | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV
20
21 | ... | TCP | NIC_Intel-X710 | DRV_VFIO_PCI
22 | ... | RXQ_SIZE_0 | TXQ_SIZE_0 | HOSTSTACK
23 | ... | LDPRELOAD | IPERF3 | 1CLIENT | 1STREAM | 1460B
24 | ... | eth-ip4tcpbase-ldpreload-iperf3
25 |
26 | Suite Setup | Setup suite single link no tg
27 | Suite Teardown | Tear down suite | hoststack
28 | Test Setup | Setup test
29 | Test Teardown | Tear down test
30 |
31 | Test Template | Local template
32 |
33 | Documentation | *Iperf3 client -> Iperf3 server goodput.
34 |
35 | ... | *[Top] Network Topologies:* DUT-DUT 2-node topology
36 | ... | with single link between nodes.
37 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-TCP
38 | ... | *[Cfg] DUT configuration:*
39 | ... | *[Ref] Applicable standard specifications:*
40
41 *** Variables ***
42 | @{plugins_to_enable}= | dpdk_plugin.so
43 | ${nic_name}= | Intel-X710
44 | ${nic_driver}= | vfio-pci
45 | ${nic_rxq_size}= | 0
46 | ${nic_txq_size}= | 0
47 | ${overhead}= | ${0}
48 | ${frame_size}= | ${9000}
49 | ${crypto_type}= | ${None}
50
51 *** Keywords ***
52 | Local template
53 | | [Arguments] | ${phy_cores}
54 | |
55 | | Set Test Variable | ${dpdk_no_tx_checksum_offload} | ${False}
56 | | Set VPP Hoststack Attributes | phy_cores=${phy_cores}
57 | | ${defer_fail}= | Get Test Results From Hoststack Iperf3 Test
58 | | Run Keyword If | ${defer_fail}==True | FAIL
59 | | ... | Defered Failure From Hoststack Iperf3 Test Program
60
61 *** Test Cases ***
62 | tc01-1460B-1c-eth-ip4tcpbase-ldpreload-iperf3-bps
63 | | [Tags] | 1C
64 | | phy_cores=${1}