Tested-by: Xie,WeiX < weix.xie@intel.com> Regards, Xie Wei -----Original Message----- From: Xie, WeiX Sent: Wednesday, August 12, 2020 5:43 PM To: dts@dpdk.org Cc: Xie, WeiX Subject: [dts][PATCH V1] tests/vf_kernel:change vm default driver from igb_uio to vfio-pci 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