Re: [dpdk-dev] [PATCH RESEND] eal: allow hugetlbfs sub-directories

2021-07-07 Thread John Levon
On Wed, Jul 07, 2021 at 11:06:05PM +0300, Dmitry Kozlyuk wrote: > > get_hugepage_dir() was implemented in such a way that a --huge-dir option > > had to exactly match the mountpoint, but there's no reason for this > > restriction. Fix the implementation to allow a sub-directory within a > > suitab

Re: [dpdk-dev] [PATCH RESEND] eal: allow hugetlbfs sub-directories

2021-07-07 Thread Dmitry Kozlyuk
2021-06-25 11:44 (UTC+0100), John Levon: > get_hugepage_dir() was implemented in such a way that a --huge-dir option > had to exactly match the mountpoint, but there's no reason for this > restriction. Fix the implementation to allow a sub-directory within a > suitable hugetlbfs mountpoint to be sp

Re: [dpdk-dev] [PATCH RESEND] eal: allow hugetlbfs sub-directories

2021-07-06 Thread David Marchand
Hello Anatoly, On Fri, Jun 25, 2021 at 12:46 PM John Levon wrote: > > get_hugepage_dir() was implemented in such a way that a --huge-dir option > had to exactly match the mountpoint, but there's no reason for this > restriction. Fix the implementation to allow a sub-directory within a > suitable

[dpdk-dev] [PATCH RESEND] eal: allow hugetlbfs sub-directories

2021-06-25 Thread John Levon
get_hugepage_dir() was implemented in such a way that a --huge-dir option had to exactly match the mountpoint, but there's no reason for this restriction. Fix the implementation to allow a sub-directory within a suitable hugetlbfs mountpoint to be specified. Signed-off-by: John Levon --- lib/eal