test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Wang, Yinan" <yinan.wang@intel.com>
To: "Xiao, QimaiX" <qimaix.xiao@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Xiao, QimaiX" <qimaix.xiao@intel.com>
Subject: Re: [dts] [PATCH V1 10/11]virtio_event_idx_interrupt: update script	according to testplan's update
Date: Wed, 25 Mar 2020 08:22:38 +0000	[thread overview]
Message-ID: <6e275df8342e4889a4890f39873a28ba@intel.com> (raw)
In-Reply-To: <1585123857-130281-10-git-send-email-qimaix.xiao@intel.com>

Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xiao Qimai
> Sent: 2020年3月25日 16:11
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts] [PATCH V1 10/11]virtio_event_idx_interrupt: update script
> according to testplan's update
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
> ---
>  tests/TestSuite_virtio_event_idx_interrupt.py | 34
> ++++++++++++++++++++++++---
>  1 file changed, 31 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_virtio_event_idx_interrupt.py
> b/tests/TestSuite_virtio_event_idx_interrupt.py
> index 08ad676..bdcca29 100644
> --- a/tests/TestSuite_virtio_event_idx_interrupt.py
> +++ b/tests/TestSuite_virtio_event_idx_interrupt.py
> @@ -100,7 +100,7 @@ class TestVirtioIdxInterrupt(TestCase):
>          self.vhost.send_expect(command_line, "testpmd> ", 30)
>          self.vhost.send_expect("start", "testpmd> ", 30)
> 
> -    def start_vms(self):
> +    def start_vms(self, packed=False):
>          """
>          start qemus
>          """
> @@ -113,6 +113,8 @@ class TestVirtioIdxInterrupt(TestCase):
>          if self.queues > 1:
>              vm_params['opt_queue'] = self.queues
>              opt_args = opt_args + ",mq=on,vectors=%d" % (2*self.queues +
> 2)
> +        if packed:
> +            opt_args = opt_args + ',packed=on'
>          vm_params['opt_settings'] = opt_args
>          self.vm.set_vm_device(**vm_params)
>          try:
> @@ -224,7 +226,7 @@ class TestVirtioIdxInterrupt(TestCase):
>          self.vm.stop()
>          self.vhost.send_expect("quit", "#", 20)
> 
> -    def test_perf_virito_idx_interrupt_with_virtio_pci_driver_reload(self):
> +    def test_perf_split_ring_virito_pci_driver_reload(self):
>          """
>          virtio-pci driver reload test
>          """
> @@ -237,7 +239,7 @@ class TestVirtioIdxInterrupt(TestCase):
>          self.verify(res is True, "Should increase the wait times of ixia")
>          self.stop_all_apps()
> 
> -    def test_perf_virtio_idx_interrupt_with_multi_queue(self):
> +    def
> test_perf_wake_up_split_ring_virtio_net_cores_with_event_idx_interrupt_mo
> de_16queue(self):
>          """
>          wake up virtio-net cores with event idx interrupt mode 16 queues
> test
>          """
> @@ -250,6 +252,32 @@ class TestVirtioIdxInterrupt(TestCase):
>          self.check_each_queue_has_packets_info_on_vhost()
>          self.stop_all_apps()
> 
> +    def test_perf_packed_ring_virito_pci_driver_reload(self):
> +        """
> +        virtio-pci driver reload test
> +        """
> +        self.queues = 1
> +        self.nb_cores = 1
> +        self.start_vhost_testpmd()
> +        self.start_vms(packed=True)
> +        self.config_virito_net_in_vm()
> +        res =
> self.check_packets_after_reload_virtio_device(reload_times=30)
> +        self.verify(res is True, "Should increase the wait times of ixia")
> +        self.stop_all_apps()
> +
> +    def
> test_perf_wake_up_packed_ring_virtio_net_cores_with_event_idx_interrupt_
> mode_16queue(self):
> +        """
> +        wake up virtio-net cores with event idx interrupt mode 16 queues
> test
> +        """
> +        self.queues = 16
> +        self.nb_cores = 16
> +        self.start_vhost_testpmd()
> +        self.start_vms(packed=True)
> +        self.config_virito_net_in_vm()
> +        self.start_to_send_packets(delay=15)
> +        self.check_each_queue_has_packets_info_on_vhost()
> +        self.stop_all_apps()
> +
>      def tear_down(self):
>          """
>          Run after each test case.
> --
> 1.8.3.1


  reply	other threads:[~2020-03-25  8:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25  8:10 [dts] [PATCH V1 01/11]loopback_multi_paths_port_restart: " Xiao Qimai
2020-03-25  8:10 ` [dts] [PATCH V1 02/11]loopback_multi_queues: " Xiao Qimai
2020-03-25  8:23   ` Wang, Yinan
2020-03-31  3:00   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 03/11]pvp_virtio_user_2M_hugepages: " Xiao Qimai
2020-03-25  8:23   ` Wang, Yinan
2020-03-31  3:00   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 04/11]pvp_virtio_user_4k_pages: " Xiao Qimai
2020-03-25  8:20   ` Wang, Yinan
2020-03-31  3:00   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 05/11]vhost_enqueue_interrupt: " Xiao Qimai
2020-03-25  8:22   ` Wang, Yinan
2020-03-31  3:00   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 06/11]vhost_event_idx_interrupt: " Xiao Qimai
2020-03-25  8:21   ` Wang, Yinan
2020-03-31  2:59   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 07/11]vhost_user_live_migration: " Xiao Qimai
2020-03-25  8:22   ` Wang, Yinan
2020-03-31  2:59   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 08/11]vhost_virtio_pmd_interrupt: " Xiao Qimai
2020-03-25  8:22   ` Wang, Yinan
2020-03-31  3:00   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 09/11]vhost_virtio_user_interrupt: " Xiao Qimai
2020-03-25  8:22   ` Wang, Yinan
2020-03-31  3:00   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 10/11]virtio_event_idx_interrupt: " Xiao Qimai
2020-03-25  8:22   ` Wang, Yinan [this message]
2020-03-31  2:59   ` Xiao, QimaiX
2020-03-25  8:10 ` [dts] [PATCH V1 11/11]virtio_pvp_regression: " Xiao Qimai
2020-03-25  8:22   ` Wang, Yinan
2020-03-31  2:59   ` Xiao, QimaiX
2020-03-25  8:22 ` [dts] [PATCH V1 01/11]loopback_multi_paths_port_restart: " Wang, Yinan
2020-03-31  3:00 ` Xiao, QimaiX
2020-03-31  3:06 ` 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=6e275df8342e4889a4890f39873a28ba@intel.com \
    --to=yinan.wang@intel.com \
    --cc=dts@dpdk.org \
    --cc=qimaix.xiao@intel.com \
    /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).