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 case due to virtio path selection logic change in TestSuite_loopback_multi_paths_port_restart.py
Date: Wed, 6 May 2020 03:14:53 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21DC7@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20200428185946.72742-1-yinan.wang@intel.com>
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan
> Sent: Wednesday, April 29, 2020 3:00 AM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>
> Subject: [dts] [PATCH v1] tests: update case due to virtio path selection logic
> change in TestSuite_loopback_multi_paths_port_restart.py
>
> From: Wang Yinan <yinan.wang@intel.com>
>
> Signed-off-by: Wang Yinan <yinan.wang@intel.com>
> ---
> ...Suite_loopback_multi_paths_port_restart.py | 23 +++++++++++++++----
> 1 file changed, 18 insertions(+), 5 deletions(-)
>
> diff --git a/tests/TestSuite_loopback_multi_paths_port_restart.py
> b/tests/TestSuite_loopback_multi_paths_port_restart.py
> index 5f1faad..8d23196 100644
> --- a/tests/TestSuite_loopback_multi_paths_port_restart.py
> +++ b/tests/TestSuite_loopback_multi_paths_port_restart.py
> @@ -49,7 +49,7 @@ class TestLoopbackPortRestart(TestCase):
> """
> Run at the start of each test suite.
> """
> - self.frame_sizes = [64, 128, 256, 512, 1024, 1518]
> + self.frame_sizes = [64, 1518]
> self.core_config = "1S/5C/1T"
> self.dut_ports = self.dut.get_ports()
> self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
> @@ -230,7 +230,20 @@ class TestLoopbackPortRestart(TestCase):
> """
> performance for [frame_sizes] and restart port on inorder mergeable
> path
> """
> - pmd_arg = {"version": "packed_vq=1,mrg_rxbuf=0,in_order=1",
> + pmd_arg = {"version":
> "packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1",
> + "path": "--rx-offloads=0x10 --enable-hw-vlan-strip"}
> + for frame_size in self.frame_sizes:
> + self.start_vhost_testpmd()
> + self.start_virtio_user_testpmd(pmd_arg)
> + self.send_and_verify("packed ring inorder non-mergeable",
> frame_size)
> + self.close_all_testpmd()
> + self.result_table_print()
> +
> + def test_lookback_test_with_packed_ring_vectorized_path(self):
> + """
> + performance for [frame_sizes] and restart port on inorder mergeable
> path
> + """
> + pmd_arg = {"version":
> "packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1",
> "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
> for frame_size in self.frame_sizes:
> self.start_vhost_testpmd()
> @@ -282,7 +295,7 @@ class TestLoopbackPortRestart(TestCase):
> """
> performance for [frame_sizes] and restart port on virtio normal path
> """
> - pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0",
> + pmd_arg = {"version":
> "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1",
> "path": "--tx-offloads=0x0 --enable-hw-vlan-strip "}
> for frame_size in self.frame_sizes:
> self.start_vhost_testpmd()
> @@ -295,8 +308,8 @@ class TestLoopbackPortRestart(TestCase):
> """
> performance for frame_sizes and restart port on virtio vector rx
> """
> - pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0 ",
> - "path": ""}
> + pmd_arg = {"version":
> "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1",
> + "path": "--tx-offloads=0x0 "}
> for frame_size in self.frame_sizes:
> self.start_vhost_testpmd()
> self.start_virtio_user_testpmd(pmd_arg)
> --
> 2.17.1
prev parent reply other threads:[~2020-05-06 3:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 18:59 Yinan
2020-05-06 3:14 ` 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=8CE3E05A3F976642AAB0F4675D0AD20E0BC21DC7@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).