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 AD3A5A04E7; Wed, 4 Nov 2020 07:56:54 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 82FCABE63; Wed, 4 Nov 2020 07:56:53 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E0824BE61 for ; Wed, 4 Nov 2020 07:56:50 +0100 (CET) IronPort-SDR: nNlU1jw72Z/4CFP1zIrckZMjDmPM3yIzg1V9W+vzVOPtkEltDpMbuP1duZRen0ltUv0X0z9yR2 ocBXyLePNe0g== X-IronPort-AV: E=McAfee;i="6000,8403,9794"; a="169314506" X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="169314506" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2020 22:56:48 -0800 IronPort-SDR: 9++AgRgBIZKokCzHfUWi740VgftlH04NDjQQA0qDy+QyIFbrVbukLBKWOtaibW0GihQ3e0w2CU Qm27JEE87ZNg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,450,1596524400"; d="scan'208";a="325500278" Received: from dpdk-yinan-ntb1.sh.intel.com ([10.67.119.39]) by orsmga006.jf.intel.com with ESMTP; 03 Nov 2020 22:56:47 -0800 From: Yinan Wang To: dts@dpdk.org Cc: Yinan Wang Date: Wed, 4 Nov 2020 10:45:33 -0500 Message-Id: <20201104154533.65072-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH v1] tests/TestSuite_vhost_user_live_migration.py 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" Delete dequeue zero copy case and change test with vfio-pci to instead of igb_uio. Signed-off-by: Yinan Wang --- tests/TestSuite_vhost_user_live_migration.py | 44 -------------------- 1 file changed, 44 deletions(-) diff --git a/tests/TestSuite_vhost_user_live_migration.py b/tests/TestSuite_vhost_user_live_migration.py index ed58901..351b9e6 100644 --- a/tests/TestSuite_vhost_user_live_migration.py +++ b/tests/TestSuite_vhost_user_live_migration.py @@ -397,7 +397,6 @@ class TestVhostUserLiveMigration(TestCase): self.launch_testpmd_as_vhost_on_both_dut() self.start_testpmd_with_fwd_mode_on_both_dut() self.setup_vm_env_on_both_dut() - # bind virtio-net back to virtio-pci self.bind_nic_driver_of_vm(self.vm_dut_host, driver="") self.start_tcpdump_on_vm(self.vm_dut_host) @@ -409,26 +408,7 @@ class TestVhostUserLiveMigration(TestCase): self.launch_testpmd_as_vhost_on_both_dut() self.start_testpmd_with_fwd_mode_on_both_dut() self.setup_vm_env_on_both_dut() - # bind virtio-net to igb_uio - self.bind_nic_driver_of_vm(self.vm_dut_host, driver="igb_uio") - self.start_testpmd_on_vm(self.vm_dut_host) - - self.send_and_verify(self.verify_dpdk) - - def test_migrate_with_split_ring_virtio_pmd_zero_copy(self): - self.queue_number = 1 - zero_copy = True - # start testpmd and qemu on dut - # after qemu start ok, then send 'start' command to testpmd - # if send 'start' command before start qemu, maybe qemu will start failed - self.launch_testpmd_as_vhost_on_both_dut(zero_copy) - self.setup_vm_env_on_both_dut() - self.start_testpmd_with_fwd_mode_on_both_dut() - - # bind virtio-net to igb_uio - self.bind_nic_driver_of_vm(self.vm_dut_host, driver="igb_uio") self.start_testpmd_on_vm(self.vm_dut_host) - self.send_and_verify(self.verify_dpdk) def test_migrate_with_packed_ring_virtio_pmd(self): @@ -436,27 +416,7 @@ class TestVhostUserLiveMigration(TestCase): self.launch_testpmd_as_vhost_on_both_dut() self.start_testpmd_with_fwd_mode_on_both_dut() self.setup_vm_env_on_both_dut(packed=True) - - # bind virtio-net to igb_uio - self.bind_nic_driver_of_vm(self.vm_dut_host, driver="igb_uio") - self.start_testpmd_on_vm(self.vm_dut_host) - - self.send_and_verify(self.verify_dpdk) - - def test_migrate_with_packed_ring_virtio_pmd_zero_copy(self): - self.queue_number = 1 - zero_copy = True - # start testpmd and qemu on dut - # after qemu start ok, then send 'start' command to testpmd - # if send 'start' command before start qemu, maybe qemu will start failed - self.launch_testpmd_as_vhost_on_both_dut(zero_copy) - self.setup_vm_env_on_both_dut(packed=True) - self.start_testpmd_with_fwd_mode_on_both_dut() - - # bind virtio-net to igb_uio - self.bind_nic_driver_of_vm(self.vm_dut_host, driver="igb_uio") self.start_testpmd_on_vm(self.vm_dut_host) - self.send_and_verify(self.verify_dpdk) def test_migrate_with_packed_ring_virtio_net(self): @@ -468,12 +428,10 @@ class TestVhostUserLiveMigration(TestCase): self.launch_testpmd_as_vhost_on_both_dut() self.start_testpmd_with_fwd_mode_on_both_dut() self.setup_vm_env_on_both_dut(packed=True) - # bind virtio-net back to virtio-pci self.bind_nic_driver_of_vm(self.vm_dut_host, driver="") # start screen and tcpdump on vm self.start_tcpdump_on_vm(self.vm_dut_host) - self.send_and_verify(self.verify_kernel) def test_adjust_packed_ring_virtio_net_queue_numbers_while_migreting_with_virtio_net(self): @@ -481,11 +439,9 @@ class TestVhostUserLiveMigration(TestCase): self.launch_testpmd_as_vhost_on_both_dut() self.start_testpmd_with_fwd_mode_on_both_dut() self.setup_vm_env_on_both_dut(packed=True) - # bind virtio-net back to virtio-pci self.bind_nic_driver_of_vm(self.vm_dut_host, driver="") self.start_tcpdump_on_vm(self.vm_dut_host) - self.send_and_verify(self.verify_kernel, True) def tear_down(self): -- 2.25.1