diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-07-14 05:14:25 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-07-14 05:15:03 +0000 |
commit | d6226b0df6d07f886184a5d35ff647dbdfe5d4ce (patch) | |
tree | cc535a8c6827d3ff85f5e6ef4c9a537c513c7bdc /tests/vpp/perf/l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot | |
parent | f99a7bb11ea42b5cd627e10c102afcfb32d568ca (diff) |
Fix: Memif IMIX frame size test case
Fix the variable for calculating the IMIX_v4_1 in traffic
profile.
Change-Id: Ia5e643c0ec2c9cd67d4506b081a919f836ac1b26
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/vpp/perf/l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot')
-rw-r--r-- | tests/vpp/perf/l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/vpp/perf/l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot b/tests/vpp/perf/l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot index f9cbeb4ca9..3843ef420a 100644 --- a/tests/vpp/perf/l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot +++ b/tests/vpp/perf/l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot @@ -73,15 +73,14 @@ | | [Arguments] | ${framesize} | ${min_rate} | ${wt} | ${rxq} | ${search_type} | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} -| | ${frame_size}= | Set Variable If +| | ${get_framesize}= | Set Variable If | | ... | "${framesize}" == "IMIX_v4_1" | ${avg_imix_framesize} | ${framesize} -| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${get_framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology | | Add PCI Devices To DUTs In 3-node Single Link Topology -| | ${get_framesize}= | Get Frame Size | ${framesize} | | Run Keyword If | ${get_framesize} < ${1522} | Add No Multi Seg to all DUTs | | Apply startup configuration on all VPP DUTs | | Initialize L2 xconnect for '1' memif pairs in 3-node circular topology |