From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Ma, LihongX" <lihongx.ma@intel.com>
Subject: Re: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases
Date: Mon, 13 Jan 2020 07:54:43 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBA88FC@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1578866867-5745-1-git-send-email-lihongx.ma@intel.com>
applied
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Monday, January 13, 2020 6:08 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path
> cases
>
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
> tests/TestSuite_pvp_multi_paths_performance.py | 24
> +++++++++++++++++++
> ...vp_multi_paths_vhost_single_core_performance.py | 27
> ++++++++++++++++++++++ ...p_multi_paths_virtio_single_core_performance
> .py | 24 +++++++++++++++++++
> 3 files changed, 75 insertions(+)
>
> diff --git a/tests/TestSuite_pvp_multi_paths_performance.py
> b/tests/TestSuite_pvp_multi_paths_performance.py
> index fe6bd11..bb2df5b 100644
> --- a/tests/TestSuite_pvp_multi_paths_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_performance.py
> @@ -191,6 +191,30 @@ class TestPVPMultiPathPerformance(TestCase):
> self.close_all_testpmd()
> self.result_table_print()
>
> + def test_perf_pvp_virtio11_inorder_mergeable(self):
> + """
> + performance for PVP virtio 1.1 inorder Mergeable Path.
> + """
> + virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=1",
> + "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
> + self.start_vhost_testpmd()
> + self.start_virtio_testpmd(virtio_pmd_arg)
> + self.send_and_verify("virtio_1.1_inorder_mergeable on")
> + self.close_all_testpmd()
> + self.result_table_print()
> +
> + def test_perf_pvp_virtio11_inorder_normal(self):
> + """
> + performance for PVP virtio1.1 inorder Normal Path.
> + """
> + virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0",
> + "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
> + self.start_vhost_testpmd()
> + self.start_virtio_testpmd(virtio_pmd_arg)
> + self.send_and_verify("virtio_1.1_inorder_normal")
> + self.close_all_testpmd()
> + self.result_table_print()
> +
> def test_perf_pvp_inorder_mergeable(self):
> """
> performance for PVP In_order mergeable Path.
> diff --git
> a/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> b/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> index fbdb939..d81f13f 100644
> --- a/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> @@ -190,6 +190,33 @@ class TestPVPMultiPathVhostPerformance(TestCase):
> self.close_all_session()
> self.result_table_print()
>
> + def test_perf_vhost_single_core_virtio11_inorder_mergeable(self):
> + """
> + performance for Vhost PVP virtio 1.1 inorder Mergeable Path.
> + """
> + virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=1",
> + "path": "--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip"}
> + self.start_vhost_testpmd()
> + self.start_virtio_testpmd(virtio_pmd_arg)
> + self.send_and_verify("virtio_1.1_inorder_mergeable on")
> + self.close_all_testpmd()
> +
> + self.close_all_session()
> + self.result_table_print()
> +
> + def test_perf_vhost_single_core_virtio11_inorder_normal(self):
> + """
> + performance for Vhost PVP virtio1.1 inorder Normal Path.
> + """
> + virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0",
> + "path": "--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip"}
> + self.start_vhost_testpmd()
> + self.start_virtio_testpmd(virtio_pmd_arg)
> + self.send_and_verify("virtio_1.1 inorder normal")
> + self.close_all_testpmd()
> + self.close_all_session()
> + self.result_table_print()
> +
> def test_perf_vhost_single_core_inorder_mergeable(self):
> """
> performance for Vhost PVP In_order mergeable Path.
> diff --git
> a/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> b/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> index 8850b10..6d739d2 100644
> --- a/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> @@ -191,6 +191,30 @@ class TestPVPMultiPathVirtioPerformance(TestCase):
> self.close_all_testpmd()
> self.result_table_print()
>
> + def test_perf_virtio_single_core_virtio11_inorder_mergeable(self):
> + """
> + performance for Vhost PVP virtio 1.1 inorder Mergeable Path.
> + """
> + virtio_pmd_arg = {"version": "packed_vq=1,in_order=1,mrg_rxbuf=1",
> + "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
> + self.start_vhost_testpmd()
> + self.start_virtio_testpmd(virtio_pmd_arg)
> + self.send_and_verify("virtio_1.1_inorder_mergeable on")
> + self.close_all_testpmd()
> + self.result_table_print()
> +
> + def test_perf_virtio_single_core_virtio11_inorder_normal(self):
> + """
> + performance for Vhost PVP virtio1.1 inorder Normal Path.
> + """
> + virtio_pmd_arg = {"version": "packed_vq=1,in_order=1,mrg_rxbuf=0",
> + "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
> + self.start_vhost_testpmd()
> + self.start_virtio_testpmd(virtio_pmd_arg)
> + self.send_and_verify("virtio_1.1_inorder_normal")
> + self.close_all_testpmd()
> + self.result_table_print()
> +
> def test_perf_virtio_single_core_inorder_mergeable(self):
> """
> performance for Vhost PVP In_order mergeable Path.
> --
> 2.7.4
prev parent reply other threads:[~2020-01-13 7:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-12 22:07 lihong
2020-01-13 5:35 ` Ma, LihongX
2020-01-13 6:58 ` Wang, Yinan
2020-01-13 7:54 ` 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=8CE3E05A3F976642AAB0F4675D0AD20E0BBA88FC@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=lihongx.ma@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).