From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id CF74B8D90 for ; Fri, 18 Dec 2015 20:27:24 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 18 Dec 2015 11:27:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,447,1444719600"; d="scan'208";a="874485255" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 18 Dec 2015 11:27:01 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 18 Dec 2015 11:27:01 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.31]) by FMSMSX109.amr.corp.intel.com ([169.254.15.243]) with mapi id 14.03.0248.002; Fri, 18 Dec 2015 11:27:01 -0800 From: "Wiles, Keith" To: Stephen Hemminger , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH v2 1/2] mbuf: provide rte_pktmbuf_alloc_bulk API Thread-Index: AQHRNpJHqoKkCocBf0u66b2DotDutJ7QuzUAgABfxwCAAHIDAP//u4SA Date: Fri, 18 Dec 2015 19:27:00 +0000 Message-ID: <8987AF45-5666-42AB-8358-09025143205B@intel.com> References: <1450049754-33635-1-git-send-email-huawei.xie@intel.com> <1450055682-51953-1-git-send-email-huawei.xie@intel.com> <1450055682-51953-2-git-send-email-huawei.xie@intel.com> <20151217210114.534a7561@xeon-e3> <2601191342CEEE43887BDE71AB97725836AD5AEB@irsmsx105.ger.corp.intel.com> <20151218093206.35e2e3e4@xeon-e3> In-Reply-To: <20151218093206.35e2e3e4@xeon-e3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.74.106] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2 1/2] mbuf: provide rte_pktmbuf_alloc_bulk API 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: Fri, 18 Dec 2015 19:27:26 -0000 T24gMTIvMTgvMTUsIDExOjMyIEFNLCAiZGV2IG9uIGJlaGFsZiBvZiBTdGVwaGVuIEhlbW1pbmdl ciIgPGRldi1ib3VuY2VzQGRwZGsub3JnIG9uIGJlaGFsZiBvZiBzdGVwaGVuQG5ldHdvcmtwbHVt YmVyLm9yZz4gd3JvdGU6DQoNCj5PbiBGcmksIDE4IERlYyAyMDE1IDEwOjQ0OjAyICswMDAwDQo+ IkFuYW55ZXYsIEtvbnN0YW50aW4iIDxrb25zdGFudGluLmFuYW55ZXZAaW50ZWwuY29tPiB3cm90 ZToNCj4NCj4+IA0KPj4gDQo+PiA+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+PiA+IEZy b206IGRldiBbbWFpbHRvOmRldi1ib3VuY2VzQGRwZGsub3JnXSBPbiBCZWhhbGYgT2YgU3RlcGhl biBIZW1taW5nZXINCj4+ID4gU2VudDogRnJpZGF5LCBEZWNlbWJlciAxOCwgMjAxNSA1OjAxIEFN DQo+PiA+IFRvOiBYaWUsIEh1YXdlaQ0KPj4gPiBDYzogZGV2QGRwZGsub3JnDQo+PiA+IFN1Ympl Y3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2MiAxLzJdIG1idWY6IHByb3ZpZGUgcnRlX3BrdG1i dWZfYWxsb2NfYnVsayBBUEkNCj4+ID4gDQo+PiA+IE9uIE1vbiwgMTQgRGVjIDIwMTUgMDk6MTQ6 NDEgKzA4MDANCj4+ID4gSHVhd2VpIFhpZSA8aHVhd2VpLnhpZUBp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