test suite reviews and discussions
 help / color / mirror / Atom feed
From: Lijuan Tu <lijuanx.a.tu@intel.com>
To: dts@dpdk.org
Cc: Lijuan Tu <lijuanx.a.tu@intel.com>
Subject: [dts] [next]net_device: fix nic_pci_num not defined.
Date: Mon, 29 Aug 2016 14:39:37 +0800	[thread overview]
Message-ID: <1472452777-7049-1-git-send-email-lijuanx.a.tu@intel.com> (raw)

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

             reply	other threads:[~2016-08-29  6:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-29  6:39 Lijuan Tu [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1472452777-7049-1-git-send-email-lijuanx.a.tu@intel.com \
    --to=lijuanx.a.tu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).