[dts] [PATCH v2 5/9] framework: fix numa number lookup for a dev

Gowrishankar gowrishankar.m at linux.vnet.ibm.com
Tue Mar 8 11:06:43 CET 2016


Fix get_nic_numa() to return numa associated with a given device correctly.

Signed-off-by: Gowrishankar <gowrishankar.m at linux.vnet.ibm.com>
---
 nics/net_device.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nics/net_device.py b/nics/net_device.py
index 941be99..99e44ab 100644
--- a/nics/net_device.py
+++ b/nics/net_device.py
@@ -521,7 +521,7 @@ class NetDevice(object):
         """
         Get numa number of specified pci device.
         """
-        self.crb.get_nic_numa(self.domain_id, self.bus_id, self.devfun_id)
+        self.crb.get_device_numa(self.domain_id, self.bus_id, self.devfun_id)
 
     def get_card_type(self):
         """
-- 
1.7.10.4



More information about the dts mailing list