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 B5976A0547; Fri, 29 Oct 2021 10:16:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A834040395; Fri, 29 Oct 2021 10:16:52 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 5006640395 for ; Fri, 29 Oct 2021 10:16:50 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="230478896" X-IronPort-AV: E=Sophos;i="5.87,192,1631602800"; d="scan'208";a="230478896" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 01:16:50 -0700 X-IronPort-AV: E=Sophos;i="5.87,192,1631602800"; d="scan'208";a="636627956" Received: from unknown (HELO localhost.localdomain) ([10.240.183.102]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2021 01:16:49 -0700 From: Qin Sun To: dts@dpdk.org Cc: Qin Sun Date: Fri, 29 Oct 2021 16:46:14 +0000 Message-Id: <20211029164615.32677-2-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211029164615.32677-1-qinx.sun@intel.com> References: <20211029164615.32677-1-qinx.sun@intel.com> Subject: [dts] [PATCH V1 1/2] tests/cvl_advanced_iavf_rss: modify next header as 17 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" replace the 'proto' with 'nh', 'proto' used for ipv4, 'nh' used for ipv6. in pattern 'eth/ipv4/gre/ipv6/udp', the next header of ipv6 is 'udp',so the 'nh' should be set as 17 Signed-off-by: Qin Sun --- tests/TestSuite_cvl_advanced_iavf_rss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss.py diff --git a/tests/TestSuite_cvl_advanced_iavf_rss.py b/tests/TestSuite_cvl_advanced_iavf_rss.py old mode 100644 new mode 100755 index 25dd9976..1848baa2 --- a/tests/TestSuite_cvl_advanced_iavf_rss.py +++ b/tests/TestSuite_cvl_advanced_iavf_rss.py @@ -5072,9 +5072,9 @@ mac_ipv4_gre_ipv4_udp_symmetric = eval(str(mac_ipv4_gre_ipv4_tcp_symmetric).repl mac_ipv6_gre_ipv4_udp_symmetric = eval(str(mac_ipv6_gre_ipv4_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('proto=6','proto=17')) -mac_ipv4_gre_ipv6_udp_symmetric = eval(str(mac_ipv4_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('proto=6','proto=17')) +mac_ipv4_gre_ipv6_udp_symmetric = eval(str(mac_ipv4_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('nh=6','nh=17')) -mac_ipv6_gre_ipv6_udp_symmetric = eval(str(mac_ipv6_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('proto=6','proto=17')) +mac_ipv6_gre_ipv6_udp_symmetric = eval(str(mac_ipv6_gre_ipv6_tcp_symmetric).replace('tcp','udp').replace('TCP','UDP').replace('nh=6','nh=17')) #gre tunnel end class AdvancedIavfRSSTest(TestCase): -- 2.17.1