From patchwork Mon Aug 15 12:50: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: 115100 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 6FE70A00C5; Mon, 15 Aug 2022 06:50:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 65C1B40143; Mon, 15 Aug 2022 06:50:45 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id EA5EF400EF for ; Mon, 15 Aug 2022 06:50:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660539044; x=1692075044; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=F4YaYFVWqyn/O8pCwo+W/0ma6vkrxXIt6KX4cIDjUfg=; b=klaVypNYCWzw0OjNGumHdNLnzZi9PRkWNT+6JUX1DCYyLit7WT7c5VzI Nhd2XU4rtcF2qviRfr4WT7/ppBLhkBTf/qFE1hvW3x+P7CYMJiaAufMB1 F2arYMo9TVaCUHcBRSzUOpAUZzWAQddKbPSf75FVx+dA5X5+iNMtNuwSX GpuPifvcBto6RT+WLChFzno3hDmPAO3OkxHW40TgvWXWc8Ecaf9WNeyJi 5JV6dqjRXM/TjrR7gFNfdtf/xvlgYjqvfclilqfGpDM77yfv+FPRQHwyj vM3NY7NSXDrHjujlOPO/l7CMQ8yELun/mY0QGgf0DzE4TcZKSevAYykX0 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="378178290" X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="378178290" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2022 21:50:42 -0700 X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="603078738" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2022 21:50:41 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 1/2] test_plans/ice_flow_priority: remove ip fragment packets Date: Mon, 15 Aug 2022 12:50:50 +0000 Message-Id: <20220815125051.1183292-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 the default rss not support ipfrag rss, so remove ip fragment packets. According to dpdk commit cc46bab5968 ("net/ice: remove support for IP fragment default RSS"). Signed-off-by: Jiale Song --- test_plans/ice_flow_priority_test_plan.rst | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test_plans/ice_flow_priority_test_plan.rst b/test_plans/ice_flow_priority_test_plan.rst index 14b7a6f8..d83aec5a 100644 --- a/test_plans/ice_flow_priority_test_plan.rst +++ b/test_plans/ice_flow_priority_test_plan.rst @@ -314,15 +314,11 @@ rules:: matched packets:: >>> sendp([Ether()/IPv6(src="", dst="")/("X"*480)], iface="") - >>> sendp([Ether()/IPv6(src="", dst="")/IPv6ExtHdrFragment()/("X"*480)], iface="") mismatched packets:: >>> sendp([Ether()/IPv6(src="", dst="")/("X"*480)], iface="") >>> sendp([Ether()/IPv6(src="", dst="")/("X"*480)], iface="") - >>> sendp([Ether()/IPv6(src="", dst="")/IPv6ExtHdrFragment()/("X"*480)], iface="") - >>> sendp([Ether()/IPv6(src="", dst="")/IPv6ExtHdrFragment()/("X"*480)], iface="") - Test Case 4: MAC_IPV6_TCP ------------------------- @@ -632,7 +628,7 @@ mismatched packets:: Test Case 20: check flow priority filter ---------------------------------------- -1. launch testpmd with --log-level="ice,8" +1. launch testpmd with --log-level="ice,7" 2. create rules with priority 0, check the rule is created to switch with a log "Succeeded to create (2) flow":: From patchwork Mon Aug 15 12:50:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 115101 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 A015FA034C; Mon, 15 Aug 2022 06:50:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B2CA40150; Mon, 15 Aug 2022 06:50:46 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 95444400EF for ; Mon, 15 Aug 2022 06:50:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660539044; x=1692075044; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GnhVrmQFweism4pH6HRadi/7SRi8p+uTZlTg1sUt6lc=; b=dw7dBaRDwcheUpW+wk39KMut4YLSIjqybxlpn90pYJuCsiv7wSKuPAOJ F1cHr/G3qymztFnqwNIKT6bPeIjo5GNCEllPQ33o7PFgfzcaqBZ0PvYtW Y1rCdFsJahMg/6KnM89YJ/cHLFInw6ww+FCbnbNrBQBlJ+WlBGaHtLEYa P5W7Oj+E3lMjlSQG6m6NspQbpnFDUUFrctgC1zr9IdUiaxXvUMtaXpzlr VKpVawOAYClvz8FpcapgbXtbGaFvZH2utRUsZL4mMN+PeB4aXpfmOULui L42GBwNAKbGgG4AErxiI1z63lcXCXaCmwlRUUFsaGlpOZz0yzn2tSW2cB g==; X-IronPort-AV: E=McAfee;i="6400,9594,10439"; a="378178292" X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="378178292" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2022 21:50:44 -0700 X-IronPort-AV: E=Sophos;i="5.93,237,1654585200"; d="scan'208";a="603078742" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2022 21:50:42 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 2/2] tests/ice_flow_priority: synchronize test plans and remove the method of reload ice Date: Mon, 15 Aug 2022 12:50:51 +0000 Message-Id: <20220815125051.1183292-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220815125051.1183292-1-songx.jiale@intel.com> References: <20220815125051.1183292-1-songx.jiale@intel.com> MIME-Version: 1.0 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: Jiale Song Tested-by: Weiyuan Li --- 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 fa4f67c3..3282164c 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=16 --txq=16", ) else: