test suite reviews and discussions
 help / color / mirror / Atom feed
From: Yinan Wang <yinan.wang@intel.com>
To: dts@dpdk.org
Cc: Yinan Wang <yinan.wang@intel.com>
Subject: [dts]  [PATCH v1] tests/TestSuite_vhost_user_live_migration.py
Date: Wed,  4 Nov 2020 10:45:33 -0500	[thread overview]
Message-ID: <20201104154533.65072-1-yinan.wang@intel.com> (raw)

Delete dequeue zero copy case and change test with vfio-pci to instead of igb_uio.

Signed-off-by: Yinan Wang <yinan.wang@intel.com>
---
 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


             reply	other threads:[~2020-11-04  6:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04 15:45 Yinan Wang [this message]
2020-11-11  3:31 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201104154533.65072-1-yinan.wang@intel.com \
    --to=yinan.wang@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).