From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2283EA0093; Fri, 23 Dec 2022 10:53:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C2B040A7F; Fri, 23 Dec 2022 10:53:37 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 543E440698 for ; Fri, 23 Dec 2022 10:53:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671789216; x=1703325216; h=from:to:cc:subject:date:message-id; bh=F8+JEcrEoVmxIT0IATNNpCI+uKVxmidhRqV900+DVS8=; b=n82BdSx8mFFWicykIzUOxdbr+JfshxgIHn5cVEJbmi7gYKuRNizRyrGq kqBsiYPU+XSxRoT5Mc5s5vTfk6c0mS5hqoAxTIhL3ZVHYturasicM2hNC 3/B78ayXgwNF9DJtfBC1XBbaQZfGc3lj5CLSog/irexf10+AwmPhce2LT qJojt9jVJEojPbmg0IHlPd/eJJOEEU7WxyiyIo0E/9GBSNWVsxy1UX1Q9 DU7iU2AtfZISn3fP3Betru+C1rZDAYaAb9B6UEZEBEWGgnKoDjhSwoxGG LfPzCPGIhsil/ZRIio50Ytd+muGmYAhbNxNGGjDwfYo5BbHb2I7Giwb2c w==; X-IronPort-AV: E=McAfee;i="6500,9779,10569"; a="320364539" X-IronPort-AV: E=Sophos;i="5.96,268,1665471600"; d="scan'208";a="320364539" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2022 01:53:35 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10569"; a="826256343" X-IronPort-AV: E=Sophos;i="5.96,268,1665471600"; d="scan'208";a="826256343" Received: from unknown (HELO localhost.localdomain) ([10.239.252.15]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2022 01:53:33 -0800 From: Dukai Yuan To: dts@dpdk.org Cc: Dukai Yuan Subject: [dts][PATCH V2] tests/loopback_multi_paths_port_restart: optimize the script to be consistent with test plan Date: Fri, 23 Dec 2022 17:48:54 +0800 Message-Id: <20221223094854.13276-1-dukaix.yuan@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 1.remove invalid description. 2.optimize the description of each case so that it can correspond to the testplan. Signed-off-by: Dukai Yuan --- ...Suite_loopback_multi_paths_port_restart.py | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/tests/TestSuite_loopback_multi_paths_port_restart.py b/tests/TestSuite_loopback_multi_paths_port_restart.py index c14070ce..f07634d6 100644 --- a/tests/TestSuite_loopback_multi_paths_port_restart.py +++ b/tests/TestSuite_loopback_multi_paths_port_restart.py @@ -2,12 +2,6 @@ # Copyright(c) 2010-2019 Intel Corporation # -""" -DPDK Test suite. -Benchmark Vhost loopback for 7 RX/TX PATHs. -Includes Mergeable, Normal, Vector_RX,Inorder_mergeable, -Inorder_no_mergeable, VIRTIO1.1_mergeable, VIRTIO1.1_normal Path. -""" import re import time @@ -204,7 +198,7 @@ class TestLoopbackPortRestart(TestCase): def test_loopback_test_with_packed_ring_mergeable_path(self): """ - performance for [frame_sizes] and restart port on virtio1.1 mergeable path + Test Case 1: loopback test with packed ring mergeable path """ pmd_arg = { "version": "packed_vq=1,in_order=0,mrg_rxbuf=1 ", @@ -219,7 +213,7 @@ class TestLoopbackPortRestart(TestCase): def test_loopback_test_with_packed_ring_nonmergeable_path(self): """ - performance for [frame_sizes] and restart port ob virtio1.1 normal path + Test Case 2: loopback test with packed ring non-mergeable path """ pmd_arg = { "version": "packed_vq=1,in_order=0,mrg_rxbuf=0 ", @@ -233,6 +227,9 @@ class TestLoopbackPortRestart(TestCase): self.result_table_print() def test_lookback_test_with_packed_ring_inorder_mergeable_path(self): + """ + Test Case 3: loopback test with packed ring inorder mergeable path + """ pmd_arg = { "version": "packed_vq=1,mrg_rxbuf=1,in_order=1", "path": "--tx-offloads=0x0 --enable-hw-vlan-strip", @@ -246,7 +243,7 @@ class TestLoopbackPortRestart(TestCase): def test_lookback_test_with_packed_ring_inorder_nonmergeable_path(self): """ - performance for [frame_sizes] and restart port on inorder mergeable path + Test Case 4: loopback test with packed ring inorder non-mergeable path """ pmd_arg = { "version": "packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1", @@ -261,7 +258,7 @@ class TestLoopbackPortRestart(TestCase): def test_lookback_test_with_packed_ring_vectorized_path(self): """ - performance for [frame_sizes] and restart port on inorder mergeable path + Test Case 10: loopback test with packed ring vectorized path """ pmd_arg = { "version": "packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1", @@ -276,7 +273,7 @@ class TestLoopbackPortRestart(TestCase): def test_lookback_test_with_split_ring_inorder_mergeable_path(self): """ - performance for [frame_sizes] and restart port on inorder normal path + Test Case 5: loopback test with split ring inorder mergeable path """ pmd_arg = { "version": "packed_vq=0,in_order=1,mrg_rxbuf=1", @@ -291,7 +288,7 @@ class TestLoopbackPortRestart(TestCase): def test_lookback_test_with_split_ring_inorder_nonmergeable_path(self): """ - performance for [frame_sizes] and restart port on virtio normal path + Test Case 6: loopback test with split ring inorder non-mergeable path """ pmd_arg = { "version": "packed_vq=0,in_order=1,mrg_rxbuf=0 ", @@ -306,7 +303,7 @@ class TestLoopbackPortRestart(TestCase): def test_lookback_test_with_split_ring_mergeable_path(self): """ - performance for [frame_sizes] and restart port on virtio normal path + Test Case 7: loopback test with split ring mergeable path """ pmd_arg = { "version": "packed_vq=0,in_order=0,mrg_rxbuf=1", @@ -321,11 +318,11 @@ class TestLoopbackPortRestart(TestCase): def test_lookback_test_with_split_ring_nonmergeable_path(self): """ - performance for [frame_sizes] and restart port on virtio normal path + Test Case 8: loopback test with split ring non-mergeable path """ pmd_arg = { "version": "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1", - "path": "--tx-offloads=0x0 --enable-hw-vlan-strip ", + "path": "--rx-offloads=0x0 --enable-hw-vlan-strip ", } for frame_size in self.frame_sizes: self.start_vhost_testpmd() @@ -336,7 +333,7 @@ class TestLoopbackPortRestart(TestCase): def test_loopback_test_with_split_ring_vector_rx_path(self): """ - performance for frame_sizes and restart port on virtio vector rx + Test Case 9: loopback test with split ring vector_rx path """ pmd_arg = { "version": "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1", -- 2.17.1