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 5069D429AC; Fri, 21 Apr 2023 13:09:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2920410FB; Fri, 21 Apr 2023 13:09:05 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 5E36F410F3 for ; Fri, 21 Apr 2023 13:09:04 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [RFC] lib: set/get max memzone segments Date: Fri, 21 Apr 2023 13:08:59 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D878A7@smartserver.smartshare.dk> In-Reply-To: <1796765.8hzESeGDPO@thomas> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC] lib: set/get max memzone segments Thread-Index: Adl0LCzFgkCNadMpQeao/SHpEoi2lwAE9l7Q References: <20230419083634.2027689-1-ophirmu@nvidia.com> <4891070.0VBMTVartN@thomas> <20230420182043.GA30650@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <1796765.8hzESeGDPO@thomas> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Ophir Munk" , "Thomas Monjalon" Cc: , "Bruce Richardson" , "Devendra Singh Rawat" , "Alok Prasad" , "Matan Azrad" , "Lior Margalit" , "Tyler Retzlaff" 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 PiBGcm9tOiBUaG9tYXMgTW9uamFsb24gW21haWx0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