X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance%2Fperformance_limits.robot;h=a80ca2f8d57b9e58dae4322098bf1896649eced1;hb=eaf3cde2f590ba2da28b415c5f7463af8827b1d4;hp=67ef3cf5b0636e8e0c2a27349c03d7ea8237f3f8;hpb=ff820e3d53434889aacde2373314c3be8d00f765;p=csit.git diff --git a/resources/libraries/robot/performance/performance_limits.robot b/resources/libraries/robot/performance/performance_limits.robot index 67ef3cf5b0..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} @@ -95,28 +97,3 @@ | | ... | ${pps_limit} | ${rate} | | Set Test Variable | \${jumbo} | | Set Test Variable | \${max_rate} - -| Set Max Rate And Jumbo And Handle Multi Seg -| | [Documentation] -| | ... | This keyword starts with Get Max Rate And Jumbo keyword, -| | ... | then adds correct multi seg VPP configuration. -| | ... -| | ... | See Documentation of Set Max Rate And Jumbo for more details. -| | ... -| | ... | *Test (or broader scope) variables read:* -| | ... | - nic_name - Name of bottleneck NIC. Type: string -| | ... | - overhead - Overhead in bytes. Default: 0. Type: integer -| | ... | - frame_size - L2 Frame Size [B] or IMIX string. Type: int or str -| | ... -| | ... | *Test variables set:* -| | ... | - max_rate - Calculated unidirectional maximal transmit rate [pps]. -| | ... | Type: float -| | ... | - jumbo - Jumbo boolean, true if jumbo packet support -| | ... | has to be enabled. Type: boolean -| | ... -| | ... | *Example:* -| | ... -| | ... | \| Set Max Rate And Jumbo And Handle Multi Seg \| -| | ... -| | Set Max Rate And Jumbo -| | Run Keyword If | not ${jumbo} | Add no multi seg to all DUTs