FIX: Change buffers per numa base on SMT 83/19183/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:29:53 +0000 (10:29 +0000)
Change-Id: I4955210e2c723d4b91d8829ac42e47937d17833f
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/robot/shared/default.robot

index 579577c..569ff34 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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.