X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fperf%2F10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc.robot;h=34f9a5f8eee6a71654872cbe16a6b5fe2fa655ae;hb=fe29ca4b7e6c412c69f1c56404513a33236aa617;hp=04f7f58529b458d65e720b24037ba45a398f3bf9;hpb=3ef4ce6c9cc006d728a8acea20bc18aadc88acdc;p=csit.git diff --git a/tests/perf/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc.robot b/tests/perf/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc.robot index 04f7f58529..34f9a5f8ee 100644 --- a/tests/perf/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc.robot +++ b/tests/perf/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc.robot @@ -14,24 +14,21 @@ *** Settings *** | Resource | resources/libraries/robot/performance.robot | Library | resources.libraries.python.QemuUtils +| ... | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Intel-X520-DA2 | L2BDMACLRN | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY | ... | VHOST | VM +| ... | Suite Setup | 3-node Performance Suite Setup with DUT's NIC model | ... | L2 | Intel-X520-DA2 | 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-bridge -| ... | fail_on_loss=${False} -| ... | AND | Show Vpp Vhost On All DUTs -| ... | AND | Remove startup configuration of VPP from all DUTs -| ... | AND | Guest VM with dpdk-testpmd Teardown | ${dut1} -| ... | ${dut1_vm_refs} -| ... | AND | Guest VM with dpdk-testpmd Teardown | ${dut2} -| ... | ${dut2_vm_refs} +| ... +| Test Setup | Performance test setup +| Test Teardown | Performance test with vhost and VM with dpdk-testpmd teardown +| ... | ${min_rate}pps | ${framesize} | 3-node-bridge +| ... | dut1_node=${dut1} | dut1_vm_refs=${dut1_vm_refs} +| ... | dut2_node=${dut2} | dut2_vm_refs=${dut2_vm_refs} +| ... | Documentation | *RFC2544: Packet throughput L2BD test cases with VXLANoIPv4 | ... | and vhost* | ... @@ -62,17 +59,17 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348. *** Variables *** -#X520-DA2 bandwidth limit +# X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} | ${vxlan_overhead} | ${50} -#Socket names +# Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} *** Test Cases *** -| TC01: 64B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq +| tc01-64B-1t1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -106,7 +103,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC02: 64B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq +| tc02-64B-1t1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -138,9 +135,10 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC03: 1518B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq +| tc03-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -173,7 +171,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC04: 1518B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq +| tc04-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -204,9 +202,10 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC05: IMIX_v4_1 NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq +| tc05-IMIX-1t1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -241,7 +240,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC06: IMIX_v4_1 PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 1thread 1core 1rxq +| tc06-IMIX-1t1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 1 thread, 1 phy core,\ | | ... | 1 receive queue per NIC port. @@ -274,9 +273,10 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC07: 64B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq +| tc07-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\ | | ... | 1 receive queue per NIC port. @@ -310,7 +310,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC08: 64B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq +| tc08-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\ | | ... | 1 receive queue per NIC port. @@ -342,9 +342,10 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC09: 1518B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq +| tc09-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\ | | ... | 1 receive queue per NIC port. @@ -377,7 +378,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC10: 1518B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq +| tc10-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\ | | ... | 1 receive queue per NIC port. @@ -408,9 +409,10 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC11: IMIX_v4_1 NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq +| tc11-IMIX-2t2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\ | | ... | 1 receive queue per NIC port. @@ -445,7 +447,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC12: IMIX_v4_1 PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 2threads 2cores 1rxq +| tc12-IMIX-2t2c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 2 threads, 2 phy cores,\ | | ... | 1 receive queue per NIC port. @@ -478,9 +480,10 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC13: 64B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq +| tc13-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\ | | ... | 2 receive queues per NIC port. @@ -514,7 +517,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC14: 64B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq +| tc14-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\ | | ... | 2 receive queues per NIC port. @@ -546,9 +549,10 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC15: 1518B NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq +| tc15-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\ | | ... | 2 receive queues per NIC port. @@ -581,7 +585,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC16: 1518B PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq +| tc16-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\ | | ... | 2 receive queues per NIC port. @@ -612,9 +616,10 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} -| TC17: IMIX_v4_1 NDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq +| tc17-IMIX-4t4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\ | | ... | 2 receive queues per NIC port. @@ -649,7 +654,7 @@ | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} | | ... | ${threshold} -| TC18: IMIX_v4_1 PDR binary search - DUT L2BD-VHOST with VXLANoIPv4 - 4threads 4cores 2rxq +| tc18-IMIX-4t4c-ethip4vxlan-l2bdbasemaclrn-eth-2vhost-1vm-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs L2BD switching config with 4 threads, 4 phy cores,\ | | ... | 2 receive queues per NIC port. @@ -682,4 +687,5 @@ | | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${glob_loss_acceptance} | ${glob_loss_acceptance_type} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type}