From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 75607A0525; Fri, 21 Feb 2020 03:03:31 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6633D4C81; Fri, 21 Feb 2020 03:03:31 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 274A925B3 for ; Fri, 21 Feb 2020 03:03:29 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2020 18:03:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,466,1574150400"; d="scan'208";a="229079153" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga007.fm.intel.com with ESMTP; 20 Feb 2020 18:03:27 -0800 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 20 Feb 2020 18:03:27 -0800 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 20 Feb 2020 18:03:27 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.98]) with mapi id 14.03.0439.000; Fri, 21 Feb 2020 10:03:25 +0800 From: "Tu, Lijuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V5] tests/port_control:modify vm vf bind default driver Thread-Index: AQHV574HIZg0nlsENUK0TICeJ8jCp6gk5rPg Date: Fri, 21 Feb 2020 02:03:24 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBCC969@SHSMSX101.ccr.corp.intel.com> References: <1582183154-13769-1-git-send-email-xiaoxiaox.zeng@intel.com> In-Reply-To: <1582183154-13769-1-git-send-email-xiaoxiaox.zeng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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 V5] tests/port_control:modify vm vf bind default driver 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zeng Xiaoxiao > Sent: Thursday, February 20, 2020 3:19 PM > To: dts@dpdk.org > Cc: Zeng, XiaoxiaoX > Subject: [dts] [PATCH V5] tests/port_control:modify vm vf bind default dr= iver >=20 > Signed-off-by: Zeng Xiaoxiao > --- > tests/TestSuite_port_control.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_contr= ol.py > index 2b16c82..7af19a5 100644 > --- a/tests/TestSuite_port_control.py > +++ b/tests/TestSuite_port_control.py > @@ -156,7 +156,7 @@ class TestPortControl(TestCase): > vf_pci =3D re.findall(r"(\d+.\d+.\d+.\d+)", drive_info.split("ke= rnel")[1]) > terminal.send_expect("ifconfig %s hw ether %s" % (vf_if[1], self= .vf_mac), > "#") > terminal.send_expect("ifconfig %s up" % vf_if[1], "#") > - terminal.send_expect("./usertools/dpdk-devbind.py -b %s %s" % > (self.pf_default_driver, vf_pci[1]), "#") > + terminal.send_expect("./usertools/dpdk-devbind.py -b igb_uio > + %s" % vf_pci[1], "#") > cmd =3D "./%s/app/testpmd -n 1 -w %s -- -i" % (self.target, vf_p= ci[1]) > terminal.send_expect(cmd, "testpmd>", 10) >=20 > -- > 1.8.3.1