[dts] [next]net_device: fix nic_pci_num not defined.

Liu, Yong yong.liu at intel.com
Mon Sep 5 04:20:13 CEST 2016


Thanks lijuan. Applied into master and next branch.

On 08/29/2016 02:39 PM, Lijuan Tu wrote:
> Signed-off-by: Lijuan Tu <lijuanx.a.tu at 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(



More information about the dts mailing list