X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2F40ge2p1xl710-ethip4-ip4base-ndrdisc.robot;h=cc04ea0d5c4b066b12bacf8c2d17ceabf666a885;hb=8003aa2c3d1a0d4c1dbf3b6286d841a47b5fbb4c;hp=e8379052a6f204a46f742308054989d28468d8f3;hpb=e3ed9257cd7ef50b44eca72ef7d9ae6c7c792647;p=csit.git diff --git a/tests/perf/40ge2p1xl710-ethip4-ip4base-ndrdisc.robot b/tests/perf/40ge2p1xl710-ethip4-ip4base-ndrdisc.robot index e8379052a6..cc04ea0d5c 100644 --- a/tests/perf/40ge2p1xl710-ethip4-ip4base-ndrdisc.robot +++ b/tests/perf/40ge2p1xl710-ethip4-ip4base-ndrdisc.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2017 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -16,21 +16,22 @@ | Library | resources.libraries.python.topology.Topology | Library | resources.libraries.python.NodePath | Library | resources.libraries.python.InterfaceUtil -| Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT1']} | WITH NAME | dut1_v4 -| Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT2']} | WITH NAME | dut2_v4 -| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG -| ... | NIC_Intel-XL710 | PERFTEST_BASE +| Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT1']} +| ... | WITH NAME | dut1_v4 +| Library | resources.libraries.python.IPv4Setup.Dut | ${nodes['DUT2']} +| ... | WITH NAME | dut2_v4 +| ... +| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC +| ... | NIC_Intel-XL710 | ETH | IP4FWD | BASE +| ... | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model | ... | L3 | Intel-XL710 | Suite Teardown | 3-node Performance Suite Teardown -| Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords -| ... | Run Keyword If Test Failed -| ... | Traffic should pass with no loss | 10 -| ... | ${min_rate}pps | ${framesize} | 3-node-IPv4 -| ... | fail_on_loss=${False} -| ... | AND | Remove startup configuration of VPP from all DUTs -| ... | AND | Show vpp trace dump on all DUTs +| ... +| Test Setup | Performance test setup +| Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize} +| ... | 3-node-IPv4 +| ... | Documentation | *RFC2544: Pkt throughput IPv4 routing test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -54,18 +55,18 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** -#XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps +# XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps | ${s_24.5G} | ${24500000000} -#XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps +# XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps | ${s_18.75Mpps} | ${18750000} *** Test Cases *** -| TC01: 64B NDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc01-64B-1t1c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 18.75Mpps rate, step 100kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | [Tags] | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -82,12 +83,12 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC03: 1518B NDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc03-1518B-1t1c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 24.5G rate, step 10kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | [Tags] | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} @@ -104,12 +105,12 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC07: 64B NDR binary search - DUT IPv4 - 2threads 2cores 1rxq +| tc07-64B-2t2c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 18.75Mpps rate, step 100kpps. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR +| | [Tags] | 2T2C | MTHREAD | NDRDISC | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -126,12 +127,12 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC09: 1518B NDR binary search - DUT IPv4 - 2threads 2cores 1rxq +| tc09-1518B-2t2c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 24.5G rate, step 10kpps. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} @@ -148,12 +149,12 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC13: 64B NDR binary search - DUT IPv4 - 4threads 4cores 2rxq +| tc13-64B-4t4c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 18.75Mpps rate, step 100kpps. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR +| | [Tags] | 4T4C | MTHREAD | NDRDISC | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -170,12 +171,12 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC15: 1518B NDR binary search - DUT IPv4 - 4threads 4cores 2rxq +| tc15-1518B-4t4c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 24.5G rate, step 10kpps. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} @@ -192,13 +193,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC19: IMIX_v4_1 NDR binary search - DUT IPv4 - 1thread 1core 1rxq +| tc19-IMIX-1t1c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame size | | ... | using binary search start at 24.5G rate, step 100kpps. | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | [Tags] | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} @@ -215,13 +216,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC20: IMIX_v4_1 NDR binary search - DUT IPv4 - 2thread 2core 1rxq +| tc20-IMIX-2t2c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 thread, 2 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame size | | ... | using binary search start at 24.5G rate, step 100kpps. | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} @@ -238,13 +239,13 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC21: IMIX_v4_1 NDR binary search - DUT IPv4 - 4thread 4core 2rxq +| tc21-IMIX-4t4c-ethip4-ip4base-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 thread, 4 phy core, \ | | ... | 2 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame size | | ... | using binary search start at 24.5G rate, step 100kpps. | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize}