06/12/2020 18:43, Stephen Hemminger: > On Mon, 7 Dec 2020 01:31:14 +0800 > walimis...@gmail.com wrote: > > > From: Wang Liming <walimis...@gmail.com> > > > > Remove redundant "nr_hugepages" words from mlx4 and mlx5 doc. > > > > Signed-off-by: Wang Liming <walimis...@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/