From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DDF79A09FF; Thu, 24 Dec 2020 08:07:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4F542CA32; Thu, 24 Dec 2020 08:06:10 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id A97B1C9FA for ; Thu, 24 Dec 2020 08:06:03 +0100 (CET) IronPort-SDR: WHUHv4byswsTQClUSbVRxERPsou7nRW/ozm+ybWH+SR1kzo/SkP6KC/mIu4TfWP4l2cvxpWLM2 /mKTnBea86XQ== X-IronPort-AV: E=McAfee;i="6000,8403,9844"; a="175342408" X-IronPort-AV: E=Sophos;i="5.78,444,1599548400"; d="scan'208";a="175342408" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2020 23:05:59 -0800 IronPort-SDR: kLcYFJNvb6PsspYcNl4nF4NoU2nwMRfR/47mfRjdNMl3I/NJNfbSosgPPWJx6KGVRhBiFKF7a0 ZZl97r3CQz+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,444,1599548400"; d="scan'208";a="374282111" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by orsmga008.jf.intel.com with ESMTP; 23 Dec 2020 23:05:57 -0800 From: Jeff Guo To: qi.z.zhang@intel.com, jingjing.wu@intel.com, qiming.yang@intel.com, haiyue.wang@intel.com Cc: dev@dpdk.org, jia.guo@intel.com, simei.su@intel.com Date: Thu, 24 Dec 2020 15:01:54 +0800 Message-Id: <20201224070157.76971-4-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201224070157.76971-1-jia.guo@intel.com> References: <20201216085854.7842-1-jia.guo@intel.com> <20201224070157.76971-1-jia.guo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [dpdk-dev v2 3/6] net/ice/base: add new UDP tunnel type for ecpri X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add new UDP tunnel type for ecpri. Signed-off-by: Jeff Guo --- drivers/net/ice/base/ice_flex_pipe.c | 1 + drivers/net/ice/base/ice_flex_type.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/ice/base/ice_flex_pipe.c b/drivers/net/ice/base/ice_flex_pipe.c index 987bea5623..31a4695343 100644 --- a/drivers/net/ice/base/ice_flex_pipe.c +++ b/drivers/net/ice/base/ice_flex_pipe.c @@ -13,6 +13,7 @@ static const struct ice_tunnel_type_scan tnls[] = { { TNL_VXLAN, "TNL_VXLAN_PF" }, { TNL_GENEVE, "TNL_GENEVE_PF" }, + { TNL_ECPRI, "TNL_UDP_ECPRI_PF" }, { TNL_LAST, "" } }; diff --git a/drivers/net/ice/base/ice_flex_type.h b/drivers/net/ice/base/ice_flex_type.h index 9213856ac1..f75a1005f3 100644 --- a/drivers/net/ice/base/ice_flex_type.h +++ b/drivers/net/ice/base/ice_flex_type.h @@ -535,6 +535,7 @@ struct ice_pkg_enum { enum ice_tunnel_type { TNL_VXLAN = 0, TNL_GENEVE, + TNL_ECPRI, TNL_LAST = 0xFF, TNL_ALL = 0xFF, }; -- 2.20.1