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 3EFEEA04F0; Mon, 13 Jan 2020 06:34:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 19F8A1D5E1; Mon, 13 Jan 2020 06:34:56 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id CCE361D58F for ; Mon, 13 Jan 2020 06:34:54 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2020 21:34:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,427,1571727600"; d="scan'208";a="422699990" Received: from dpdk-lihong-ub1604.sh.intel.com ([10.67.118.203]) by fmsmga005.fm.intel.com with ESMTP; 12 Jan 2020 21:34:53 -0800 From: lihong To: dts@dpdk.org Cc: lihong Date: Mon, 13 Jan 2020 06:07:47 +0800 Message-Id: <1578866867-5745-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [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" 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/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