From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B22E02BF5 for ; Thu, 20 Dec 2018 13:56:03 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Dec 2018 04:56:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,377,1539673200"; d="scan'208";a="303769112" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga006.fm.intel.com with ESMTP; 20 Dec 2018 04:56:01 -0800 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.227]) by IRSMSX104.ger.corp.intel.com ([169.254.5.61]) with mapi id 14.03.0415.000; Thu, 20 Dec 2018 12:56:00 +0000 From: "Ananyev, Konstantin" To: Akhil Goyal , "dev@dpdk.org" CC: Thomas Monjalon , "Awal, Mohammad Abdul" Thread-Topic: [dpdk-dev] [PATCH v4 06/10] ipsec: implement SA data-path API Thread-Index: AQHUk8ldrSWfZFSbPEuOMTQvJMD8EaWGOHSAgAFbV8A= Date: Thu, 20 Dec 2018 12:56:00 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258010D8BD33A@IRSMSX106.ger.corp.intel.com> References: <1544110714-4514-2-git-send-email-konstantin.ananyev@intel.com> <1544804589-10338-6-git-send-email-konstantin.ananyev@intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2IxNDM5MDYtNjg2ZC00NTlhLThkZmUtMWU3ZDRjOGRiZmQ3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZDJnNGhVRm5yRXlKOGwxaXJhbFNQeUEreDdBT1gyYWY1ZjFFQWRcL2owNEJpXC9DUTRZbGRhWEZYQTZWRjFYTSt6In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 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 v4 06/10] ipsec: implement SA data-path API 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: Thu, 20 Dec 2018 12:56:04 -0000 DQoNCj4gPg0KPiA+IGRpZmYgLS1naXQgYS9saWIvbGlicnRlX2lwc2VjL2NyeXB0by5oIGIvbGli L2xpYnJ0ZV9pcHNlYy9jcnlwdG8uaA0KPiA+IG5ldyBmaWxlIG1vZGUgMTAwNjQ0DQo+ID4gaW5k ZXggMDAwMDAwMDAwLi42MWY1YzE0MzMNCj4gPiAtLS0gL2Rldi9udWxsDQo+ID4gKysrIGIvbGli L2xpYnJ0ZV9pcHNlYy9jcnlwdG8uaA0KPiA+IEBAIC0wLDAgKzEsMTIzIEBADQo+ID4gKy8qIFNQ RFgtTGljZW5zZS1JZGVudGlmaWVyOiBCU0QtMy1DbGF1c2UNCj4gPiArICogQ29weXJpZ2h0KGMp IDIwMTggSW50ZWwgQ29ycG9yYXRpb24NCj4gPiArICovDQo+ID4gKw0KPiA+ICsjaWZuZGVmIF9D UllQVE9fSF8NCj4gPiArI2RlZmluZSBfQ1JZUFRPX0h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