test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Wang, Yinan" <yinan.wang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Wang, Yinan" <yinan.wang@intel.com>
Subject: Re: [dts] [PATCH v1] tests: update test commonds for vectorized cases	in TestSuite_loopback_virtio_user_server_mode.py
Date: Wed, 6 May 2020 03:25:58 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21F85@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20200429222053.28091-1-yinan.wang@intel.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan
> Sent: Thursday, April 30, 2020 6:21 AM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>
> Subject: [dts] [PATCH v1] tests: update test commonds for vectorized cases in
> TestSuite_loopback_virtio_user_server_mode.py
> 
> From: Wang Yinan <yinan.wang@intel.com>
> 
> Signed-off-by: Wang Yinan <yinan.wang@intel.com>
> ---
>  ...tSuite_loopback_virtio_user_server_mode.py | 41 +++++++++++++++++--
>  1 file changed, 38 insertions(+), 3 deletions(-)
> 
> diff --git a/tests/TestSuite_loopback_virtio_user_server_mode.py
> b/tests/TestSuite_loopback_virtio_user_server_mode.py
> index b3a73af..32ee1c3 100644
> --- a/tests/TestSuite_loopback_virtio_user_server_mode.py
> +++ b/tests/TestSuite_loopback_virtio_user_server_mode.py
> @@ -364,7 +364,42 @@ class TestLoopbackVirtioUserServerMode(TestCase):
>          self.queue_number = 2
>          self.nb_cores = 2
>          case_info = 'virtio1.1 non_mergeable path'
> -        mode = "packed_vq=1,in_order=1,mrg_rxbuf=0"
> +        mode = "packed_vq=1,in_order=1,mrg_rxbuf=0,vectorized=1"
> +        extern_params = '--rx-offloads=0x10 --enable-hw-vlan-strip --rss-ip'
> +        self.lanuch_vhost_testpmd_with_multi_queue()
> +        self.lanuch_virtio_user_testpmd_with_multi_queue(mode=mode,
> extern_params=extern_params)
> +        self.start_to_send_packets(self.vhost, self.virtio_user)
> +        self.calculate_avg_throughput(case_info, "before reconnet")
> +
> +        # reconnect from vhost
> +        self.logger.info('now reconnet from vhost')
> +        self.relanuch_vhost_testpmd_with_multi_queue()
> +        self.start_to_send_packets(self.virtio_user, self.vhost)
> +        self.calculate_avg_throughput(case_info, "reconnet from vhost")
> +
> +        # reconnet from virtio
> +        self.logger.info('now reconnet from virtio_user')
> +        self.relanuch_virtio_testpmd_with_multi_queue(mode=mode,
> extern_params=extern_params)
> +        self.start_to_send_packets(self.vhost, self.virtio_user)
> +        self.calculate_avg_throughput(case_info, "reconnet from
> + virtio_user")
> +
> +        # port restart
> +        self.logger.info('now vhost port restart')
> +        self.port_restart()
> +        self.calculate_avg_throughput(case_info, "after port restart")
> +
> +        self.result_table_print()
> +        self.check_packets_of_each_queue()
> +        self.close_all_testpmd()
> +
> +    def
> test_server_mode_reconnect_with_virtio11_inorder_vectorized_path(self):
> +        """
> +        reconnect test with virtio 1.1 inorder non_mergeable path and server
> mode
> +        """
> +        self.queue_number = 2
> +        self.nb_cores = 2
> +        case_info = 'virtio1.1 non_mergeable path'
> +        mode = "packed_vq=1,in_order=1,mrg_rxbuf=0,vectorized=1"
>          extern_params = '--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip'
>          self.lanuch_vhost_testpmd_with_multi_queue()
>          self.lanuch_virtio_user_testpmd_with_multi_queue(mode=mode,
> extern_params=extern_params) @@ -504,7 +539,7 @@ class
> TestLoopbackVirtioUserServerMode(TestCase):
>          self.queue_number = 2
>          self.nb_cores = 2
>          case_info = 'virtio1.0 non_mergeable path'
> -        mode = "in_order=0,mrg_rxbuf=0"
> +        mode = "in_order=0,mrg_rxbuf=0,vectorized=1"
>          extern_params = '--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip'
>          self.lanuch_vhost_testpmd_with_multi_queue()
>          self.lanuch_virtio_user_testpmd_with_multi_queue(mode=mode,
> extern_params=extern_params) @@ -539,7 +574,7 @@ class
> TestLoopbackVirtioUserServerMode(TestCase):
>          self.queue_number = 2
>          self.nb_cores = 2
>          case_info = 'virtio1.0 vector_rx path'
> -        mode = "in_order=0,mrg_rxbuf=0"
> +        mode = "in_order=0,mrg_rxbuf=0,vectorized=1"
>          self.lanuch_vhost_testpmd_with_multi_queue()
>          self.lanuch_virtio_user_testpmd_with_multi_queue(mode=mode)
>          self.start_to_send_packets(self.vhost, self.virtio_user)
> --
> 2.17.1


      reply	other threads:[~2020-05-06  3:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29 22:20 Yinan
2020-05-06  3:25 ` Tu, Lijuan [this message]

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=8CE3E05A3F976642AAB0F4675D0AD20E0BC21F85@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=yinan.wang@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).