X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Ftcp%2F2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-rps.robot;h=4ae2586ae81db18a6e26465e1dcdd96d2c95bf4d;hb=ab0c87c7d8163f95596fcf32b66d04cb9ce89839;hp=29985358045741c4ea94b68d3a23106c7bd1fa77;hpb=fcc77752111a4fbe8caa341cf5249efbad305a2a;p=csit.git diff --git a/tests/vpp/perf/tcp/2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-rps.robot b/tests/vpp/perf/tcp/2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-rps.robot index 2998535804..4ae2586ae8 100644 --- a/tests/vpp/perf/tcp/2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-rps.robot +++ b/tests/vpp/perf/tcp/2n1l-10ge2p1x710-eth-ip4tcphttp-wrk8u8c50con-rps.robot @@ -17,19 +17,19 @@ | Resource | resources/libraries/robot/wrk/wrk_utils.robot | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/tcp/tcp_setup.robot -| ... +| | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV -| ... | HTTP | TCP | TCP_RPS | NIC_Intel-X710 -| ... +| ... | HTTP | TCP | TCP_RPS | NIC_Intel-X710 | DRV_VFIO_PCI +| | Suite Setup | Setup suite single link | wrk | Suite Teardown | Tear down suite | Test Setup | Setup test | Test Teardown | Tear down test -| ... +| | Test Template | Local template -| ... +| | Documentation | *HTTP requests per seconds.* -| ... +| | ... | *[Top] Network Topologies:* TG-DUT-TG 2-node topology | ... | with single link between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-TCP-HTTP for TCP Host Stack @@ -40,6 +40,7 @@ *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so | http_static_plugin.so | ... | hs_apps_plugin.so +| ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 | ${nic_driver}= | vfio-pci | ${traffic_profile}= | wrk-sf-2n-ethip4tcphttp-8u8c50con-rps @@ -48,10 +49,11 @@ *** Keywords *** | Local template | | [Arguments] | ${phy_cores} | ${rxq}=${None} -| | ... -| | Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} -| | Add PCI devices to all DUTs -| | :FOR | ${dut} | IN | @{duts} +| | +| | Given Set Max Rate And Jumbo +| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} +| | And Pre-initialize layer driver | ${nic_driver} +| | FOR | ${dut} | IN | @{duts} | | | Import Library | resources.libraries.python.VppConfigGenerator | | | ... | WITH NAME | ${dut} | | | Run keyword | ${dut}.Add api segment global size | 2G @@ -66,8 +68,10 @@ | | | Run keyword | ${dut}.Add session v4 halfopen table memory | 3g | | | Run keyword | ${dut}.Add session local endpoints table buckets | 2500000 | | | Run keyword | ${dut}.Add session local endpoints table memory | 3g -| | Apply startup configuration on all VPP DUTs -| | When Initialize layer driver | vfio-pci +| | END +| | And Apply startup configuration on all VPP DUTs +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface | | And Set up HTTP server with parameters on the VPP node | | ... | ${http_static_plugin} | 500000 | 4 | 4000m | | Then Measure requests per second | ${traffic_profile}