From d6226b0df6d07f886184a5d35ff647dbdfe5d4ce Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 14 Jul 2017 05:14:25 +0000 Subject: 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 --- .../l2/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot | 5 ++--- 1 file 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 -- cgit 1.2.3-korg