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 AE8331B938; Fri, 14 Dec 2018 10:19:56 +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 023A68B10A; Fri, 14 Dec 2018 09:19:56 +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 AE73518A47; Fri, 14 Dec 2018 09:19:51 +0000 (UTC) To: Anatoly Burakov , dev@dpdk.org Cc: John McNamara , Marko Kovacevic , przemyslawx.lal@intel.com, kuralamudhan.ramakrishnan@intel.com, ivan.coughlan@intel.com, tiwei.bie@intel.com, ray.kinsella@intel.com, stable@dpdk.org References: From: Maxime Coquelin Message-ID: <22e37d4a-d5b1-35b3-870a-bf58e6d9eadb@redhat.com> Date: Fri, 14 Dec 2018 10:19:49 +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.28]); Fri, 14 Dec 2018 09:19:56 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH v3 2/5] memalloc: check for memfd support in segment fd API 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 09:19:57 -0000 On 12/13/18 12:43 PM, Anatoly Burakov wrote: > If memfd support was not compiled, or hugepage memfd support > is not available at runtime, the API will now return proper > error code, indicating that this API is unsupported. This > changes the API, so document the changes. > > Fixes: 41dbdb68723b ("mem: add external API to retrieve page fd") > Fixes: 3a44687139eb ("mem: allow querying offset into segment fd") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov > Acked-by: Tiwei Bie > --- > > Notes: > The API is experimental, no deprecation notice needed. > > doc/guides/rel_notes/release_19_02.rst | 2 ++ > lib/librte_eal/linuxapp/eal/eal_memalloc.c | 40 +++++++++++++++++----- > 2 files changed, 34 insertions(+), 8 deletions(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime