test suite reviews and discussions
 help / color / 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 08/11]vhost_virtio_pmd_interrupt: update script	according to testplan's update
Date: Wed, 25 Mar 2020 08:22:00 +0000
Message-ID: <38736e23456f45f78eee6cca0315649e@intel.com> (raw)
In-Reply-To: <1585123857-130281-8-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^[$BG/^[(B3^[$B7n^[(B25^[$BF|^[(B 16:11
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts] [PATCH V1 08/11]vhost_virtio_pmd_interrupt: update script
> according to testplan's update
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao@intel.com>
> ---
>  tests/TestSuite_vhost_virtio_pmd_interrupt.py | 19 ++++++++++++++++---
>  1 file changed, 16 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> index 5e6437e..ca69932 100644
> --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
> @@ -117,7 +117,7 @@ class TestVhostVirtioPmdInterrupt(TestCase):
>          # get the core list depend on current nb_cores number
>          self.get_core_list()
>          testcmd = self.dut.target + "/app/testpmd "
> -        vdev = [r"'net_vhost0,iface=%s/vhost-net,queues=%d'" %
> (self.base_dir, self.queues)]
> +        vdev = ['net_vhost0,iface=%s/vhost-net,queues=%d' %
> + (self.base_dir, self.queues)]
>          eal_params = self.dut.create_eal_parameters(cores=self.core_list,
> ports=[self.pci_info], vdevs=vdev)
>          para = " -- -i --nb-cores=%d --rxq=%d --txq=%d --rss-ip" %
> (self.nb_cores, self.queues, self.queues)
>          command_line_client = testcmd + eal_params + para @@ -166,7
> +166,7 @@ class TestVhostVirtioPmdInterrupt(TestCase):
>              if list(self.vm.params[i].keys())[0] == 'cpu':
>                  self.vm.params[i]['cpu'][0]['number'] = self.queues
> 
> -    def start_vms(self, mode=0):
> +    def start_vms(self, mode=0, packed=False):
>          """
>          start qemus
>          """
> @@ -177,7 +177,7 @@ class TestVhostVirtioPmdInterrupt(TestCase):
>          vm_params['opt_path'] = '%s/vhost-net' % self.base_dir
>          vm_params['opt_mac'] = "00:11:22:33:44:55"
>          vm_params['opt_queue'] = self.queues
> -        opt_param = "mrg_rxbuf=on,csum=on,mq=on,vectors=%d" %
> (2*self.queues+2)
> +        opt_param = "mrg_rxbuf=on,csum=on,mq=on,vectors=%d" %
> + (2*self.queues+2) if not packed else
> + "mrg_rxbuf=on,csum=on,mq=on,vectors=%d,packed=on" % (2*self.queues+2)
>          if mode == 0:
>              vm_params['opt_settings'] = "disable-modern=true," +
> opt_param
>          elif mode == 1:
> @@ -311,6 +311,19 @@ class TestVhostVirtioPmdInterrupt(TestCase):
>          self.launch_l3fwd_power_in_vm()
>          self.send_and_verify()
> 
> +    def test_perf_packed_ring_virtio_interrupt_with_16queues(self):
> +        """
> +        wake up virtio_user 0.95 core with l3fwd-power sample
> +        """
> +        self.queues = 16
> +        self.nb_cores = 16
> +        self.start_testpmd_on_vhost()
> +        self.start_vms(mode=0, packed=True)
> +        self.prepare_vm_env()
> +        self.launch_l3fwd_power_in_vm()
> +        self.send_and_verify()
> +
> +
>      def tear_down(self):
>          """
>          Run after each test case.
> --
> 1.8.3.1


  reply index

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 [this message]
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
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 publically 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=38736e23456f45f78eee6cca0315649e@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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox