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 E17D9A3201 for ; Mon, 21 Oct 2019 05:00:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E5B22BAF; Mon, 21 Oct 2019 04:59:57 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 27A32F11 for ; Mon, 21 Oct 2019 04:59:51 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Oct 2019 19:59:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,322,1566889200"; d="scan'208";a="222326757" Received: from dpdk-xuting-main.sh.intel.com ([10.67.117.83]) by fmsmga004.fm.intel.com with ESMTP; 20 Oct 2019 19:59:31 -0700 From: Ting Xu To: dev@dpdk.org Cc: wenzhuo.lu@intel.com, qiming.yang@intel.com, john.mcnamara@intel.com, marko.kovacevic@intel.com, olivier.matz@6wind.com Date: Mon, 21 Oct 2019 10:00:01 +0000 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: <9f054f84c5ae5cb871d86ace17f7c3ca658fb890.1568968178.git.ting.xu@intel.com> Subject: [dpdk-dev] [PATCH v2 2/2] net/ice: add GTP tunnel type in tunneling parse 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 GTP tunnel type in ice pmd tunneling parameters parse to enable Tx checksum offload. Signed-off-by: Ting Xu --- doc/guides/rel_notes/release_19_11.rst | 1 + drivers/net/ice/ice_rxtx.c | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/guides/rel_notes/release_19_11.rst b/doc/guides/rel_notes/release_19_11.rst index 88086b795..d61604c10 100644 --- a/doc/guides/rel_notes/release_19_11.rst +++ b/doc/guides/rel_notes/release_19_11.rst @@ -104,6 +104,7 @@ New Features * Generic filter enhancement - Supported pipeline mode. - Supported new packet type like PPPoE for switch filter. + * Added support for GTP Tx checksum offload. * **Updated iavf PMD.** diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c index d4c801fc8..8d4820d3c 100644 --- a/drivers/net/ice/ice_rxtx.c +++ b/drivers/net/ice/ice_rxtx.c @@ -2163,6 +2163,7 @@ ice_parse_tunneling_params(uint64_t ol_flags, /* for non UDP / GRE tunneling, set to 00b */ break; case PKT_TX_TUNNEL_VXLAN: + case PKT_TX_TUNNEL_GTP: case PKT_TX_TUNNEL_GENEVE: *cd_tunneling |= ICE_TXD_CTX_UDP_TUNNELING; break; -- 2.17.1