diff options
Diffstat (limited to 'tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot')
-rw-r--r-- | tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index 41d5cc8784..f69745b030 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -89,6 +89,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary +| | ... | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs @@ -158,6 +159,9 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary +| | ${jumbo_frames}= | Set Variable If | ${get_framesize} < ${1522} +| | ... | ${False} | ${True} +| | ... | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs @@ -167,9 +171,11 @@ | | ... | ${tag_rewrite} | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 +\| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} @@ -192,6 +198,9 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary +| | ${jumbo_frames}= | Set Variable If | ${get_framesize} < ${1522} +| | ... | ${False} | ${True} +| | ... | | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs @@ -201,9 +210,11 @@ | | ... | ${tag_rewrite} | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} @@ -369,6 +380,9 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary +| | ${jumbo_frames}= | Set Variable If | ${get_framesize} < ${1522} +| | ... | ${False} | ${True} +| | ... | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs @@ -378,9 +392,11 @@ | | ... | ${tag_rewrite} | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} @@ -403,6 +419,9 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary +| | ${jumbo_frames}= | Set Variable If | ${get_framesize} < ${1522} +| | ... | ${False} | ${True} +| | ... | | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs @@ -412,9 +431,11 @@ | | ... | ${tag_rewrite} | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} @@ -580,6 +601,9 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary +| | ${jumbo_frames}= | Set Variable If | ${get_framesize} < ${1522} +| | ... | ${False} | ${True} +| | ... | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs @@ -589,9 +613,11 @@ | | ... | ${tag_rewrite} | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} @@ -614,6 +640,9 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary +| | ${jumbo_frames}= | Set Variable If | ${get_framesize} < ${1522} +| | ... | ${False} | ${True} +| | ... | | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology | | And Add PCI devices to DUTs in 3-node single link topology | | And Add no multi seg to all DUTs @@ -623,9 +652,11 @@ | | ... | ${tag_rewrite} | | ${vm1}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 +| | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} |