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 E348EA0613 for ; Thu, 26 Sep 2019 17:35:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 657613195; Thu, 26 Sep 2019 17:35:55 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id DA3B12C37 for ; Thu, 26 Sep 2019 17:35:53 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Date: Thu, 26 Sep 2019 17:35:52 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35B42AD2@smartserver.smartshare.dk> In-Reply-To: <96d37240-9f33-3252-7e0a-fc8ab4fc136e@solarflare.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [PATCH v2 2/2] mbuf: add bulk free function Thread-Index: AdV0TJa1UxIuZBErSmyTE1kzfMyawwAMo+mg References: <20190925120355.44821-1-mb@smartsharesystems.com> <20190925120355.44821-3-mb@smartsharesystems.com> <96d37240-9f33-3252-7e0a-fc8ab4fc136e@solarflare.com> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Andrew Rybchenko" , Cc: , , , Subject: Re: [dpdk-dev] [PATCH v2 2/2] 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+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldiBbbWFpbHRvOmRldi1i b3VuY2VzQGRwZGsub3JnXSBPbiBCZWhhb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