test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/pvp_multi_paths: update according to test plan
@ 2019-07-31 19:49 lihong
  2019-08-04 12:23 ` Wang, Yinan
  2019-08-06  8:55 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: lihong @ 2019-07-31 19:49 UTC (permalink / raw)
  To: dts; +Cc: lihong

from DPDK19.08-rc1, virtio deprecated the path of virtio1.1 inorder
so delete the case of virtio1.1 inorder path from suite:
TestSuite_pvp_multi_paths_performance.py
TestSuite_pvp_multi_paths_vhost_single_core_performance.py
TestSuite_pvp_multi_paths_virtio_single_core_performance.py

Signed-off-by: lihong <lihongx.ma@intel.com>
---
 tests/TestSuite_pvp_multi_paths_performance.py          | 13 -------------
 ...ite_pvp_multi_paths_vhost_single_core_performance.py | 17 -----------------
 ...te_pvp_multi_paths_virtio_single_core_performance.py | 13 -------------
 3 files changed, 43 deletions(-)

diff --git a/tests/TestSuite_pvp_multi_paths_performance.py b/tests/TestSuite_pvp_multi_paths_performance.py
index b22889e..071b2c6 100644
--- a/tests/TestSuite_pvp_multi_paths_performance.py
+++ b/tests/TestSuite_pvp_multi_paths_performance.py
@@ -183,19 +183,6 @@ class TestPVPMultiPathPerformance(TestCase):
             self.close_all_testpmd()
         self.result_table_print()
 
-    def test_perf_pvp_virtio11_inorder(self):
-        """
-        performance for PVP virtio 1.1 inorder Path.
-        """
-        virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0",
-                            "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
-        for frame_size in self.frame_sizes:
-            self.start_vhost_testpmd()
-            self.start_virtio_testpmd(virtio_pmd_arg)
-            self.send_and_verify("virtio_1.1 inorder", frame_size)
-            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 2162a23..8d94491 100644
--- a/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
+++ b/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
@@ -186,23 +186,6 @@ class TestPVPMultiPathVhostPerformance(TestCase):
         self.close_all_session()
         self.result_table_print()
 
-    def test_perf_vhost_single_core_virtio11_inorder(self):
-        """
-        performance for Vhost PVP virtio 1.1 inorder 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.vhost_user = self.dut.new_session(suite="user")
-        self.vhost = self.dut.new_session(suite="vhost")
-        for frame_size in self.frame_sizes:
-            self.start_vhost_testpmd()
-            self.start_virtio_testpmd(virtio_pmd_arg)
-            self.send_and_verify("virtio_1.1 inorder", frame_size)
-            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 440a39a..32f5171 100644
--- a/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
+++ b/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
@@ -182,19 +182,6 @@ class TestPVPMultiPathVirtioPerformance(TestCase):
             self.close_all_testpmd()
         self.result_table_print()
 
-    def test_perf_virtio_single_core_virtio11_inorder(self):
-        """
-        performance for Vhost PVP virtio 1.1 inorder Path.
-        """
-        virtio_pmd_arg = {"version": "packed_vq=1,in_order=1,mrg_rxbuf=0",
-                            "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
-        for frame_size in self.frame_sizes:
-            self.start_vhost_testpmd()
-            self.start_virtio_testpmd(virtio_pmd_arg)
-            self.send_and_verify("virtio_1.1 inorder", frame_size)
-            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] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/pvp_multi_paths: update according to test plan
  2019-07-31 19:49 [dts] [PATCH V1] tests/pvp_multi_paths: update according to test plan lihong
@ 2019-08-04 12:23 ` Wang, Yinan
  2019-08-06  8:55 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Wang, Yinan @ 2019-08-04 12:23 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

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

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: 2019^[$BG/^[(B8^[$B7n^[(B1^[$BF|^[(B 3:50
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_multi_paths: update according to test plan
> 
> from DPDK19.08-rc1, virtio deprecated the path of virtio1.1 inorder so delete the
> case of virtio1.1 inorder path from suite:
> TestSuite_pvp_multi_paths_performance.py
> TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  tests/TestSuite_pvp_multi_paths_performance.py          | 13 -------------
>  ...ite_pvp_multi_paths_vhost_single_core_performance.py | 17
> -----------------  ...te_pvp_multi_paths_virtio_single_core_performance.py | 13
> -------------
>  3 files changed, 43 deletions(-)
> 
> diff --git a/tests/TestSuite_pvp_multi_paths_performance.py
> b/tests/TestSuite_pvp_multi_paths_performance.py
> index b22889e..071b2c6 100644
> --- a/tests/TestSuite_pvp_multi_paths_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_performance.py
> @@ -183,19 +183,6 @@ class TestPVPMultiPathPerformance(TestCase):
>              self.close_all_testpmd()
>          self.result_table_print()
> 
> -    def test_perf_pvp_virtio11_inorder(self):
> -        """
> -        performance for PVP virtio 1.1 inorder Path.
> -        """
> -        virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0",
> -                            "path": "--tx-offloads=0x0
> --enable-hw-vlan-strip"}
> -        for frame_size in self.frame_sizes:
> -            self.start_vhost_testpmd()
> -            self.start_virtio_testpmd(virtio_pmd_arg)
> -            self.send_and_verify("virtio_1.1 inorder", frame_size)
> -            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 2162a23..8d94491 100644
> --- a/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> @@ -186,23 +186,6 @@ class TestPVPMultiPathVhostPerformance(TestCase):
>          self.close_all_session()
>          self.result_table_print()
> 
> -    def test_perf_vhost_single_core_virtio11_inorder(self):
> -        """
> -        performance for Vhost PVP virtio 1.1 inorder 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.vhost_user = self.dut.new_session(suite="user")
> -        self.vhost = self.dut.new_session(suite="vhost")
> -        for frame_size in self.frame_sizes:
> -            self.start_vhost_testpmd()
> -            self.start_virtio_testpmd(virtio_pmd_arg)
> -            self.send_and_verify("virtio_1.1 inorder", frame_size)
> -            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 440a39a..32f5171 100644
> --- a/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> @@ -182,19 +182,6 @@ class TestPVPMultiPathVirtioPerformance(TestCase):
>              self.close_all_testpmd()
>          self.result_table_print()
> 
> -    def test_perf_virtio_single_core_virtio11_inorder(self):
> -        """
> -        performance for Vhost PVP virtio 1.1 inorder Path.
> -        """
> -        virtio_pmd_arg = {"version": "packed_vq=1,in_order=1,mrg_rxbuf=0",
> -                            "path": "--tx-offloads=0x0
> --enable-hw-vlan-strip"}
> -        for frame_size in self.frame_sizes:
> -            self.start_vhost_testpmd()
> -            self.start_virtio_testpmd(virtio_pmd_arg)
> -            self.send_and_verify("virtio_1.1 inorder", frame_size)
> -            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] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/pvp_multi_paths: update according to test plan
  2019-07-31 19:49 [dts] [PATCH V1] tests/pvp_multi_paths: update according to test plan lihong
  2019-08-04 12:23 ` Wang, Yinan
@ 2019-08-06  8:55 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-08-06  8:55 UTC (permalink / raw)
  To: Ma, LihongX, dts; +Cc: Ma, LihongX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Thursday, August 1, 2019 3:50 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_multi_paths: update according to test
> plan
> 
> from DPDK19.08-rc1, virtio deprecated the path of virtio1.1 inorder so delete
> the case of virtio1.1 inorder path from suite:
> TestSuite_pvp_multi_paths_performance.py
> TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  tests/TestSuite_pvp_multi_paths_performance.py          | 13 -------------
>  ...ite_pvp_multi_paths_vhost_single_core_performance.py | 17 -----------------
>   ...te_pvp_multi_paths_virtio_single_core_performance.py | 13 -------------
>  3 files changed, 43 deletions(-)
> 
> diff --git a/tests/TestSuite_pvp_multi_paths_performance.py
> b/tests/TestSuite_pvp_multi_paths_performance.py
> index b22889e..071b2c6 100644
> --- a/tests/TestSuite_pvp_multi_paths_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_performance.py
> @@ -183,19 +183,6 @@ class TestPVPMultiPathPerformance(TestCase):
>              self.close_all_testpmd()
>          self.result_table_print()
> 
> -    def test_perf_pvp_virtio11_inorder(self):
> -        """
> -        performance for PVP virtio 1.1 inorder Path.
> -        """
> -        virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0",
> -                            "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
> -        for frame_size in self.frame_sizes:
> -            self.start_vhost_testpmd()
> -            self.start_virtio_testpmd(virtio_pmd_arg)
> -            self.send_and_verify("virtio_1.1 inorder", frame_size)
> -            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 2162a23..8d94491 100644
> --- a/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
> @@ -186,23 +186,6 @@ class TestPVPMultiPathVhostPerformance(TestCase):
>          self.close_all_session()
>          self.result_table_print()
> 
> -    def test_perf_vhost_single_core_virtio11_inorder(self):
> -        """
> -        performance for Vhost PVP virtio 1.1 inorder 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.vhost_user = self.dut.new_session(suite="user")
> -        self.vhost = self.dut.new_session(suite="vhost")
> -        for frame_size in self.frame_sizes:
> -            self.start_vhost_testpmd()
> -            self.start_virtio_testpmd(virtio_pmd_arg)
> -            self.send_and_verify("virtio_1.1 inorder", frame_size)
> -            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 440a39a..32f5171 100644
> --- a/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> +++ b/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
> @@ -182,19 +182,6 @@ class TestPVPMultiPathVirtioPerformance(TestCase):
>              self.close_all_testpmd()
>          self.result_table_print()
> 
> -    def test_perf_virtio_single_core_virtio11_inorder(self):
> -        """
> -        performance for Vhost PVP virtio 1.1 inorder Path.
> -        """
> -        virtio_pmd_arg = {"version": "packed_vq=1,in_order=1,mrg_rxbuf=0",
> -                            "path": "--tx-offloads=0x0 --enable-hw-vlan-strip"}
> -        for frame_size in self.frame_sizes:
> -            self.start_vhost_testpmd()
> -            self.start_virtio_testpmd(virtio_pmd_arg)
> -            self.send_and_verify("virtio_1.1 inorder", frame_size)
> -            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] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-31 19:49 [dts] [PATCH V1] tests/pvp_multi_paths: update according to test plan lihong
2019-08-04 12:23 ` Wang, Yinan
2019-08-06  8:55 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox