[dts] [PATCH V1] tests/pvp_multi_paths: update according to test plan

Wang, Yinan yinan.wang at intel.com
Sun Aug 4 14:23:10 CEST 2019


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

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: 2019年8月1日 3:50
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at 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 at 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



More information about the dts mailing list