FIX: Change buffers per numa base on SMT 86/19186/1
authorPeter Mikus <pmikus@cisco.com>
Fri, 26 Apr 2019 10:29:53 +0000 (10:29 +0000)
committerPeter Mikus <pmikus@cisco.com>
Fri, 26 Apr 2019 10:57:10 +0000 (10:57 +0000)
Change-Id: I4955210e2c723d4b91d8829ac42e47937d17833f
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/robot/shared/default.robot

index 372a400..5337fdd 100644 (file)
 | | | Run keyword | ${dut}.Add DPDK Dev Default RXQ | ${rxq_count_int}
 # For now there is no way to easily predict the number of buffers. Statically
 # doing maximum amount of buffers allowed by DPDK.
-| | | Run keyword | ${dut}.Add Buffers Per Numa | ${215040}
+| | | Run keyword if | ${smt_used}
+| | | ... | Run keyword | ${dut}.Add Buffers Per Numa | ${215040} | ELSE
+| | | ... | Run keyword | ${dut}.Add Buffers Per Numa | ${107520}
 | | | Run keyword if | ${thr_count_int} > 1
 | | | ... | Set Tags | MTHREAD | ELSE | Set Tags | STHREAD
 | | | Set Tags | ${thr_count_int}T${cpu_count_int}C