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 76580A3160 for ; Thu, 10 Oct 2019 02:01:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B320E1E53A; Thu, 10 Oct 2019 02:01:56 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 803481E537 for ; Thu, 10 Oct 2019 02:01:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Oct 2019 17:01:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,278,1566889200"; d="scan'208";a="207067410" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga001.fm.intel.com with ESMTP; 09 Oct 2019 17:01:51 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.164]) by IRSMSX101.ger.corp.intel.com ([169.254.1.129]) with mapi id 14.03.0439.000; Thu, 10 Oct 2019 01:01:50 +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 v5 1/1] mbuf: add bulk free function Thread-Index: AQHVfqk2wC2cETY6k0abjtJfintA16dS/hXw Date: Thu, 10 Oct 2019 00:01:50 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580191974803@irsmsx105.ger.corp.intel.com> References: <20191009135511.84547-1-mb@smartsharesystems.com> <20191009135511.84547-2-mb@smartsharesystems.com> In-Reply-To: <20191009135511.84547-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjM4NDU2YjUtNWI1ZS00NjlmLWIxYWQtNmFkMzA0MmY4Y2U2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQjJ0MkJWaWFYQmp6ZzFhZ0xDQk1ER1NiR0lrTFRnWnVaQWUzWnliN3BvMVRnc0FRUWhYR1Y2NTY1V1RFVDVqWiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 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 v5 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+IEFkZCBmdW5jdGlvbiBmb3IgZnJlZWluZyBhIGJ1bGsgb2YgbWJ1ZnMuDQo+IA0KPiB2NToN Cj4gKiBSZW5hbWUgdmFyaWFibGVzIGZyb20gImZyZWUiIHRvICJwZW5kaW5nIiBmb3IgaW1wcm92 ZWQgcmVhZGFiaWxpdHkuDQo+ICogQWRkIHByZWZpeCBfXyB0byBydGVfcGt0bWJ1Zl9mcmVlX3Nl Z192aWFfYXJyYXkoKS4NCj4g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