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 2F5EAA00BE; Fri, 12 Jun 2020 11:20:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1CD7B2A62; Fri, 12 Jun 2020 11:20:56 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id B80231D9E for ; Fri, 12 Jun 2020 11:20:54 +0200 (CEST) IronPort-SDR: 0X3bFJCCP+WrtGKoAxigGU9HgXRQpco4LSoFeJY0EgDCWuuK3B71PJumS8Yi82G6aZHIBnlVVB bSkup78syLWg== 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/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2020 02:20:53 -0700 IronPort-SDR: IqNp6yzgx4JMyaH/UySJP5vznsFM81jK5xfWkg6GmObzNSXabWmR0844Q9TgUqH6ALirSJoZNA ow5o4+WYvLjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,502,1583222400"; d="scan'208";a="380653266" Received: from unknown (HELO xqm-virtio_tester.localdomain) ([10.240.183.52]) by fmsmga001.fm.intel.com with ESMTP; 12 Jun 2020 02:20:52 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Fri, 12 Jun 2020 17:13:11 +0800 Message-Id: <1591953191-50408-1-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [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" 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_vhost_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 = 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'] = [{'driver_name': 'igb_uio'}] + break vm_params = {} vm_params['driver'] = 'vhost-user' vm_params['opt_path'] = '%s/vhost-net' % self.base_dir -- 1.8.3.1