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 B5C56A0521; Mon, 3 Aug 2020 10:42:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E4A8E2BE1; Mon, 3 Aug 2020 10:42:50 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 6396C2952 for ; Mon, 3 Aug 2020 10:42:49 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Date: Mon, 3 Aug 2020 10:42:46 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C61182@smartserver.smartshare.dk> In-Reply-To: <20200731152444.GI5869@platinum> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] The mbuf API needs some cleaning up Thread-Index: AdZnTr1/6zYASRVVRZaFPwp5qV7OxgCISK3A References: <98CBD80474FA8B44BF855DF32C47DC35C6111E@smartserver.smartshare.dk> <20200731152444.GI5869@platinum> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Olivier Matz" Cc: , "Thomas Monjalon" Subject: Re: [dpdk-dev] The mbuf API needs some cleaning up 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" PiBGcm9tOiBkZXYgW21haWx0bzpkZXYtYm91bmNlc0BkcGRrLm9yZ10gT24gQmVoYWxmIE9mIE9s aXZpZXIgTWF0eg0KPiBTZW50OiBGcmlkYXksIEp1bHkgMzEsIDIwMjAgNToyNSBQTQ0KPiANCj4g SGkgTW9ydGVuLA0KPiANCj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