From patchwork Fri Jan 15 02:42:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guo, Jia" X-Patchwork-Id: 86646 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 90360A0A02; Fri, 15 Jan 2021 03:49:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7974D140EC3; Fri, 15 Jan 2021 03:49:48 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 7366A140EC1 for ; Fri, 15 Jan 2021 03:49:47 +0100 (CET) IronPort-SDR: jA5qivxHMsQGAO/hHQ1qJl9aWGxPyfxGNUaZipOQEQ9oJU3WFhpC86Xm6BRKcs0UEYhpHYSUD8 KsS2ze2sQ3hQ== X-IronPort-AV: E=McAfee;i="6000,8403,9864"; a="158260662" X-IronPort-AV: E=Sophos;i="5.79,347,1602572400"; d="scan'208";a="158260662" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jan 2021 18:49:46 -0800 IronPort-SDR: FhLOCf5P8TRCo31vd8FYdS3nWLRBwoDWIia57Cr6yZW4r31DQmFfNO2S5DEZ96bEZgNV3Uuc2i PX8V6gGcx3Vw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,347,1602572400"; d="scan'208";a="425147686" Received: from npg-dpdk-cvl-jeffguo-01.sh.intel.com ([10.67.111.128]) by orsmga001.jf.intel.com with ESMTP; 14 Jan 2021 18:49:36 -0800 From: Jeff Guo To: qi.z.zhang@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com, andrew.rybchenko@oktetlabs.ru, bernard.iremonger@intel.com, wenzhuo.lu@intel.com, beilei.xing@intel.com Cc: jingjing.wu@intel.com, qiming.yang@intel.com, haiyue.wang@intel.com, dev@dpdk.org, jia.guo@intel.com, simei.su@intel.com, orika@nvidia.com, getelson@nvidia.com, maxime.coquelin@redhat.com, jerinj@marvell.com, ajit.khaparde@broadcom.com, bingz@nvidia.com, ray.kinsella@intel.com, dodji@redhat.com, david.marchand@redhat.com Date: Fri, 15 Jan 2021 10:42:39 +0800 Message-Id: <20210115024240.97254-2-jia.guo@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210115024240.97254-1-jia.guo@intel.com> References: <20201216085854.7842-1-jia.guo@intel.com> <20210115024240.97254-1-jia.guo@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [dpdk-dev v3 1/2] ethdev: add new tunnel type for ecpri X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 type of RTE_TUNNEL_TYPE_ECPRI into the enum of ethdev tunnel type. Signed-off-by: Jeff Guo Reviewed-by: Qi Zhang Reviewed-by: Ferruh Yigit --- doc/guides/rel_notes/release_21_02.rst | 3 ++- lib/librte_ethdev/rte_ethdev.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_21_02.rst b/doc/guides/rel_notes/release_21_02.rst index b1bb2d8679..e5168d1312 100644 --- a/doc/guides/rel_notes/release_21_02.rst +++ b/doc/guides/rel_notes/release_21_02.rst @@ -110,7 +110,8 @@ ABI Changes Also, make sure to start the actual text at the margin. ======================================================= -* No ABI change that would break compatibility with 20.11. +* ethdev: the structure ``rte_eth_tunnel_type`` has added one parameter + ``RTE_TUNNEL_TYPE_ECPRI`` for ecpri UDP port configuration. Known Issues diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index f5f8919186..2cbce958cf 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -1219,6 +1219,7 @@ enum rte_eth_tunnel_type { RTE_TUNNEL_TYPE_IP_IN_GRE, RTE_L2_TUNNEL_TYPE_E_TAG, RTE_TUNNEL_TYPE_VXLAN_GPE, + RTE_TUNNEL_TYPE_ECPRI, RTE_TUNNEL_TYPE_MAX, };