From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 8AEC01B3FB for ; Thu, 20 Dec 2018 11:17:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Dec 2018 02:17:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,376,1539673200"; d="scan'208";a="119817943" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga002.jf.intel.com with ESMTP; 20 Dec 2018 02:17:03 -0800 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.227]) by IRSMSX154.ger.corp.intel.com ([169.254.12.217]) with mapi id 14.03.0415.000; Thu, 20 Dec 2018 10:17:02 +0000 From: "Ananyev, Konstantin" To: Akhil Goyal , "dev@dpdk.org" CC: Thomas Monjalon , "Awal, Mohammad Abdul" Thread-Topic: [dpdk-dev] [PATCH v4 05/10] ipsec: add SA data-path API Thread-Index: AQHUk8lcTNHqu4oH60G/BQIiW3paVaWGDxQAgAFgESA= Date: Thu, 20 Dec 2018 10:17:02 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258010D8BD174@IRSMSX106.ger.corp.intel.com> References: <1544110714-4514-2-git-send-email-konstantin.ananyev@intel.com> <1544804589-10338-5-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTg3ZGI1MzAtOTc0OS00ZTViLWE2NGQtNzU1YzkyNmM4MzI5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTlM5M0k1cms3RHRmd2FJZ0ZBcUJpMDNBOERQazk2VHBjclZITVlxWWtcL0NEVktHNTkzRjhuNXUweXFUalZBUmoifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 05/10] ipsec: add 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 10:17:07 -0000 DQpIaSBBa2hpbCwNCg0KPiANCj4gSGkgS29uc3RhbnRpbiwNCj4gDQo+IFNvcnJ5IGZvciBhIGxh dGUgcmV2aWV3LiBJIHdhcyBvbiB1bnBsYW5uZWQgbGVhdmUgZm9yIG1vcmUgdGhhbiAyIHdlZWtz Lg0KDQpObyB3b3JyaWVzLCB0aGFua3MgZm9yIHJldmlldy4NCkNvbW1lbnRzL2Fuc3dlcnMgaW5s aW5lLg0KS29uc3RhbnRpbg0KDQo+ID4gKy8qKg0KPiA+ICsgKiBDaGVja3MgdGhhdCBpbnNpZGUg Z2l2ZW4gcnRlX2lwc2VjX3Nlc3Npb24gY3J5cHRvL3NlY3VyaXR5IGZpZWxkcw0KPiA+ICsgKiBh cmUgZmlsbGVkIGNvcnJlY3RseSBhbmQgc2V0dXBzIGZ1bmN0aW9uIHBvaW50ZXJzIGJhc2VkIG9u IHRoZXNlIHZhbHVlcy4NCj4gaXQgbWVhbnMgdXNlciBu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