From 6df2c5b1e949d3155626c9f6870b2977c03c8eb0 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Thu, 7 Dec 2023 13:52:09 +0100 Subject: fix(CpuUtils): correct robot variable names Fixes: 76fcd8422842d0756338502213de561eaa93e670 Change-Id: Ie642aeed5c55d479e0e4b87be965b4b5f70d6612 Signed-off-by: Vratko Polak (cherry picked from commit 679e03755af02a6eafd87a25543c652ae7bba3ee) --- resources/libraries/python/CpuUtils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/libraries/python/CpuUtils.py b/resources/libraries/python/CpuUtils.py index 7840b5fa6c..c77d0f83b1 100644 --- a/resources/libraries/python/CpuUtils.py +++ b/resources/libraries/python/CpuUtils.py @@ -524,15 +524,15 @@ class CpuUtils: continue # Number of Data Plane physical cores. dp_cores_count = BuiltIn().get_variable_value( - "${{dp_cores_count}}", phy_cores + "${dp_cores_count}", phy_cores ) # Number of Feature Plane physical cores. fp_cores_count = BuiltIn().get_variable_value( - "${{fp_cores_count}}", phy_cores - dp_cores_count + "${fp_cores_count}", phy_cores - dp_cores_count ) # Ratio between RX queues and data plane threads. rxq_ratio = BuiltIn().get_variable_value( - "${{rxq_ratio}}", 1 + "${rxq_ratio}", 1 ) dut_pf_keys = BuiltIn().get_variable_value( @@ -540,7 +540,7 @@ class CpuUtils: ) # SMT override in case of non standard test cases. smt_used = BuiltIn().get_variable_value( - "${{smt_used}}", CpuUtils.is_smt_enabled(node["cpuinfo"]) + "${smt_used}", CpuUtils.is_smt_enabled(node["cpuinfo"]) ) cpu_node = Topology.get_interfaces_numa_node(node, *dut_pf_keys) -- cgit 1.2.3-korg