diff options
author | Peter Mikus <pmikus@cisco.com> | 2017-07-14 05:14:25 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-07-14 08:48:02 +0000 |
commit | ddff086d4cd2f80d98d30e5bdbf0312b943d2080 (patch) | |
tree | d58aca3019965d7e1706a66fa15da0b6aaf67cce | |
parent | 9e98f1054780ca75a79762337da03008d2daf0f7 (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>
(cherry picked from commit d6226b0df6d07f886184a5d35ff647dbdfe5d4ce)
-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 |