[dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases
Wang, Yinan
yinan.wang at intel.com
Mon Jan 13 07:58:23 CET 2020
Acked-by: Wang, Yinan <yinan.wang at intel.com>
> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Ma, LihongX
> Sent: 2020年1月13日 13:36
> To: dts at dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path
> cases
>
> Tested-by: ma,lihong<lihongx.ma at intel.com>
>
> -----Original Message-----
> From: Ma, LihongX
> Sent: Monday, January 13, 2020 6:08 AM
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at intel.com>
> Subject: [dts][PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases
>
> Signed-off-by: lihong <lihongx.ma at 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
More information about the dts
mailing list