From patchwork Thu Aug 19 11:35:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 97118 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 0E1F8A0C47; Thu, 19 Aug 2021 13:35:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0666F4120C; Thu, 19 Aug 2021 13:35:46 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 632CF40141 for ; Thu, 19 Aug 2021 13:35:44 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10080"; a="302119891" X-IronPort-AV: E=Sophos;i="5.84,334,1620716400"; d="scan'208";a="302119891" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 04:35:44 -0700 X-IronPort-AV: E=Sophos;i="5.84,334,1620716400"; d="scan'208";a="522398532" Received: from unknown (HELO localhost.localdomain) ([10.240.183.163]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 19 Aug 2021 04:35:42 -0700 From: Yu Jiang To: dts@dpdk.org Cc: Yu Jiang Date: Thu, 19 Aug 2021 19:35:20 +0800 Message-Id: <1629372921-21024-2-git-send-email-yux.jiang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1629372921-21024-1-git-send-email-yux.jiang@intel.com> References: <1629372921-21024-1-git-send-email-yux.jiang@intel.com> Subject: [dts] [PATCH V1 1/2] test_plans/fortville_rss_input_test_plan: remove global configurations of hash filter case 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 Sender: "dts" According to dpdk commit 81db321da ethdev: remove legacy HASH filter type support, remove case test_global_hash_configuration Signed-off-by: Yu Jiang --- test_plans/fortville_rss_input_test_plan.rst | 29 ---------------------------- 1 file changed, 29 deletions(-) diff --git a/test_plans/fortville_rss_input_test_plan.rst b/test_plans/fortville_rss_input_test_plan.rst index 1f249ac..a73b1b5 100644 --- a/test_plans/fortville_rss_input_test_plan.rst +++ b/test_plans/fortville_rss_input_test_plan.rst @@ -58,35 +58,6 @@ Prerequisites testpmd>set verbose 1 testpmd>start -Test Case: test global configurations of hash filter -==================================================== - -create a rule that set global configurations of hash filters is toeplitz:: - - testpmd> flow create 0 ingress pattern end actions rss types end queues end func simple_xor / end - testpmd> flow list 0 - -verify the Rule is RSS. - -get the status of hash configuration:: - - testpmd> get_hash_global_config 0 - -verify Hash function is simple_xor. - -delete the rule:: - - testpmd> flow flush 0 - testpmd> flow list 0 - -verify the rules have been destroyed. - -get the status of hash configuration:: - - testpmd> get_hash_global_config 0 - -verify Hash function is toeplitz. - Test Case: test symmetric hash configuration ============================================ From patchwork Thu Aug 19 11:35:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 97119 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 41479A0C47; Thu, 19 Aug 2021 13:35:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A6BD4067E; Thu, 19 Aug 2021 13:35:47 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id E4D9540141 for ; Thu, 19 Aug 2021 13:35:45 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10080"; a="302119897" X-IronPort-AV: E=Sophos;i="5.84,334,1620716400"; d="scan'208";a="302119897" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 04:35:45 -0700 X-IronPort-AV: E=Sophos;i="5.84,334,1620716400"; d="scan'208";a="522398542" Received: from unknown (HELO localhost.localdomain) ([10.240.183.163]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 19 Aug 2021 04:35:44 -0700 From: Yu Jiang To: dts@dpdk.org Cc: Yu Jiang Date: Thu, 19 Aug 2021 19:35:21 +0800 Message-Id: <1629372921-21024-3-git-send-email-yux.jiang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1629372921-21024-1-git-send-email-yux.jiang@intel.com> References: <1629372921-21024-1-git-send-email-yux.jiang@intel.com> Subject: [dts] [PATCH V1 2/2] tests/fortville_rss_input: remove global configurations of hash filter case 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 Sender: "dts" According to dpdk commit 81db321da ethdev: remove legacy HASH filter type support, remove test case test_global_hash_configuration Signed-off-by: Yu Jiang Tested-by: Yu Jiang Tested-by: Yu Jiang --- tests/TestSuite_fortville_rss_input.py | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/tests/TestSuite_fortville_rss_input.py b/tests/TestSuite_fortville_rss_input.py index f542b66..4ba413f 100644 --- a/tests/TestSuite_fortville_rss_input.py +++ b/tests/TestSuite_fortville_rss_input.py @@ -305,38 +305,6 @@ class TestFortvilleRssInput(TestCase): res = self.pmdout.wait_link_status_up("all") self.verify(res is True, "link is down") - def test_global_hash_configuration(self): - """ - Test with flow type ipv4-tcp. - """ - flag = 1 - - self.start_testpmd() - - # set hash input set by testpmd on dut, enable default input set - self.dut.send_expect( - "flow create 0 ingress pattern end actions rss types end queues end func simple_xor / end", "testpmd> ") - - out = self.dut.send_expect("get_hash_global_config 0", "testpmd>") - result_scanner = r"Hash function is Simple XOR" - scanner = re.compile(result_scanner, re.DOTALL) - m = scanner.search(out) - if m: - self.verify(1, "Pass") - else: - self.verify(0, "Fail") - - self.dut.send_expect( - "flow destroy 0 rule 0", "testpmd>") - out = self.dut.send_expect("get_hash_global_config 0", "testpmd>") - rexp = r"Hash function is Toeplitz" - scanner = re.compile(rexp, re.DOTALL) - m = scanner.search(out) - if m: - self.verify(1, "Pass") - else: - self.verify(0, "Fail") - def test_symmetric_hash_configuration(self): """ Test with flow type ipv4-tcp.