From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3423841D8F; Mon, 27 Feb 2023 10:48:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCD8240A7D; Mon, 27 Feb 2023 10:48:14 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 160EF400D5 for ; Mon, 27 Feb 2023 10:48:14 +0100 (CET) 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 Subject: RE: Bug in rte_mempool_do_generic_get? Date: Mon, 27 Feb 2023 10:48:09 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D8777F@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Bug in rte_mempool_do_generic_get? Thread-Index: AdlKizoDQ5PEu2aNSGiPQ8ytkD4tfwAAbd/g References: <98CBD80474FA8B44BF855DF32C47DC35D87770@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35D87774@smartserver.smartshare.dk> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Olivier Matz" Cc: "Harris, James R" , "Honnappa Nagarahalli" , , "nd" , , X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org PiBGcm9tOiBPbGl2aWVyIE1hdHogW21haWx0bzpvbGl2aWVyLm1hdHpANndpbmQuY29tXQ0KPiBT ZW50OiBNb25kYXksIDI3IEZlYnJ1YXJ5IDIwMjMgMTAuMTANCj4gDQo+IEhpLA0KPiANCj4gT24g U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