usertools: show hugepages requested/set on failure
authorThomas Monjalon <thomas@monjalon.net>
Mon, 8 Mar 2021 22:25:20 +0000 (23:25 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 25 Mar 2021 17:07:47 +0000 (18:07 +0100)
commitdefd7f5a5300b4aeee35cf17a6868fd99baad0b5
tree160ddeef94c6fb8e17a4ed8c77ca519e4f2131ce
parent01ae049ddabd7f87b2ecb54afc008e81f439f95d
usertools: show hugepages requested/set on failure

In case the number of requested hugepages cannot be set,
a more detailed error message is printed.
The new message does not mention "reserve" because setting
can be reserving or clearing.
The filename and numbers requested/set are printed to ease debugging.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
usertools/dpdk-hugepages.py