[dpdk-dev] [PATCH] net/virtio-user: fix hugepage files enumeration

Maxime Coquelin maxime.coquelin at redhat.com
Fri May 4 16:16:24 CEST 2018



On 04/26/2018 05:34 PM, Jianfeng Tan wrote:
> After the commit 2a04139f66b4 ("eal: add single file segments option"),
> one hugepage file could contain multiple hugepages which are further
> mapped to different memory regions.
> 
> Original enumeration implementation cannot handle this situation.
> 
> This patch filters out the duplicated files; and adjust the size after
> the enumeration.
> 
> Fixes: 6a84c37e3975 ("net/virtio-user: add vhost-user adapter layer")
> 
> Signed-off-by: Jianfeng Tan <jianfeng.tan at intel.com>
> ---
>   .../howto/virtio_user_for_container_networking.rst |  3 ++-
>   drivers/net/virtio/virtio_user/vhost_user.c        | 28 ++++++++++++++++++++--
>   2 files changed, 28 insertions(+), 3 deletions(-)


Acked-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime


More information about the dev mailing list