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 E2035A04F5; Fri, 19 Jun 2020 08:19:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A8D6AFEB; Fri, 19 Jun 2020 08:19:23 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 56BBFE07 for ; Fri, 19 Jun 2020 08:19:22 +0200 (CEST) IronPort-SDR: eo9vAInmbVtK9m93Z0/r7X3kFNdy4pXkg8nJBll2j8XPfz4RFGjSQIUZN64789iM2N9Fv0mMuL SaCbgH01i1ZA== X-IronPort-AV: E=McAfee;i="6000,8403,9656"; a="131257505" X-IronPort-AV: E=Sophos;i="5.75,253,1589266800"; d="scan'208";a="131257505" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jun 2020 23:19:21 -0700 IronPort-SDR: jonvZWPkHK5u3UI2enCDfRo0Hg28MRzqxeLARwbS+ydcvkPzizfHS+/G/m9Q/2576TcTKVaZlH eGBRQL58FzQA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,253,1589266800"; d="scan'208";a="310070518" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 18 Jun 2020 23:19:21 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 23:19:21 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 18 Jun 2020 23:19:20 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.85]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0439.000; Fri, 19 Jun 2020 14:19:17 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm Thread-Index: AQHWQJrT4sg8EIDlHUeaz62ILkRyKajfgdXQ Date: Fri, 19 Jun 2020 06:19:16 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC5FD4F@SHSMSX101.ccr.corp.intel.com> References: <1591953191-50408-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1591953191-50408-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="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get better performance in vm 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 On Behalf Of Xiao Qimai Sent: 2020=1B$BG/=1B(B6=1B$B7n=1B(B12=1B$BF|=1B(B 17:13 To: dts@dpdk.org Cc: Xiao, QimaiX Subject: [dts] [PATCH V1]vhost_dequeue_zero_copy: use igb_uio driver to get= better performance in vm Signed-off-by: Xiao Qimai --- tests/TestSuite_vhost_dequeue_zero_copy.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/TestSuite_vhost_dequeue_zero_copy.py b/tests/TestSuite_v= host_dequeue_zero_copy.py index 8beb1ba..0779edc 100644 --- a/tests/TestSuite_vhost_dequeue_zero_copy.py +++ b/tests/TestSuite_vhost_dequeue_zero_copy.py @@ -209,6 +209,11 @@ class TestVhostDequeueZeroCopy(TestCase): """ self.vm =3D VM(self.dut, 'vm0', 'vhost_sample') self.vm.load_config() + # use igb_uio driver in vm to get better performance + for i in self.vm.params: + if 'def_driver' in i: + i['def_driver'] =3D [{'driver_name': 'igb_uio'}] + break vm_params =3D {} vm_params['driver'] =3D 'vhost-user' vm_params['opt_path'] =3D '%s/vhost-net' % self.base_dir --=20 1.8.3.1