aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/CpuUtils.py
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-08-24 09:02:58 +0000
committerPeter Mikus <pmikus@cisco.com>2021-08-24 10:49:03 +0000
commit55372c91ac0c59065f3d8634c686efd0809a85aa (patch)
tree26ab69394ed1cc21553f1858d6bcb4b217f8a7f4 /resources/libraries/python/CpuUtils.py
parentd242783b0455525c2b07e728fb28b245814dcae6 (diff)
Fix DPDK nb_cores allocation
+ Migrate the call to main python util Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I8d00165071d4764121740c1c77819b8ffc65b3ba
Diffstat (limited to 'resources/libraries/python/CpuUtils.py')
-rw-r--r--resources/libraries/python/CpuUtils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/CpuUtils.py b/resources/libraries/python/CpuUtils.py
index f556c51814..b03e3e9bbc 100644
--- a/resources/libraries/python/CpuUtils.py
+++ b/resources/libraries/python/CpuUtils.py
@@ -500,9 +500,9 @@ class CpuUtils:
return cpu_idle_list
@staticmethod
- def get_affinity_vpp_vswitch(
+ def get_affinity_vswitch(
nodes, node, phy_cores, rx_queues=None, rxd=None, txd=None):
- """Get affinity or VPP switch.
+ """Get affinity for vswitch.
:param nodes: Topology nodes.
:param node: Topology node string.