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_multi_queues.py
Date: Wed, 6 May 2020 03:26:02 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21F9A@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20200429221921.28021-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:19 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_multi_queues.py
> 
> From: Wang Yinan <yinan.wang@intel.com>
> 
> Signed-off-by: Wang Yinan <yinan.wang@intel.com>
> ---
>  tests/TestSuite_loopback_multi_queues.py | 28 +++++++++++++++++++-----
>  1 file changed, 23 insertions(+), 5 deletions(-)
> 
> diff --git a/tests/TestSuite_loopback_multi_queues.py
> b/tests/TestSuite_loopback_multi_queues.py
> index 174ce01..029c1f0 100644
> --- a/tests/TestSuite_loopback_multi_queues.py
> +++ b/tests/TestSuite_loopback_multi_queues.py
> @@ -48,7 +48,7 @@ class TestLoopbackMultiQueues(TestCase):
>          """
>          Run at the start of each test suite.
>          """
> -        self.frame_sizes = [64, 128, 256, 512, 1024, 1518]
> +        self.frame_sizes = [64, 1518]
>          self.verify_queue = [1, 8]
>          self.dut_ports = self.dut.get_ports()
>          port_socket = self.dut.get_numa_id(self.dut_ports[0])
> @@ -283,7 +283,7 @@ class TestLoopbackMultiQueues(TestCase):
>          """
>          performance for Vhost PVP Normal Path.
>          """
> -        virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0",
> +        virtio_pmd_arg = {"version":
> "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1",
>                              "path": "--enable-hw-vlan-strip"}
>          for i in self.verify_queue:
>              self.nb_cores = i
> @@ -301,7 +301,7 @@ class TestLoopbackMultiQueues(TestCase):
>          """
>          performance for Vhost PVP Vector_RX Path
>          """
> -        virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0",
> +        virtio_pmd_arg = {"version":
> "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1",
>                              "path": ""}
>          for i in self.verify_queue:
>              self.nb_cores = i
> @@ -337,8 +337,26 @@ class TestLoopbackMultiQueues(TestCase):
>          """
>          performance for Vhost PVP Vector_RX Path
>          """
> -        virtio_pmd_arg = {"version": "packed_vq=1,mrg_rxbuf=0,in_order=1",
> -                            "path": ""}
> +        virtio_pmd_arg = {"version":
> "packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1",
> +                            "path": "--rx-offloads=0x10 --enable-hw-vlan-strip "}
> +        for i in self.verify_queue:
> +            self.nb_cores = i
> +            self.queue_number = i
> +            self.get_core_mask()
> +            self.start_vhost_testpmd()
> +            self.start_virtio_testpmd(virtio_pmd_arg)
> +            self.send_and_verify("virtio 1.1 inorder non-mergeable")
> +            self.close_all_testpmd()
> +
> +        self.result_table_print()
> +        self.verify_liner_for_multi_queue()
> +
> +    def test_loopback_with_virtio11_vectorized_path_multi_queue(self):
> +        """
> +        performance for Vhost PVP Vector_RX Path
> +        """
> +        virtio_pmd_arg = {"version":
> "packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1",
> +                            "path": "--enable-hw-vlan-strip "}
>          for i in self.verify_queue:
>              self.nb_cores = i
>              self.queue_number = i
> --
> 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:19 Yinan
2020-05-06  3:26 ` 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=8CE3E05A3F976642AAB0F4675D0AD20E0BC21F9A@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).