From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 4410B58CB for ; Wed, 26 Dec 2018 10:05:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2018 01:05:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,400,1539673200"; d="scan'208";a="132878374" Received: from dts-maintain.sh.intel.com (HELO [10.67.119.110]) ([10.67.119.110]) by fmsmga001.fm.intel.com with ESMTP; 26 Dec 2018 01:05:03 -0800 To: "zhao,meijuan" , dts@dpdk.org References: <1545790297-99564-1-git-send-email-meijuanx.zhao@intel.com> From: Lijuan Tu Message-ID: <424e8922-0320-00c7-b7bc-3d9993e39591@intel.com> Date: Thu, 27 Dec 2018 01:32:47 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1545790297-99564-1-git-send-email-meijuanx.zhao@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [dts] [PATCH V3] tests/vf port start stop:restore nic 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: Wed, 26 Dec 2018 09:05:06 -0000 Applied, thanks On 2018年12月26日 10:11, zhao,meijuan wrote: > 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_port_start_stop.py > index a9e88d8..29c0fb9 100644 > --- a/tests/TestSuite_vf_port_start_stop.py > +++ b/tests/TestSuite_vf_port_start_stop.py > @@ -247,6 +247,8 @@ class TestVfPortStartStop(TestCase): > getattr(self, 'tester_tx_pci', None): > self.tester.send_expect("./dpdk_nic_bind.py --bind=%s %s" \ > %(self.tester_port_driver, self.tester_tx_pci), "#") > + tx_interface = 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()