From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 7CFB511DE for ; Mon, 10 Oct 2016 19:20:41 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP; 10 Oct 2016 10:20:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,325,1473145200"; d="scan'208";a="18565264" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga004.jf.intel.com with ESMTP; 10 Oct 2016 10:20:39 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.198]) by IRSMSX101.ger.corp.intel.com ([163.33.3.153]) with mapi id 14.03.0248.002; Mon, 10 Oct 2016 18:20:38 +0100 From: "Kulasek, TomaszX" To: "Wu, Jingjing" , "dev@dpdk.org" CC: "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH v4 4/6] i40e: add Tx preparation Thread-Index: AQHSGvlAZsqxcP3zVESiljkXgl2TfaChtzIAgABHqQA= Date: Mon, 10 Oct 2016 17:20:37 +0000 Message-ID: <3042915272161B4EB253DA4D77EB373A14F3558F@IRSMSX102.ger.corp.intel.com> References: <20160928111052.9968-1-tomaszx.kulasek@intel.com> <20160930090039.10164-1-tomaszx.kulasek@intel.com> <20160930090039.10164-5-tomaszx.kulasek@intel.com> <9BB6961774997848B5B42BEC655768F80E277E47@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <9BB6961774997848B5B42BEC655768F80E277E47@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 4/6] i40e: add Tx preparation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Oct 2016 17:20:41 -0000 Hi Jingjing, > -----Original Message----- > From: Wu, Jingjing > Sent: Monday, October 10, 2016 16:03 > To: Kulasek, TomaszX ; dev@dpdk.org > Cc: Ananyev, Konstantin ; Kulasek, TomaszX > > Subject: RE: [dpdk-dev] [PATCH v4 4/6] i40e: add Tx preparation >=20 > > #include "i40e_logs.h" > > #include "base/i40e_prototype.h" > > @@ -79,6 +81,17 @@ > > PKT_TX_TCP_SEG | \ > > PKT_TX_OUTER_IP_CKSUM) > > > > +#define I40E_TX_OFFLOAD_MASK ( \ > > + PKT_TX_IP_CKSUM | \ > > + PKT_TX_L4_MASK | \ > > + PKT_TX_OUTER_IP_CKSUM | \ > > + PKT_TX_TCP_SEG | \ > > + PKT_TX_QINQ_PKT | \ > > + PKT_TX_VLAN_PKT) > > + > More TX flags are added for tunneling as below. > /** > * Bits 45:48 used for the tunnel type. > * When doing Tx offload like TSO or checksum, the HW needs to configure > the > * tunnel type into the HW descriptors. > */ > #define PKT_TX_TUNNEL_VXLAN (0x1ULL << 45) > #define PKT_TX_TUNNEL_GRE (0x2ULL << 45) > #define PKT_TX_TUNNEL_IPIP (0x3ULL << 45) > #define PKT_TX_TUNNEL_GENEVE (0x4ULL << 45) > /* add new TX TUNNEL type here */ > #define PKT_TX_TUNNEL_MASK (0xFULL << 45) >=20 > Please check: > commit 63c0d74daaa9a807fbca8a3e363bbe41d6fb715f > Author: Jianfeng Tan > Date: Mon Aug 1 03:56:53 2016 +0000 >=20 > mbuf: add Tx side tunneling type >=20 >=20 > Thanks > Jingjing Thanks for spotting this, I will send updated v5. Tomasz