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 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 --- 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. -- 2.7.4