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 8BA18A0C40; Thu, 5 Aug 2021 11:53:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CD0D40143; Thu, 5 Aug 2021 11:53:05 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 3085240040 for ; Thu, 5 Aug 2021 11:53:03 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10066"; a="299704277" X-IronPort-AV: E=Sophos;i="5.84,296,1620716400"; d="scan'208";a="299704277" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2021 02:53:01 -0700 X-IronPort-AV: E=Sophos;i="5.84,296,1620716400"; d="scan'208";a="512626232" Received: from unknown (HELO localhost.localdomain) ([10.240.183.103]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2021 02:53:00 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Date: Fri, 6 Aug 2021 02:23:14 +0800 Message-Id: <20210805182314.18713-1-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V2] tests/cvl_advanced_rss_pppoe:remove destroy rule test steps 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" *.dpdk cannot guarantee the operation after destroy the rule, so remove destroy rule test steps. Signed-off-by: Zhimin Huang --- v2:fix typo issue .../cvl_advanced_rss_pppoe_test_plan.rst | 16 --------------- tests/TestSuite_cvl_advanced_rss_pppoe.py | 20 ------------------- 2 files changed, 36 deletions(-) diff --git a/test_plans/cvl_advanced_rss_pppoe_test_plan.rst b/test_plans/cvl_advanced_rss_pppoe_test_plan.rst index a8cb7171..e209e0d4 100644 --- a/test_plans/cvl_advanced_rss_pppoe_test_plan.rst +++ b/test_plans/cvl_advanced_rss_pppoe_test_plan.rst @@ -4278,14 +4278,6 @@ Test case: MAC_PPPOE_IPV4_UDP_PAY_symmetric check the hash values of the two packets are different. -6. destroy the rule:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rule not exists in the list. - repeat step 4, swap the values of [Source IP] and [Dest IP], [Source Port] and [Dest Port], - check the hash value is changed. Test case: MAC_PPPOE_IPV4_TCP_PAY_symmetric =========================================== @@ -4540,14 +4532,6 @@ Test case: MAC_PPPOE_IPV6_UDP_PAY_symmetric check the hash values of the two packets are different. -6. destroy the rule:: - - testpmd> flow destroy 0 rule 0 - testpmd> flow list 0 - - check the rule not exists in the list. - repeat step 3, swap the values of [Source IP] and [Dest IP], [Source Port] and [Dest Port], - check the hash values are changed. Test case: MAC_PPPOE_IPV6_TCP_PAY_symmetric =========================================== diff --git a/tests/TestSuite_cvl_advanced_rss_pppoe.py b/tests/TestSuite_cvl_advanced_rss_pppoe.py index 2d3e226e..3952bbf0 100644 --- a/tests/TestSuite_cvl_advanced_rss_pppoe.py +++ b/tests/TestSuite_cvl_advanced_rss_pppoe.py @@ -3780,16 +3780,6 @@ mac_pppoe_ipv6_udp_pay_symmetric = { 'action': {'check_hash_different': 'mac_ipv6_udp_pay_mismatch'}, }, ], - 'post-test': [ - { - 'send_packet': mac_pppoe_ipv6_udp_pay_symmetric_packets['match']['mac_pppoe_ipv6_udp_pay'][0], - 'action': {'save_hash': 'mac_pppoe_ipv6_udp_pay_match_post'}, - }, - { - 'send_packet': mac_pppoe_ipv6_udp_pay_symmetric_packets['match']['mac_pppoe_ipv6_udp_pay'][1:], - 'action': {'check_hash_different': 'mac_pppoe_ipv6_udp_pay_match_post'}, - }, - ], } mac_pppoe_ipv6_pay_symmetric_packets = { @@ -4063,16 +4053,6 @@ mac_pppoe_ipv4_udp_pay_symmetric = { 'action': {'check_hash_different': 'mac_ipv4_udp_pay_mismatch'}, }, ], - 'post-test': [ - { - 'send_packet': mac_pppoe_ipv4_udp_pay_symmetric_packets['match']['mac_pppoe_ipv4_udp_pay'][0], - 'action': {'save_hash': 'mac_ipv4_udp_pay_match_post'}, - }, - { - 'send_packet': mac_pppoe_ipv4_udp_pay_symmetric_packets['match']['mac_pppoe_ipv4_udp_pay'][1:], - 'action': {'check_hash_different': 'mac_ipv4_udp_pay_match_post'}, - }, - ], } mac_pppoe_ipv4_tcp_pay_symmetric_packets = { -- 2.17.1