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 6E1A5A04C2; Wed, 12 Aug 2020 11:41:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 353B41C120; Wed, 12 Aug 2020 11:41:23 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id D99BF1C11A for ; Wed, 12 Aug 2020 11:41:21 +0200 (CEST) IronPort-SDR: qrBTysiIURnboFTxqK45JQALVS1AkuWhPr+dY0axQ32CCcJonbZjiwzZQoF1xe8j9+oXJgDTfG zOxGyMm43CAQ== X-IronPort-AV: E=McAfee;i="6000,8403,9710"; a="141538395" X-IronPort-AV: E=Sophos;i="5.76,303,1592895600"; d="scan'208";a="141538395" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2020 02:41:20 -0700 IronPort-SDR: ZtpflY1Ir/ASt0LCyg6AC5chsP9nMYi2iEtQBKMQdw3puWJM7HKYd70asojdL7VIBa7DgYK/kt AvrZNKbXjAAg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,303,1592895600"; d="scan'208";a="308674406" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 12 Aug 2020 02:41:19 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Wed, 12 Aug 2020 17:42:49 +0800 Message-Id: <20200812094249.29836-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci 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" change vm driver from igb_uio to vfio-pci Signed-off-by: Xie wei --- tests/TestSuite_vf_kernel.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_vf_kernel.py b/tests/TestSuite_vf_kernel.py index f2f28fe..23c994c 100755 --- a/tests/TestSuite_vf_kernel.py +++ b/tests/TestSuite_vf_kernel.py @@ -706,7 +706,7 @@ class TestVfKernel(TestCase): """ self.vm0_dut.send_expect("ifconfig %s up " % self.vm0_intf0, "#") self.vm0_dut.send_expect("ifconfig %s up " % self.vm0_intf1, "#") - self.vm0_dut.ports_info[1]['port'].bind_driver('igb_uio') + self.vm0_dut.ports_info[1]['port'].bind_driver('vfio-pci') # because of alt_session is false, host cmd need to execute before testpmd start vm0_vf0_mac = self.vm0_dut.ports_info[0]['port'].get_mac_addr() @@ -792,9 +792,9 @@ class TestVfKernel(TestCase): # Bind kernel VF0, VF1 to igb_uio in VM0, bind kernel VF4 to igb_uio in # VM1 - self.vm0_dut.ports_info[0]['port'].bind_driver('igb_uio') - self.vm0_dut.ports_info[1]['port'].bind_driver('igb_uio') - self.vm1_dut.ports_info[0]['port'].bind_driver('igb_uio') + self.vm0_dut.ports_info[0]['port'].bind_driver('vfio-pci') + self.vm0_dut.ports_info[1]['port'].bind_driver('vfio-pci') + self.vm1_dut.ports_info[0]['port'].bind_driver('vfio-pci') # because of alt_session is false, host cmd need to execute before testpmd start vm0_vf2_mac = self.vm0_dut.ports_info[2]['port'].get_mac_addr() -- 2.17.1