Fix: Memif IMIX frame size test case 74/7574/2
authorPeter Mikus <pmikus@cisco.com>
Fri, 14 Jul 2017 05:14:25 +0000 (05:14 +0000)
committerPeter Mikus <pmikus@cisco.com>
Fri, 14 Jul 2017 05:15:03 +0000 (05:15 +0000)
Fix the variable for calculating the IMIX_v4_1 in traffic
profile.

Change-Id: Ia5e643c0ec2c9cd67d4506b081a919f836ac1b26
Signed-off-by: Peter Mikus <pmikus@cisco.com>
tests/vpp/perf/l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot

index f9cbeb4..3843ef4 100644 (file)
 | | [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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.