X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2F40ge2p1xl710-eth-l2xcbase-ndrpdrdisc.robot;h=856cddfa55d978a2be4711fbee26425b1626d235;hp=c80d6f901aaaef788c7b295037b246d0e04b5b0e;hb=b92b5be7d4bbbf523812f774bb2e539ab2081cf6;hpb=974897e8bcff8f3baeadf09b87840f530d8f41c1 diff --git a/tests/perf/40ge2p1xl710-eth-l2xcbase-ndrpdrdisc.robot b/tests/perf/40ge2p1xl710-eth-l2xcbase-ndrpdrdisc.robot index c80d6f901a..856cddfa55 100644 --- a/tests/perf/40ge2p1xl710-eth-l2xcbase-ndrpdrdisc.robot +++ b/tests/perf/40ge2p1xl710-eth-l2xcbase-ndrpdrdisc.robot @@ -25,7 +25,7 @@ | ... | Test Setup | Performance test setup | Test Teardown | Performance test teardown | ${min_rate}pps | ${framesize} -| ... | 3-node-xconnect +| ... | ${traffic_profile} | ... | Documentation | *RFC2544: Pkt throughput L2XC test cases* | ... @@ -53,6 +53,8 @@ | ${s_24.5G} | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps | ${s_18.75Mpps} | ${18750000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2xcbase-ndrdisc @@ -60,7 +62,7 @@ | | ... | [Cfg] DUT runs L2XC switching 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] | 1T1C | STHREAD | NDRDISC +| | [Tags] | 64B | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -68,21 +70,20 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add PCI devices to DUTs from 3-node single link topology +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc03-1518B-1t1c-eth-l2xcbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching 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] | 1T1C | STHREAD | NDRDISC +| | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} @@ -90,21 +91,20 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add PCI devices to DUTs from 3-node single link topology +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc07-64B-2t2c-eth-l2xcbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching 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] | 2T2C | MTHREAD | NDRDISC +| | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -112,21 +112,20 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add PCI devices to DUTs from 3-node single link topology +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc09-1518B-2t2c-eth-l2xcbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching 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] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} @@ -134,21 +133,20 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add PCI devices to DUTs from 3-node single link topology +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc13-64B-4t4c-eth-l2xcbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching 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] | 4T4C | MTHREAD | NDRDISC +| | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -156,21 +154,20 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add PCI devices to DUTs from 3-node single link topology +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc15-1518B-4t4c-eth-l2xcbase-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching 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] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} @@ -178,14 +175,13 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add PCI devices to DUTs from 3-node single link topology +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc19-IMIX-1t1c-eth-l2xcbase-ndrdisc | | [Documentation] @@ -193,7 +189,7 @@ | | ... | 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] | 1T1C | STHREAD | NDRDISC +| | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${353.83333} @@ -201,14 +197,13 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add all PCI devices to all DUTs -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc20-IMIX-2t2c-eth-l2xcbase-ndrdisc | | [Documentation] @@ -216,7 +211,7 @@ | | ... | 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] | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | IMIX | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${353.83333} @@ -224,14 +219,13 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo -| | And Add all PCI devices to all DUTs -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc21-IMIX-4t4c-eth-l2xcbase-ndrdisc | | [Documentation] @@ -239,7 +233,7 @@ | | ... | 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] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | IMIX | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | IMIX_v4_1 | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${353.83333} @@ -247,11 +241,10 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo -| | And Add all PCI devices to all DUTs -| | And Add No Multi Seg to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | And L2 xconnect initialized in a 3-node circular topology +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold}