test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [next]net_device: fix nic_pci_num not defined.
@ 2016-08-29  6:39 Lijuan Tu
  2016-09-02  1:10 ` Xu, HuilongX
  2016-09-05  2:20 ` Liu, Yong
  0 siblings, 2 replies; 4+ messages in thread
From: Lijuan Tu @ 2016-08-29  6:39 UTC (permalink / raw)
  To: dts; +Cc: Lijuan Tu

Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
 nics/net_device.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nics/net_device.py b/nics/net_device.py
index 897ceb9..2ad950e 100644
--- a/nics/net_device.py
+++ b/nics/net_device.py
@@ -768,6 +768,7 @@ class NetDevice(object):
         Bind NIC port to the pci-stub driver on linux.
         """
         new_id = self.pci_id.replace(':', ' ')
+        nic_pci_num = ':'.join([domain_id, bus_id, devfun_id])
         self.__send_expect(
             "echo %s > /sys/bus/pci/drivers/pci-stub/new_id" % new_id, "# ")
         self.__send_expect(
-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [dts] [next]net_device: fix nic_pci_num not defined.
@ 2016-08-23  3:04 Lijuan Tu
  0 siblings, 0 replies; 4+ messages in thread
From: Lijuan Tu @ 2016-08-23  3:04 UTC (permalink / raw)
  To: dts; +Cc: Lijuan Tu

Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
 nics/net_device.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nics/net_device.py b/nics/net_device.py
index 897ceb9..2ad950e 100644
--- a/nics/net_device.py
+++ b/nics/net_device.py
@@ -768,6 +768,7 @@ class NetDevice(object):
         Bind NIC port to the pci-stub driver on linux.
         """
         new_id = self.pci_id.replace(':', ' ')
+        nic_pci_num = ':'.join([domain_id, bus_id, devfun_id])
         self.__send_expect(
             "echo %s > /sys/bus/pci/drivers/pci-stub/new_id" % new_id, "# ")
         self.__send_expect(
-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-05  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29  6:39 [dts] [next]net_device: fix nic_pci_num not defined Lijuan Tu
2016-09-02  1:10 ` Xu, HuilongX
2016-09-05  2:20 ` Liu, Yong
  -- strict thread matches above, loose matches on Subject: below --
2016-08-23  3:04 Lijuan Tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).