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

2018-05-08 Thread Ferruh Yigit
On 4/26/2018 4: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. >

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

2018-05-04 Thread Maxime Coquelin
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 p

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

2018-05-04 Thread Maxime Coquelin
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 p

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

2018-05-04 Thread Burakov, Anatoly
On 04-May-18 8:40 AM, Maxime Coquelin wrote: Hi Anatoly, On 04/27/2018 11:31 AM, Burakov, Anatoly wrote: On 26-Apr-18 4: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

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

2018-05-04 Thread Maxime Coquelin
Hi Anatoly, On 04/27/2018 11:31 AM, Burakov, Anatoly wrote: On 26-Apr-18 4: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 enumer

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

2018-04-27 Thread Burakov, Anatoly
On 26-Apr-18 4: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

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

2018-04-26 Thread Jianfeng Tan
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 adjus