From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 81FB1594B for ; Mon, 21 Dec 2015 18:20:28 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 21 Dec 2015 09:20:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,460,1444719600"; d="scan'208";a="876107450" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 21 Dec 2015 09:20:28 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 21 Dec 2015 09:20:26 -0800 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.31]) by FMSMSX119.amr.corp.intel.com ([169.254.14.118]) with mapi id 14.03.0248.002; Mon, 21 Dec 2015 09:20:26 -0800 From: "Wiles, Keith" To: "Xie, Huawei" , Stephen Hemminger , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH v2 1/2] mbuf: provide rte_pktmbuf_alloc_bulk API Thread-Index: AQHRNpJHqoKkCocBf0u66b2DotDutJ7V3CSA Date: Mon, 21 Dec 2015 17:20:25 +0000 Message-ID: <868B1A38-37CB-4E19-B3FE-E9B74C35545B@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> <8987AF45-5666-42AB-8358-09025143205B@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.181.252] 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: Mon, 21 Dec 2015 17:20:29 -0000 T24gMTIvMjEvMTUsIDk6MjEgQU0sICJYaWUsIEh1YXdlaSIgPGh1YXdlaS54aWVAaW50ZWwuY29t PiB3cm90ZToNCg0KPk9uIDEyLzE5LzIwMTUgMzoyNyBBTSwgV2lsZXMsIEtlaXRoIHdyb3RlOg0K Pj4gT24gMTIvMTgvMTUsIDExOjMyIEFNLCAiZGV2IG9uIGJlaGFsZiBvZiBTdGVwaGVuIEhlbW1p bmdlciIgPGRldi1ib3VuY2VzQGRwZGsub3JnIG9uIGJlaGFsZiBvZiBzdGVwaGVuQG5ldHdvcmtw bHVtYmVyLm9yZz4gd3JvdGU6DQo+Pg0KPj4+IE9uIEZyaSwgMTggRGVjIDIwMTUgMTA6NDQ6MDIg KzAwMDANCj4+PiAiQW5hbnlldiwgS29uc3RhbnRpbiIgPGtvbnN0YW50aW4uYW5hbnlldkBpbnRl bC5jb20+IHdyb3RlOg0KPj4+DQo+Pj4+DQo+Pj4+PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0t LQ0KPj4+Pj4gRnJvbTogZGV2IFttYWlsdG86ZGV2LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFs ZiBPZiBTdGVwaGVuIEhlbW1pbmdlcg0KPj4+Pj4gU2VudDogRnJpZGF5LCBEZWNlbWJlciAxOCwg MjAxNSA1OjAxIEFNDQo+Pj4+PiBUbzogWGllLCBIdWF3ZWkNCj4+Pj4+IENjOiBkZXZAZHBkay5v cmcNCj4+Pj4+IFN1YmplY3Q6IFJlOiBbZHBkay1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