X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fip4%2F2n1l-10ge2p1x710-avf-ethip4-ip4scale20k-ndrpdr.robot;h=a05667d94fe32305a06f40c9f7820ef7c57c724a;hp=47ce853c2913aa57b7a6fb26a76d8a885b044dc9;hb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;hpb=e6dd772435e4736170aaa43a779840196e714254 diff --git a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-avf-ethip4-ip4scale20k-ndrpdr.robot b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-avf-ethip4-ip4scale20k-ndrpdr.robot index 47ce853c29..a05667d94f 100644 --- a/tests/vpp/perf/ip4/2n1l-10ge2p1x710-avf-ethip4-ip4scale20k-ndrpdr.robot +++ b/tests/vpp/perf/ip4/2n1l-10ge2p1x710-avf-ethip4-ip4scale20k-ndrpdr.robot @@ -13,19 +13,19 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot -| ... +| | Force Tags | 2_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDR | ... | NIC_Intel-X710 | ETH | IP4FWD | SCALE | FIB_20k | DRV_AVF -| ... +| | Suite Setup | Setup suite single link | performance_avf -| Suite Teardown | Tear down suite | performance | vifs +| Suite Teardown | Tear down suite | performance | Test Setup | Setup test | Test Teardown | Tear down test | performance -| ... +| | Test Template | Local Template -| ... +| | Documentation | *RFC2544: Pkt throughput IPv4 routing test cases* -| ... +| | ... | *[Top] Network Topologies:* TG-DUT1-TG 2-node circular topology\ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for IPv4 routing. @@ -45,9 +45,11 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** -| @{plugins_to_enable}= | dpdk_plugin.so | avf_plugin.so -| ${osi_layer}= | L3 +| @{plugins_to_enable}= | avf_plugin.so +| ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 +| ${nic_driver}= | avf +| ${osi_layer}= | L3 | ${overhead}= | ${0} | ${rts_per_flow}= | ${10000} # Traffic profile: @@ -55,27 +57,28 @@ *** Keywords *** | Local Template -| | ... +| | | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config. | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads. | | ... | [Ver] Measure NDR and PDR values using MLRsearch algorithm.\ -| | ... +| | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer -| | ... +| | | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} -| | ... +| | | | Set Test Variable | \${frame_size} -| | ... -| | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} -| | And Add DPDK no PCI to all DUTs -| | And Set Max Rate And Jumbo +| | +| | Given Set Max Rate And Jumbo +| | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} +| | And Pre-initialize layer driver | ${nic_driver} | | And Apply startup configuration on all VPP DUTs -| | When Initialize AVF interfaces +| | When Initialize layer driver | ${nic_driver} +| | And Initialize layer interface | | And Initialize IPv4 forwarding with scaling in circular topology | | ... | ${rts_per_flow} | | Then Find NDR and PDR intervals using optimized search