* [dts] [patch]fix virtual tests with pci domain id caused by commit 5eeb83331f56bd11a00119928017f187f41ec6a0
@ 2016-04-29 8:33 Lijuan Tu
0 siblings, 0 replies; 2+ messages in thread
From: Lijuan Tu @ 2016-04-29 8:33 UTC (permalink / raw)
To: dts; +Cc: Lijuan Tu
Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.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 afd6036..b87bc7c 100644
--- a/nics/net_device.py
+++ b/nics/net_device.py
@@ -582,7 +582,7 @@ class NetDevice(object):
"cat %s" %
os.path.join(virtfn, "uevent"), "# ")
vf_pci = re.search(
- r"PCI_SLOT_NAME=%s:([0-9a-f]+:[0-9a-f]+\.[0-9a-f]+)" %domain_id,
+ r"PCI_SLOT_NAME=(%s+:[0-9a-f]+:[0-9a-f]+\.[0-9a-f]+)" %domain_id,
vf_uevent).group(1)
sriov_vfs_pci.append(vf_pci)
except Exception as e:
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [patch]fix virtual tests with pci domain id caused by commit 5eeb83331f56bd11a00119928017f187f41ec6a0
@ 2016-04-29 18:14 Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-04-29 18:14 UTC (permalink / raw)
To: Tu, LijuanX A, dts; +Cc: Tu, LijuanX A
Thanks, applied.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Lijuan Tu
> Sent: Friday, April 29, 2016 1:34 AM
> To: dts@dpdk.org
> Cc: Tu, LijuanX A
> Subject: [dts] [patch]fix virtual tests with pci domain id caused by
> commit 5eeb83331f56bd11a00119928017f187f41ec6a0
>
> Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.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 afd6036..b87bc7c 100644
> --- a/nics/net_device.py
> +++ b/nics/net_device.py
> @@ -582,7 +582,7 @@ class NetDevice(object):
> "cat %s" %
> os.path.join(virtfn, "uevent"), "# ")
> vf_pci = re.search(
> - r"PCI_SLOT_NAME=%s:([0-9a-f]+:[0-9a-f]+\.[0-9a-
> f]+)" %domain_id,
> + r"PCI_SLOT_NAME=(%s+:[0-9a-f]+:[0-9a-f]+\.[0-9a-
> f]+)" %domain_id,
> vf_uevent).group(1)
> sriov_vfs_pci.append(vf_pci)
> except Exception as e:
> --
> 1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-29 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-29 8:33 [dts] [patch]fix virtual tests with pci domain id caused by commit 5eeb83331f56bd11a00119928017f187f41ec6a0 Lijuan Tu
2016-04-29 18:14 Liu, Yong
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).