aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2020-04-17 16:42:56 +0200
committerVratko Polak <vrpolak@cisco.com>2020-04-17 16:42:56 +0200
commitffa19fdddee2f73e99826e9bedf21ea696429721 (patch)
treef13b036a412c3d3e7161bcec6a08a303fba85fca /resources/libraries
parent1834f333a715409618db35a1c7e5da47acbf7653 (diff)
Fix numa detection
On 3n-hsw, xl-710 is numa 1. The old code returned 0, causing performance regression. Fixes: 14a71b74b414df7616ccb5ada3d50ecb90d96bae Change-Id: I81d3f711b6a37438f6411e29baafae9dec1c00a4 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/robot/shared/default.robot2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot
index 0a3efc285a..0ec86cbb99 100644
--- a/resources/libraries/robot/shared/default.robot
+++ b/resources/libraries/robot/shared/default.robot
@@ -187,7 +187,7 @@
| | ${txd_count_int}= | Set variable | ${txd}
| | FOR | ${dut} | IN | @{duts}
| | | ${numa}= | Get interfaces numa node
-| | | ... | ${nodes['${dut}']} | @{${dut}_pf_pci}
+| | | ... | ${nodes['${dut}']} | @{${dut}_pf1}
| | | ${smt_used}= | Is SMT enabled | ${nodes['${dut}']['cpuinfo']}
| | | ${skip_cnt}= | Set variable | ${CPU_CNT_SYSTEM}
| | | ${cpu_main}= | Cpu list per node str | ${nodes['${dut}']} | ${numa}