From eaf3cde2f590ba2da28b415c5f7463af8827b1d4 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 25 Oct 2019 12:41:10 +0000 Subject: FIX: Limitation for NICs Change-Id: I8e0a14f59e20d61096e069bb80a0e2c00977ac5c Signed-off-by: Peter Mikus --- resources/libraries/robot/performance/performance_limits.robot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'resources/libraries/robot/performance/performance_limits.robot') diff --git a/resources/libraries/robot/performance/performance_limits.robot b/resources/libraries/robot/performance/performance_limits.robot index 3483311abb..a80ca2f8d5 100644 --- a/resources/libraries/robot/performance/performance_limits.robot +++ b/resources/libraries/robot/performance/performance_limits.robot @@ -80,8 +80,10 @@ | | # TODO: Re-check overhead values in suites with both traffics encapsulated. | | # TODO: Improve layered setup to detect encap/decap and update overhead. | | ${overhead} = | Set Variable If | ${overhead} >= 0 | ${overhead} | ${0} -| | ${pps_limit} = | Set Variable | ${18750000.0} -| | ${bps_limit} = | Get From Dictionary | ${NIC_NAME_TO_LIMIT} | ${nic_name} +| | ${pps_limit} = | Get From Dictionary +| | ... | ${NIC_NAME_TO_PPS_LIMIT} | ${nic_name} +| | ${bps_limit} = | Get From Dictionary +| | ... | ${NIC_NAME_TO_BPS_LIMIT} | ${nic_name} | | ${avg_size} = | Get Average Frame Size | ${frame_size} | | ${max_size} = | Set Variable If | '${frame_size}' == 'IMIX_v4_1' | | ... | ${1518} | ${frame_size} -- cgit 1.2.3-korg