diff options
author | 2019-10-25 12:41:10 +0000 | |
---|---|---|
committer | 2019-10-25 14:26:26 +0000 | |
commit | eaf3cde2f590ba2da28b415c5f7463af8827b1d4 (patch) | |
tree | db822046362921a4de35c8ef17900aedcba49b1a /resources/libraries/robot/performance/performance_limits.robot | |
parent | 909a91c2a2b08a85d700542a77f8b69434f5ded1 (diff) |
FIX: Limitation for NICs
Change-Id: I8e0a14f59e20d61096e069bb80a0e2c00977ac5c
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/robot/performance/performance_limits.robot')
-rw-r--r-- | resources/libraries/robot/performance/performance_limits.robot | 6 |
1 files changed, 4 insertions, 2 deletions
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} |