From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7B8951B443 for ; Fri, 21 Dec 2018 15:27:37 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Dec 2018 06:27:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,381,1539673200"; d="scan'208";a="111221774" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga008.fm.intel.com with ESMTP; 21 Dec 2018 06:27:35 -0800 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 21 Dec 2018 14:27:34 +0000 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.227]) by IRSMSX156.ger.corp.intel.com ([169.254.3.24]) with mapi id 14.03.0415.000; Fri, 21 Dec 2018 14:27:34 +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: AQHUk8ldrSWfZFSbPEuOMTQvJMD8EaWGOHSAgAFbV8CAAZgXAIAAF7uw Date: Fri, 21 Dec 2018 14:27:33 +0000 Message-ID: <2601191342CEEE43887BDE71AB977258010D8BDC1A@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> <2601191342CEEE43887BDE71AB977258010D8BD33A@IRSMSX106.ger.corp.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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmVlNWU4YjYtNWExOS00NzI4LThkMmEtNWQxZWUzMjI5YTRhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWUk0bjFOXC9RbzRxclg4T1VvVExOdVFnVDA5MzE1cW5mdGE0cUJ0d3I5Y2VhUGUrK3JoMGYrZVNZVmxjMk8rNU8ifQ== 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 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: Fri, 21 Dec 2018 14:27:38 -0000 DQo+ID4+PiArICovDQo+ID4+PiArDQo+ID4+PiArLyoNCj4gPj4+ICsgKiBNb3ZlIHByZWNlZGlu ZyAoTDMpIGhlYWRlcnMgZG93biB0byByZW1vdmUgRVNQIGhlYWRlciBhbmQgSVYuDQo+ID4+PiAr ICovDQo+ID4+IHdoeSBjYW50IHdlIHVzZSBydGVfbWJ1ZiBBUElzIHRvIGFwcGVuZC9wcmVwZW5k L3RyaW0vYWRqdXN0IGxlbmd0aHMuDQo+ID4gV2UgZG8gdXNlIHJ0ZV9tYnVmIGFwcGVuZC90cmlt LCBldGMuIGFkanVzdCBtYnVmJ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