From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3D472A04F0; Mon, 13 Jan 2020 08:54:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 333C01D5F5; Mon, 13 Jan 2020 08:54:50 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9F74E1D606 for ; Mon, 13 Jan 2020 08:54:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2020 23:54:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,428,1571727600"; d="scan'208";a="224826293" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 12 Jan 2020 23:54:46 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jan 2020 23:54:46 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jan 2020 23:54:45 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.30]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.197]) with mapi id 14.03.0439.000; Mon, 13 Jan 2020 15:54:44 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases Thread-Index: AQHVydM+eOYgVGfFFEGflT/nYsFJVKfoOcPw Date: Mon, 13 Jan 2020 07:54:43 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBA88FC@SHSMSX101.ccr.corp.intel.com> References: <1578866867-5745-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1578866867-5745-1-git-send-email-lihongx.ma@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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 > Subject: [dts] [PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder pat= h > cases >=20 > Signed-off-by: lihong > --- > 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(+) >=20 > 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() >=20 > + def test_perf_pvp_virtio11_inorder_mergeable(self): > + """ > + performance for PVP virtio 1.1 inorder Mergeable Path. > + """ > + virtio_pmd_arg =3D {"version": "in_order=3D1,packed_vq=3D1,mrg_r= xbuf=3D1", > + "path": "--tx-offloads=3D0x0 --enable-hw-vla= n-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 =3D {"version": "in_order=3D1,packed_vq=3D1,mrg_r= xbuf=3D0", > + "path": "--tx-offloads=3D0x0 --enable-hw-vla= n-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() >=20 > + def test_perf_vhost_single_core_virtio11_inorder_mergeable(self): > + """ > + performance for Vhost PVP virtio 1.1 inorder Mergeable Path. > + """ > + virtio_pmd_arg =3D {"version": "in_order=3D1,packed_vq=3D1,mrg_r= xbuf=3D1", > + "path": "--tx-offloads=3D0x0 --enable-hw-vla= n-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 =3D {"version": "in_order=3D1,packed_vq=3D1,mrg_r= xbuf=3D0", > + "path": "--tx-offloads=3D0x0 --enable-hw-vla= n-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() >=20 > + def test_perf_virtio_single_core_virtio11_inorder_mergeable(self): > + """ > + performance for Vhost PVP virtio 1.1 inorder Mergeable Path. > + """ > + virtio_pmd_arg =3D {"version": "packed_vq=3D1,in_order=3D1,mrg_r= xbuf=3D1", > + "path": "--tx-offloads=3D0x0 --enable-hw-vla= n-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 =3D {"version": "packed_vq=3D1,in_order=3D1,mrg_r= xbuf=3D0", > + "path": "--tx-offloads=3D0x0 --enable-hw-vla= n-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