[dpdk-dev] [PATCH v3 3/5] memalloc: allow setting up segment list fd's

Maxime Coquelin maxime.coquelin at redhat.com
Fri Dec 14 11:03:24 CET 2018



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

Thanks,
Maxime


More information about the dev mailing list