X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Fdefault.robot;fp=resources%2Flibraries%2Frobot%2Fshared%2Fdefault.robot;h=e44141d8ad0afc356572e059e55c89e02914d8e2;hp=dedbdcd2aa642135c9cac53a39e85e25dfc642ac;hb=54f150ba1b09c007240fea9b034b7ded4d78be87;hpb=57476e27b7220d37ca951cdf6b8e12fc0fbc8288 diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index dedbdcd2aa..e44141d8ad 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -224,9 +224,10 @@ | | | ${thr_count_int}= | Run Keyword If | ${smt_used} | | | ... | Evaluate | int(${cpu_count_int}*2) | | | ... | ELSE | Set variable | ${thr_count_int} +| | | ${rxq_ratio} = | Get Variable Value | \${rxq_ratio} | ${2} | | | ${rxq_count_int}= | Run Keyword If | ${rx_queues} | | | ... | Set variable | ${rx_queues} -| | | ... | ELSE | Evaluate | int(${thr_count_int}/2) +| | | ... | ELSE | Evaluate | int(${thr_count_int}/${rxq_ratio}) | | | ${rxq_count_int}= | Run Keyword If | ${rxq_count_int} == 0 | | | ... | Set variable | ${1} | | | ... | ELSE | Set variable | ${rxq_count_int}