From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id DE2FA1B9C9 for ; Fri, 14 Dec 2018 11:03:30 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1D82F307CDDD; Fri, 14 Dec 2018 10:03:30 +0000 (UTC) Received: from [10.36.112.58] (ovpn-112-58.ams2.redhat.com [10.36.112.58]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3E30917D2C; Fri, 14 Dec 2018 10:03:26 +0000 (UTC) To: Anatoly Burakov , dev@dpdk.org Cc: Bruce Richardson , przemyslawx.lal@intel.com, kuralamudhan.ramakrishnan@intel.com, ivan.coughlan@intel.com, tiwei.bie@intel.com, ray.kinsella@intel.com References: From: Maxime Coquelin Message-ID: <83700883-8a46-a06a-e742-579ee08fcf11@redhat.com> Date: Fri, 14 Dec 2018 11:03:24 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Fri, 14 Dec 2018 10:03:30 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH v3 3/5] memalloc: allow setting up segment list fd's 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: , X-List-Received-Date: Fri, 14 Dec 2018 10:03:31 -0000 On 12/13/18 12:43 PM, Anatoly Burakov wrote: > Currently, only segment fd's for multi-file segments are supported, > while for memfd-backed no-huge memory we need single-file segments > mode. Add support for single-file segments in the internal API. > > Signed-off-by: Anatoly Burakov > Acked-by: Tiwei Bie > --- > > Notes: > v2: > - Add missing fd list allocation on setting segment > list fd > > lib/librte_eal/bsdapp/eal/eal_memalloc.c | 6 +++++ > lib/librte_eal/common/eal_memalloc.h | 4 ++++ > lib/librte_eal/linuxapp/eal/eal_memalloc.c | 26 ++++++++++++++++++++++ > 3 files changed, 36 insertions(+) > Reviewed-by: Maxime Coquelin Thanks, Maxime