From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 3755A1B464 for ; Thu, 13 Dec 2018 03:32:00 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2018 18:31:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,347,1539673200"; d="scan'208";a="301738558" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 12 Dec 2018 18:31:58 -0800 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 12 Dec 2018 18:31:58 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 12 Dec 2018 18:31:58 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.182]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.210]) with mapi id 14.03.0415.000; Thu, 13 Dec 2018 10:31:54 +0800 From: "Yao, BingX Y" To: "Zhao, MeijuanX" , "dts@dpdk.org" CC: "Zhao, MeijuanX" , "Wang, FengqinX" Thread-Topic: [dts] [PATCH V1] tests/vf_port_start_stop: restore device status Thread-Index: AQHUkeVYPkYZXZCEHU2AAI6LquSoi6V78+yg Date: Thu, 13 Dec 2018 02:31:54 +0000 Message-ID: <95BCD24840F32441BEA74E0F8A31839E04ECD80A@shsmsx102.ccr.corp.intel.com> References: <1544596908-26627-1-git-send-email-meijuanx.zhao@intel.com> In-Reply-To: <1544596908-26627-1-git-send-email-meijuanx.zhao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 V1] tests/vf_port_start_stop: restore device status 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: Thu, 13 Dec 2018 02:32:00 -0000 Tested-by: Yao, bing -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan Sent: Wednesday, December 12, 2018 2:42 PM To: dts@dpdk.org Cc: Zhao, MeijuanX Subject: [dts] [PATCH V1] tests/vf_port_start_stop: restore device status Signed-off-by: zhao,meijuan --- tests/TestSuite_vf_port_start_stop.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_vf_port_start_stop.py b/tests/TestSuite_vf_por= t_start_stop.py index a9e88d8..4857dd3 100644 --- a/tests/TestSuite_vf_port_start_stop.py +++ b/tests/TestSuite_vf_port_start_stop.py @@ -248,6 +248,8 @@ class TestVfPortStartStop(TestCase): self.tester.send_expect("./dpdk_nic_bind.py --bind=3D%s %s" \ %(self.tester_port_driver, self.tester_tx_pci), "#") =20 + tx_interface =3D self.tester.get_interface(self.tester_tx_port) + self.tester.send_expect("ifconfig %s up" % tx_interface, "#") if getattr(self, 'vm0', None): self.vm0.stop() =20 --=20 2.17.2