From patchwork Wed Sep 14 09:42:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 116249 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAFD1A00C3; Wed, 14 Sep 2022 03:29:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BEEA040E50; Wed, 14 Sep 2022 03:29:15 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 05E8C40E50 for ; Wed, 14 Sep 2022 03:29:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663118955; x=1694654955; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=DlhWYmFT7e5W1pYOahbB7eoO+fVZd1bIQYjC56Jaz9w=; b=VUeMIQT680Qt6xnlWuqfXVGw8ow6nlFRzLh3z1+vGzW4YGxbP+sFADM7 RcTKQJfuMkoV8mhfy2MgY8OHfavuW6GUQkBWM6VPDtCv8ZUNGUiTXwkK2 xUsPGzScMAco8lpdp3HVMUrBSkRf+MAnTOKhEtP2XYT4hdF2GkeityEKM yoRUxr96vUqW0kkBgqiiPbMml5jMoFkJISJd55JiOpSU1WVdqKAwWzjx1 IkMidKLePDPTprFRT1ujfO1Ych1gvkmBXcdbK3/c88MT5SPu9EtVhx/QB Um8E9tXN2PoA/jAOvY/JNmQ4Q7Xw6LMGHiKVYH4FxUlWCCRAoMcdxz/w+ w==; X-IronPort-AV: E=McAfee;i="6500,9779,10469"; a="299118175" X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="299118175" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2022 18:29:14 -0700 X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="612341156" Received: from unknown (HELO localhost.localdomain) ([10.239.252.94]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2022 18:29:12 -0700 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V2 2/2] tests/ice_flow_priority: synchronize test plans and optimization scripts Date: Wed, 14 Sep 2022 09:42:50 +0000 Message-Id: <20220914094250.27976-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220914094250.27976-1-songx.jiale@intel.com> References: <20220914094250.27976-1-songx.jiale@intel.com> 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.synchronize test plans to remove ip fragment packets. 2.optimization scripts, remove the method of reload ice. According to dpdk commit cc46bab5968 ("net/ice: remove support for IP fragment default RSS"). Signed-off-by: Song Jiale Tested-by: Weiyuan Li Acked-by: Lijuan Tu --- tests/TestSuite_ice_flow_priority.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/TestSuite_ice_flow_priority.py b/tests/TestSuite_ice_flow_priority.py index 1179629f..8f569ba3 100644 --- a/tests/TestSuite_ice_flow_priority.py +++ b/tests/TestSuite_ice_flow_priority.py @@ -71,8 +71,6 @@ tv_mac_ipv6 = { "mismatched": [ 'Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)', 'Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/("X"*480)', - 'Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)', - 'Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/("X"*480)', ], }, "check_param": {"check_0": {"queue": [4, 5]}, "check_1": {"queue": 8}}, @@ -421,15 +419,8 @@ class ICEPFFlowPriorityTest(TestCase): """ Run before each test case. """ - self.reload_ice() self.launch_testpmd() - def reload_ice(self): - self.dut.bind_interfaces_linux("ice") - self.dut.send_expect("rmmod ice", "#", 120) - self.dut.send_expect("modprobe ice", "#", 120) - self.dut.bind_interfaces_linux("vfio-pci") - def launch_testpmd(self, eal_param=False): """ launch testpmd with the command @@ -439,7 +430,7 @@ class ICEPFFlowPriorityTest(TestCase): self.pmdout.start_testpmd( cores="1S/4C/1T", ports=[self.pf_pci], - eal_param="--log-level=ice,8", + eal_param="--log-level=ice,7", param="--rxq={0} --txq={0}".format(self.rxq), ) # start testpmd in pipeline mode