X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fvm_vhost%2F10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot;h=a71f90420857244145ae9b2eee4af24018727d35;hp=14cb2c3da87b8bc1d1e68109343e871d24f6a990;hb=095b162010491a4759e05ca46f0e5a47e8ace141;hpb=b4157d62463fc54621fed74b223fcada4811efd1 diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot index 14cb2c3da8..a71f904208 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot @@ -40,7 +40,7 @@ | ... | vhost-user interfaces using 5 cores pinned to cpus 5-9 and 2048M | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to -| ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520 +| ... | io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520 | ... | Niantic by Intel. | ... | *[Ver] TG verification:* TG verifies throughput PDR (Partial Drop | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage @@ -55,12 +55,13 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check PDR for L2XC with vhost and VM with dpdk-testpmd @@ -94,14 +95,12 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with partial loss | ${perf_trial_duration} | | ... | ${rate} | ${framesize} | ${traffic_profile} | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} *** Test Cases *** -| tc01-64B-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc01-64B-1t1c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy\ | | ... | core, 1 receive queue per NIC port. @@ -113,7 +112,7 @@ | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd | | framesize=${64} | rate=1.6mpps | wt=1 | rxq=1 -| tc02-1518B-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc02-1518B-1t1c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy\ | | ... | core, 1 receive queue per NIC port. @@ -125,7 +124,7 @@ | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd | | framesize=${1518} | rate=400000pps | wt=1 | rxq=1 -| tc03-IMIX-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc03-IMIX-1t1c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy\ | | ... | core, 1 receive queue per NIC port. @@ -137,7 +136,7 @@ | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd | | framesize=IMIX_v4_1 | rate=1.0mpps | wt=1 | rxq=1 -| tc04-64B-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc04-64B-2t2c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy\ | | ... | cores, 1 receive queue per NIC port. @@ -149,7 +148,7 @@ | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd | | framesize=${64} | rate=3.0mpps | wt=2 | rxq=1 -| tc05-1518B-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc05-1518B-2t2c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy\ | | ... | cores, 1 receive queue per NIC port. @@ -161,7 +160,7 @@ | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd | | framesize=${1518} | rate=0.7mpps | wt=2 | rxq=1 -| tc06-IMIX-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc06-IMIX-2t2c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy\ | | ... | cores, 1 receive queue per NIC port. @@ -173,7 +172,7 @@ | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd | | framesize=IMIX_v4_1 | rate=2.0mpps | wt=2 | rxq=1 -| tc07-64B-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc07-64B-4t4c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy\ | | ... | cores, 2 receive queues per NIC port. @@ -185,7 +184,7 @@ | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd | | framesize=${64} | rate=4.2mpps | wt=4 | rxq=2 -| tc08-1518B-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc08-1518B-4t4c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy\ | | ... | cores, 2 receive queues per NIC port. @@ -197,7 +196,7 @@ | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd | | framesize=${1518} | rate=0.7mpps | wt=4 | rxq=2 -| tc09-IMIX-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrchk +| tc09-IMIX-4t4c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy\ | | ... | cores, 2 receive queues per NIC port.