From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 50C34A3160 for ; Wed, 9 Oct 2019 11:32:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C94F01DFE2; Wed, 9 Oct 2019 11:32:15 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 6A9441D50B for ; Wed, 9 Oct 2019 11:32:14 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Oct 2019 02:32:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,273,1566889200"; d="scan'208";a="184008115" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga007.jf.intel.com with ESMTP; 09 Oct 2019 02:32:11 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.164]) by IRSMSX154.ger.corp.intel.com ([169.254.12.160]) with mapi id 14.03.0439.000; Wed, 9 Oct 2019 10:32:10 +0100 From: "Ananyev, Konstantin" To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , "olivier.matz@6wind.com" CC: "stephen@networkplumber.org" , "Van Haaren, Harry" , "mattias.ronnblom@ericsson.com" , "Richardson, Bruce" , "arybchenko@solarflare.com" , "dev@dpdk.org" Thread-Topic: [PATCH v4 1/1] mbuf: add bulk free function Thread-Index: AQHVfPgJ/5bRkLLD10yaYw6UteH0+6dSDWiw Date: Wed, 9 Oct 2019 09:32:08 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580191974244@irsmsx105.ger.corp.intel.com> References: <20191007101427.16191-1-mb@smartsharesystems.com> <20191007101427.16191-2-mb@smartsharesystems.com> In-Reply-To: <20191007101427.16191-2-mb@smartsharesystems.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDNkZjk2NTMtZGM4Yi00YjYyLTg0ZTMtOGI5NDJlODJhOGNmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiV2dHOG8zNTJ2a1VKWWdLbW4zTGQ5UmxIUkY5UHBLS2Z2c3BYdVBFWUtMdEF3NG9TRHNFbnVjendBQm1vOGZZZiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 1/1] mbuf: add bulk free function 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQo+IA0KPiBBZGQgZnVuY3Rpb24gZm9yIGZyZWVpbmcgYSBidWxrIG9mIG1idWZzLg0KPiANCj4g djQ6DQo+ICogTWFya2VkIGFzIGV4cGVyaW1lbnRhbCBieSBhZGRpbmcgX19ydGVfZXhwZXJpbWVu dGFsLg0KPiAqIEFkZCBmdW5jdGlvbiB0byBleHBlcmltZW50YWwgc2VjdGlvbiBvZiBtYXAgZmls ZS4NCj4gKiBGaXggc291cmNlIGNvZGUg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