From patchwork Tue Mar 23 11:28:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng, Yuan" X-Patchwork-Id: 89660 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 3A3EBA034F; Tue, 23 Mar 2021 04:29:06 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DC91140E13; Tue, 23 Mar 2021 04:29:06 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id CF81F4067E for ; Tue, 23 Mar 2021 04:29:04 +0100 (CET) IronPort-SDR: 1ZkLTQOlDt+cNd8r1BynSTjtQtzH9zWybivrWH9YfaHNyh43l4cuKE3PbstjP1vANBDPoXJj86 pbSG8Sn0CORQ== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="177964929" X-IronPort-AV: E=Sophos;i="5.81,270,1610438400"; d="scan'208";a="177964929" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 20:29:03 -0700 IronPort-SDR: mcTRmfEXvy67KCMsVHSHwrvd/WXqLSLUZegvoSRJj+7UEHJGqHcGB+bHhSFC0/mE1iOr7RIS3v YiFSFd9lO1pw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,270,1610438400"; d="scan'208";a="441470786" Received: from pengyuan-dpdk.sh.intel.com ([10.67.117.236]) by fmsmga002.fm.intel.com with ESMTP; 22 Mar 2021 20:29:02 -0700 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Tue, 23 Mar 2021 11:28:07 +0000 Message-Id: <20210323112807.69272-1-yuan.peng@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH v1]test_plans/cvl_advanced_iavf_rss_gtpu: remove gtpogre from gtpu iavf rss 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" GTPoGRE will have a single test plan for RSS function. So remove the GTPoGRE from cvl_advanced_iavf_rss_gtpu_test_plan.rst Signed-off-by: Peng Yuan diff --git a/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst index 0cbecb56..909c7221 100644 --- a/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst +++ b/test_plans/cvl_advanced_iavf_rss_gtpu_test_plan.rst @@ -260,19 +260,6 @@ run the same test steps as below: Pattern: outer ipv4 + inner ipv4 -------------------------------- -GTPoGRE is imported in DPDK-21.02. -The Ptype is parsed same as GTP packet, so they match gtp RSS rule. -We just need to add the GTPoGRE packet to the packets check. -we need to add GTPoGRE packet to "basic hit pattern packets", -"hit pattern/defined input set" and "hit pattern/not defined input set". -the GTPoGRE packet format in this pattern is to add:: - - IP(proto=0x2F)/GRE(proto=0x0800)/ - -after Ether layer, before IP layer, just like:: - - sendp([Ether(dst="00:11:22:33:44:55")/IP(proto=0x2F)/GRE(proto=0x0800)/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") - Test case: MAC_IPV4_GTPU_EH_IPV4 with UL/DL >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> @@ -1974,14 +1961,6 @@ reconfig all the cases of "Pattern: outer ipv4 + inner ipv4" change the packet's inner L3 layer from IP to IPv6; change the ipv4 address to ipv6 address. -the GTPoGRE packet format in this pattern is to add:: - - IP(proto=0x2F)/GRE(proto=0x0800)/ - -after Ether layer, before IP layer, just like:: - - sendp([Ether(dst="00:11:22:33:44:55")/IP(proto=0x2F)/GRE(proto=0x0800)/IP()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") - Pattern: outer ipv6 + inner ipv4 -------------------------------- @@ -1993,14 +1972,6 @@ reconfig all the cases of "Pattern: outer ipv4 + inner ipv4" packets: change the packet's outer L3 layer from IP to IPv6; -the GTPoGRE packet format in this pattern is to add:: - - IPv6(nh=0x2F)/GRE(proto=0x86dd)/ - -after Ether layer, before IP layer, just like:: - - sendp([Ether(dst="00:11:22:33:44:55")/IPv6(nh=0x2F)/GRE(proto=0x86dd)/IPv6()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0") - Pattern: outer ipv6 + inner ipv6 -------------------------------- @@ -2015,13 +1986,6 @@ reconfig all the cases of "Pattern: outer ipv4 + inner ipv4" change the packet's inner L3 layer from IP to IPv6; change the ipv4 address to ipv6 address. -the GTPoGRE packet format in this pattern is to add:: - - IPv6(nh=0x2F)/GRE(proto=0x86dd)/ - -after Ether layer, before IP layer, just like:: - - sendp([Ether(dst="00:11:22:33:44:55")/IPv6(nh=0x2F)/GRE(proto=0x86dd)/IPv6()/UDP(dport=2152)/GTP_U_Header(gtp_type=255, teid=0x123456)/GTPPDUSessionContainer(type=0, P=1, QFI=0x34)/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0") Pattern: MAC_IPV4_GTPU ---------------------- @@ -2957,8 +2921,6 @@ all the test cases run the same test steps as below: 6. send the packet in step 4. check the received packet has different hash value with which in step 3(including the case has no hash value). -Note: the GTPoGRE packets need to be added to symmetric cases as a Ptype, just like toeplitz cases. - Pattern: symmetric outer ipv4 + inner ipv4 ------------------------------------------ @@ -3559,13 +3521,6 @@ toeplitz negative case inner L4 protocol hash case =========================== -Note: add two GTPoGRE packets in each subcase with:: - - IPv6(nh=0x2F)/GRE(proto=0x86dd)/ - -or:: - - IP(proto=0x2F)/GRE(proto=0x0800)/ Subcase: MAC_IPV4_GTPU_IPV4_UDP/TCP -----------------------------------