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 A65D71B016 for ; Tue, 16 Jan 2018 11:56:10 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2018 02:56:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,368,1511856000"; d="scan'208";a="193705437" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga005.jf.intel.com with ESMTP; 16 Jan 2018 02:56:08 -0800 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.248]) by irsmsx110.ger.corp.intel.com ([163.33.3.25]) with mapi id 14.03.0319.002; Tue, 16 Jan 2018 10:56:07 +0000 From: "Nicolau, Radu" To: Akhil Goyal , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" , "hemant.agrawal@nxp.com" Thread-Topic: [PATCH] examples/ipsec-secgw: update incremental checksum Thread-Index: AQHTjf7lf0EFTvX+9E+wwNpxMs3d5KN04kIAgAAe0oCAAQm+AIAASZDA Date: Tue, 16 Jan 2018 10:56:06 +0000 Message-ID: <763A2F19A5EFF34F8B7F1657C992EE297B30E775@IRSMSX104.ger.corp.intel.com> References: <20180115124212.7011-1-akhil.goyal@nxp.com> <87cc91ca-70c7-44a2-d5b2-e2263816c0e2@nxp.com> <763A2F19A5EFF34F8B7F1657C992EE297B30E218@IRSMSX104.ger.corp.intel.com> <412a8897-9a15-1d53-1d69-17f788f78620@nxp.com> In-Reply-To: <412a8897-9a15-1d53-1d69-17f788f78620@nxp.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2ZiMDZmMjQtMGMwMS00YzA3LThkZjYtOTVkZjk1NGQxMDIyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjRoekRJWWJ5QmR3TnhzSm1HR09nTmdLRWl3U1g1dHViZzB5Umd6QVBFTGc9In0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: update incremental checksum 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: , X-List-Received-Date: Tue, 16 Jan 2018 10:56:11 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQWtoaWwgR295YWwgW21h aWx0bzpha2hpbC5nb3lhbEBueHAuY29tXQ0KPiBTZW50OiBUdWVzZGF5LCBKYW51YXJ5IDE2LCAy MDE4IDY6MzAgQU0NCj4gVG86IE5pY29sYXUsIFJhZHUgPHJhZHUubmljb2xhdUBpbnRlbC5jb20+ OyBkZXZAZHBkay5vcmcNCj4gQ2M6IERlIExhcmEgR3VhcmNoLCBQYWJsbyA8cGFibG8uZGUubGFy YS5ndWFyY2hAaW50ZWwuY29tPjsNCj4gaGVtYW50LmFncmF3YWxAbnhwLmNvbQ0KPiBTdWJqZWN0 OiBSZTogW1BBVENIXSBleGFtcGxlcy9pcHNlYy1zZWNndzogdXBk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