X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2FLong_Xconnect_Intel-XL710.robot;h=3916b533f530fb9206a71e24d4a3be048c7bf85d;hp=70514c5197bee5651e98fc11994f4f83af8c66fc;hb=b213a9f30c333b84705aede28f16de5e8e8a06ea;hpb=e94852ebc0e22890d6812e1903c9514bf24453ba diff --git a/tests/perf/Long_Xconnect_Intel-XL710.robot b/tests/perf/Long_Xconnect_Intel-XL710.robot index 70514c5197..3916b533f5 100644 --- a/tests/perf/Long_Xconnect_Intel-XL710.robot +++ b/tests/perf/Long_Xconnect_Intel-XL710.robot @@ -21,15 +21,20 @@ | ... | L2 | Intel-XL710 | Suite Teardown | 3-node Performance Suite Teardown | Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords | Remove startup configuration of VPP from all DUTs -| ... | AND | Show vpp trace dump on all DUTs +| Test Teardown | Run Keywords +| ... | Run Keyword If Test Failed +| ... | Traffic should pass with no loss | 10 +| ... | ${min_rate}pps | ${framesize} | 3-node-xconnect +| ... | fail_on_loss=${False} +| ... | AND | Remove startup configuration of VPP from all DUTs +| ... | AND | Show vpp trace dump on all DUTs | Documentation | *RFC2544: Pkt throughput L2XC test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 cross connect. | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 cross- -| ... | connect. DUT1 and DUT2 tested with 2p10GE NIC X520 Niantic by Intel. +| ... | connect. DUT1 and DUT2 tested with 2p40GE NIC XL710 by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage @@ -55,10 +60,10 @@ | | [Documentation] | | ... | [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 10GE linerate, step 100kpps. +| | ... | using binary search start at 18.75Mpps rate, step 100kpps. | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 +| | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} @@ -77,10 +82,10 @@ | | [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 10GE linerate, step 10kpps. +| | ... | using binary search start at 24.5G rate, step 10kpps. | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 +| | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} @@ -99,10 +104,10 @@ | | [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 10GE linerate, step 100kpps. +| | ... | using binary search start at 18.75Mpps rate, step 100kpps. | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 +| | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} @@ -121,10 +126,10 @@ | | [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 10GE linerate, step 10kpps. +| | ... | using binary search start at 24.5G rate, step 10kpps. | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH | | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 +| | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} @@ -143,10 +148,10 @@ | | [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 10GE linerate, step 100kpps. +| | ... | using binary search start at 18.75Mpps rate, step 100kpps. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 +| | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} @@ -165,10 +170,10 @@ | | [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 10GE linerate, step 10kpps. +| | ... | using binary search start at 24.5G rate, step 10kpps. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH | | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 +| | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} @@ -187,11 +192,11 @@ | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching 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 10GE linerate, step 100kpps. +| | ... | 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 | | ${framesize}= | Set Variable | IMIX_v4_1 -| | ${min_rate}= | Set Variable | 100000 +| | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${353.83333} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} @@ -210,11 +215,11 @@ | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching 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 10GE linerate, step 100kpps. +| | ... | 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 | | ${framesize}= | Set Variable | IMIX_v4_1 -| | ${min_rate}= | Set Variable | 100000 +| | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${353.83333} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} @@ -233,11 +238,11 @@ | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching 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 10GE linerate, step 100kpps. +| | ... | 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 | | ${framesize}= | Set Variable | IMIX_v4_1 -| | ${min_rate}= | Set Variable | 100000 +| | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_24.5G} | ${353.83333} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate}