12/02/2021 12:55, Ferruh Yigit: > On 2/11/2021 6:16 PM, Thomas Monjalon wrote: > > --- a/doc/guides/howto/lm_bond_virtio_sriov.rst > > +++ b/doc/guides/howto/lm_bond_virtio_sriov.rst > > @@ -581,9 +581,9 @@ Set up DPDK in the Virtual Machine > > # virtio port is 03 > > # vf port is 04 > > > > - cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > > - echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > > - cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages > > + /root/dpdk/usertools/dpdk-hugepages.py --show > > + /root/dpdk/usertools/dpdk-hugepages.py --setup 2G > > + /root/dpdk/usertools/dpdk-hugepages.py --show > > Wouldn't be better to use 'dpdk-hugepages.py' only, or perhaps > './usertools/dpdk-hugepages.py' but not full path. > The dpdk path, '/root/dpdk/', assumption can be missleading.
Using this fixed path is consistent with the rest of this howto. Maybe you would prefer a rewrite of the howto?