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 C551EA00C2; Thu, 23 Apr 2020 07:54:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B42591C29A; Thu, 23 Apr 2020 07:54:12 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C21DD1C293 for ; Thu, 23 Apr 2020 07:54:11 +0200 (CEST) IronPort-SDR: FIjOh3j2MU4zC7Fliyylu8Y7Ig+PWJ56G/WcVPAuoo+iTmhi2sqMWS4tWyGu5vHc5/CRb4rb09 PK+1bclTLKMQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 22:54:10 -0700 IronPort-SDR: 414GpQAoINJ/9jyO3XL67KN8cYB954bm5mp47MwExAD4tbFT6XyiYxws/XE4XTU0HMFgBBTENE XE7q8zxWIRnA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,305,1583222400"; d="scan'208";a="334856453" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 22 Apr 2020 22:54:10 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 22:54:05 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 22:54:05 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.22]) with mapi id 14.03.0439.000; Thu, 23 Apr 2020 13:54:02 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]vhost_dequeue_zero_copy: vhost_dequeue_zero_copy need run with igb_uio driver Thread-Index: AQHWGI9PdtpdDr3daE2W9pD41LXVXKiGNgsA Date: Thu, 23 Apr 2020 05:54:02 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0F220@SHSMSX101.ccr.corp.intel.com> References: <1587550284-401403-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1587550284-401403-1-git-send-email-qimaix.xiao@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 V1]vhost_dequeue_zero_copy: vhost_dequeue_zero_copy need run with igb_uio 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 Xiao Qimai > Sent: Wednesday, April 22, 2020 6:11 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1]vhost_dequeue_zero_copy: > vhost_dequeue_zero_copy need run with igb_uio driver >=20 > *. change nic driver to igb_uio for this test >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_vhost_dequeue_zero_copy.py | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/tests/TestSuite_vhost_dequeue_zero_copy.py > b/tests/TestSuite_vhost_dequeue_zero_copy.py > index e13e385..8fca47a 100644 > --- a/tests/TestSuite_vhost_dequeue_zero_copy.py > +++ b/tests/TestSuite_vhost_dequeue_zero_copy.py > @@ -60,6 +60,11 @@ class TestVhostDequeueZeroCopy(TestCase): > self.frame_sizes =3D [64, 128, 256, 512, 1024, 1518] > self.dut_ports =3D self.dut.get_ports() > self.verify(len(self.dut_ports) >=3D 1, "Insufficient ports for = testing") > + self.def_driver =3D > self.dut.ports_info[self.dut_ports[0]]["port"].get_nic_driver() > + if self.def_driver !=3D "igb_uio": > + self.dut.setup_modules_linux(self.target, 'igb_uio', '') > + self.dut.bind_interfaces_linux('igb_uio', nics_to_bind=3Dsel= f.dut_ports) > + self.driver_chg =3D True > self.ports_socket =3D self.dut.get_numa_id(self.dut_ports[0]) > self.dst_mac =3D self.dut.get_mac_address(self.dut_ports[0]) > self.tx_port =3D self.tester.get_local_port(self.dut_ports[0]) > @@ -504,5 +509,7 @@ class TestVhostDequeueZeroCopy(TestCase): > """ > Run after each test suite. > """ > + if getattr(self, "driver_chg", None): > + self.dut.bind_interfaces_linux(self.def_driver, > nics_to_bind=3Dself.dut_ports) > if getattr(self, 'vhost_user', None): > self.dut.close_session(self.vhost_user) > -- > 1.8.3.1