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 6ECE7A04F0; Mon, 13 Jan 2020 06:35:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5F3DA1D5E1; Mon, 13 Jan 2020 06:35:38 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C7BE51D58F for ; Mon, 13 Jan 2020 06:35:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2020 21:35:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,427,1571727600"; d="scan'208";a="224856059" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga006.jf.intel.com with ESMTP; 12 Jan 2020 21:35:35 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jan 2020 21:35:35 -0800 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 13 Jan 2020 13:35:33 +0800 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Mon, 13 Jan 2020 13:35:33 +0800 From: "Ma, LihongX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1] tests/pvp_multi_path: add virtio1.1 inorder path cases Thread-Index: AQHVydMyrvrx3cvb/UKOrsYFoBjRi6foEtMQ Date: Mon, 13 Jan 2020 05:35:33 +0000 Message-ID: <2e304c4ccaf54f23921df76614cf4588@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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] 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" Tested-by: ma,lihong -----Original Message----- From: Ma, LihongX=20 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 path c= ases 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(+) diff --git a/tests/TestSuite_pvp_multi_paths_performance.py b/tests/TestSui= te_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_rxb= uf=3D1", + "path": "--tx-offloads=3D0x0 --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 =3D {"version": "in_order=3D1,packed_vq=3D1,mrg_rxb= uf=3D0", + "path": "--tx-offloads=3D0x0 --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() =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_rxb= uf=3D1", + "path": "--tx-offloads=3D0x0 --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 =3D {"version": "in_order=3D1,packed_vq=3D1,mrg_rxb= uf=3D0", + "path": "--tx-offloads=3D0x0 --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() =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_rxb= uf=3D1", + "path": "--tx-offloads=3D0x0 --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 =3D {"version": "packed_vq=3D1,in_order=3D1,mrg_rxb= uf=3D0", + "path": "--tx-offloads=3D0x0 --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