test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases
@ 2020-01-12 22:07 lihong
  2020-01-13  5:35 ` Ma, LihongX
  2020-01-13  7:54 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: lihong @ 2020-01-12 22:07 UTC (permalink / raw)
  To: dts; +Cc: lihong

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases
  2020-01-12 22:07 [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases lihong
@ 2020-01-13  5:35 ` Ma, LihongX
  2020-01-13  6:58   ` Wang, Yinan
  2020-01-13  7:54 ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Ma, LihongX @ 2020-01-13  5:35 UTC (permalink / raw)
  To: dts

Tested-by: ma,lihong<lihongx.ma@intel.com>

-----Original Message-----
From: Ma, LihongX 
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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases
  2020-01-13  5:35 ` Ma, LihongX
@ 2020-01-13  6:58   ` Wang, Yinan
  0 siblings, 0 replies; 4+ messages in thread
From: Wang, Yinan @ 2020-01-13  6:58 UTC (permalink / raw)
  To: Ma, LihongX, dts

Acked-by: Wang, Yinan <yinan.wang@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Ma, LihongX
> Sent: 2020年1月13日 13:36
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path
> cases
> 
> Tested-by: ma,lihong<lihongx.ma@intel.com>
> 
> -----Original Message-----
> From: Ma, LihongX
> 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases
  2020-01-12 22:07 [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases lihong
  2020-01-13  5:35 ` Ma, LihongX
@ 2020-01-13  7:54 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-01-13  7:54 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-13  7:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-12 22:07 [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases lihong
2020-01-13  5:35 ` Ma, LihongX
2020-01-13  6:58   ` Wang, Yinan
2020-01-13  7:54 ` Tu, Lijuan

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).