From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 702315A1F for ; Wed, 21 Jan 2015 04:12:43 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 20 Jan 2015 19:12:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,439,1418112000"; d="scan'208";a="515189023" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by orsmga003.jf.intel.com with ESMTP; 20 Jan 2015 19:06:01 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.110.15) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 21 Jan 2015 11:12:36 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.64]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.231]) with mapi id 14.03.0195.001; Wed, 21 Jan 2015 11:12:35 +0800 From: "Liu, Jijiang" To: Olivier MATZ , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and csum forwarding engine Thread-Index: AQHQFSv0txinLaq/UEmWgzF3v0CZupyLMv5ggABvM4CAJx3DUIABUNAAgACeQOD//4WHgIAB0/cg//+qC4CAAY+2AIAEp+6QgAAfSgCAAWHEQIAAEm0AgAGBl0CAAd+OAIAB1D0AgARtd4CAABpDgIAAsRWAgAC/3gCAAE+EAIAADooAgAEaycA= Date: Wed, 21 Jan 2015 03:12:35 +0000 Message-ID: <1ED644BD7E0A5F4091CF203DAFB8E4CC01DB55DB@SHSMSX101.ccr.corp.intel.com> References: <1418173403-30202-1-git-send-email-jijiang.liu@intel.com> <2601191342CEEE43887BDE71AB977258213D34AE@irsmsx105.ger.corp.intel.com> <1ED644BD7E0A5F4091CF203DAFB8E4CC01DA7CC5@SHSMSX101.ccr.corp.intel.com> <2601191342CEEE43887BDE71AB977258213D3897@irsmsx105.ger.corp.intel.com> <54AFB13E.2080200@6wind.com> <1ED644BD7E0A5F4091CF203DAFB8E4CC01DA85A1@SHSMSX101.ccr.corp.intel.com> <54B3B35A.5030803@6wind.com> <1ED644BD7E0A5F4091CF203DAFB8E4CC01DA8E36@SHSMSX101.ccr.corp.intel.com> <54B4EB92.40209@6wind.com> <1ED644BD7E0A5F4091CF203DAFB8E4CC01DB0789@SHSMSX101.ccr.corp.intel.com> <2601191342CEEE43887BDE71AB977258213D4FCF@irsmsx105.ger.corp.intel.com> <54B94A18.5030700@6wind.com> <2601191342CEEE43887BDE71AB977258213DCD25@irsmsx105.ger.corp.intel.com> <54BD16F1.6050409@6wind.com> <2601191342CEEE43887BDE71AB977258213DDF46@irsmsx105.ger.corp.intel.com> <54BE4C70.7050406@6wind.com> <2601191342CEEE43887BDE71AB977258213DE5FB@irsmsx105.ger.corp.intel.com> <54BE9B56.7050108@6wind.com> In-Reply-To: <54BE9B56.7050108@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and csum forwarding engine 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: Wed, 21 Jan 2015 03:12:44 -0000 Hi, > -----Original Message----- > From: Olivier MATZ [mailto:olivier.matz@6wind.com] > Sent: Wednesday, January 21, 2015 2:16 AM > To: Ananyev, Konstantin; Liu, Jijiang > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and > csum forwarding engine >=20 >=20 >=20 > >>> Ok, and why it should be our problem? > >>> We have a lot of things done in a different manner then > >>> linux/freebsd kernel drivers, Why now it became a problem? > >> > >> If linux doesn't need an equivalent flag for doing the same thing, it > >> probably means we don't need it either. > > > > Probably yes .... Or probably not. > > Why do we need to guess what was the intention of guys who wrote that > part of linux driver? >=20 > Because the dpdk looks very similar to that part of linux driver. A guy from Intel who have already confirmed that the NVGRE is not support= ed yet in Linux kernel. =20 He said "So far as I know it is not yet supported and I have no information= on when it will be." > > BTW, the macro for GRE is here: > > find lib/librte_pmd_i40e/i40e -type f | xargs grep TUN | grep TXD > > lib/librte_pmd_i40e/i40e/i40e_type.h:#define > > I40E_TXD_CTX_UDP_TUNNELING (0x1ULL << > I40E_TXD_CTX_QW0_NATT_SHIFT) > > lib/librte_pmd_i40e/i40e/i40e_type.h:#define > > I40E_TXD_CTX_GRE_TUNNELING (0x2ULL << > I40E_TXD_CTX_QW0_NATT_SHIFT) > > > > Though it not used (yet?) by some reason. > > > >> >=20 > Regards, > Olivier