From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9A76B558B for ; Fri, 29 Apr 2016 20:14:45 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 29 Apr 2016 11:14:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,552,1455004800"; d="scan'208";a="969338343" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 29 Apr 2016 11:14:26 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 29 Apr 2016 11:14:25 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 29 Apr 2016 11:14:25 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.229]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.148]) with mapi id 14.03.0248.002; Sat, 30 Apr 2016 02:14:23 +0800 From: "Liu, Yong" To: "Tu, LijuanX A" , "dts@dpdk.org" CC: "Tu, LijuanX A" Thread-Topic: [dts] [patch]fix virtual tests with pci domain id caused by commit 5eeb83331f56bd11a00119928017f187f41ec6a0 Thread-Index: AdGiQvB0ki1aEwsZStGES6VVJUT9iA== Date: Fri, 29 Apr 2016 18:14:22 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E14F0B19E@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzY4MGIxOGUtYTY5Zi00NTFiLTkwMDMtNDFhNTEyZWYxMTZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImF0RXNqMWxkV2hsaFlTeEhvQnNEYlVrQ2dqdUNhcENMckhGcVlMTmpOYlE9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [patch]fix virtual tests with pci domain id caused by commit 5eeb83331f56bd11a00119928017f187f41ec6a0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2016 18:14:46 -0000 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 >=20 > Signed-off-by: Lijuan Tu > --- > nics/net_device.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 =3D re.search( > - r"PCI_SLOT_NAME=3D%s:([0-9a-f]+:[0-9a-f]+\.[0-9a= - > f]+)" %domain_id, > + r"PCI_SLOT_NAME=3D(%s+:[0-9a-f]+:[0-9a-f]+\.[0-9= a- > f]+)" %domain_id, > vf_uevent).group(1) > sriov_vfs_pci.append(vf_pci) > except Exception as e: > -- > 1.9.3