[dpdk-dev] [PATCH] doc: fix wrong hugepages setting path

Thomas Monjalon thomas at monjalon.net
Thu Feb 11 19:19:01 CET 2021


06/12/2020 18:43, Stephen Hemminger:
> On Mon,  7 Dec 2020 01:31:14 +0800
> walimisdev at gmail.com wrote:
> 
> > From: Wang Liming <walimisdev at gmail.com>
> > 
> > Remove redundant "nr_hugepages" words from mlx4 and mlx5 doc.
> > 
> > Signed-off-by: Wang Liming <walimisdev at gmail.com>
> > ---
> >  doc/guides/nics/mlx4.rst | 2 +-
> >  doc/guides/nics/mlx5.rst | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
[...]
> > --- a/doc/guides/nics/mlx5.rst
> > +++ b/doc/guides/nics/mlx5.rst
> >  #. Request huge pages::
> >  
> > -      echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages/nr_hugepages
> > +      echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
> 
> Could we change the drivers to refer to the existing hugepages script
> rather than doing "roll your own"

I agree. I've sent a patch to use the new script wherever needed:
	https://patches.dpdk.org/patch/87877/




More information about the dev mailing list