From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 3827C2BE5 for ; Mon, 5 Mar 2018 16:36:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2018 07:36:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,427,1515484800"; d="scan'208";a="180019806" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga004.jf.intel.com with ESMTP; 05 Mar 2018 07:36:10 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.221]) by IRSMSX106.ger.corp.intel.com ([169.254.8.62]) with mapi id 14.03.0319.002; Mon, 5 Mar 2018 15:36:09 +0000 From: "Ananyev, Konstantin" To: "Yigit, Ferruh" , "Koujalagi, MalleshX" , "dev@dpdk.org" CC: "mtetsuyah@gmail.com" Thread-Topic: [dpdk-dev] [PATCH] net/null: Support bulk alloc and free. Thread-Index: AQHTnKEvczAmTvdyoESiUJOtlMgaT6PB8vYAgAACbZA= Date: Mon, 5 Mar 2018 15:36:08 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725890F203AA@irsmsx105.ger.corp.intel.com> References: <1517627510-60932-1-git-send-email-malleshx.koujalagi@intel.com> <803da3d7-7443-01e8-a14c-1e899c3a5a17@intel.com> In-Reply-To: <803da3d7-7443-01e8-a14c-1e899c3a5a17@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWM4M2EyYTktMmVkNS00ZTA3LTlhYzItNWQxYzdlODFiM2EyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6ImJcL0RLUTZoYlFWc0dIanJ1eWZQa25HQmRFTVY4ZEVyWU5VNDBhTndlVVdZPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 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] net/null: Support bulk alloc and free. 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: Mon, 05 Mar 2018 15:36:12 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBGZXJydWggWWlnaXQNCj4gU2VudDogTW9u ZGF5LCBNYXJjaCA1LCAyMDE4IDM6MjUgUE0NCj4gVG86IEtvdWphbGFnaSwgTWFsbGVzaFggPG1h bGxlc2h4LmtvdWphbGFnaUBpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IG10ZXRzdXlh aEBnbWFpbC5jb20NCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIXSBuZXQvbnVsbDog U3VwcG9ydCBidWxrIGFsbG9jIGFuZCBmcmVlLg0KPiANCj4gT24gMi8zLzIwMTggMzoxMSBBTSwg TWFsbGVzaCBLb3VqYWxhZ2kgd3JvdGU6DQo+ID4gQWZ0ZXIgYnVsayB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