[dpdk-stable] [PATCH v3 2/5] memalloc: check for memfd support in segment fd API

Maxime Coquelin maxime.coquelin at redhat.com
Fri Dec 14 10:19:49 CET 2018



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 at dpdk.org
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Acked-by: Tiwei Bie <tiwei.bie at intel.com>
> ---
> 
> 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 <maxime.coquelin at redhat.com>

Thanks,
Maxime


More information about the stable mailing list