[dpdk-dev] [PATCH] usertools: show valid hugepage sizes if user requests an invalid hugepage size

Stephen Hemminger stephen at networkplumber.org
Mon Nov 30 17:46:00 CET 2020


On Mon, 30 Nov 2020 17:47:19 +0500
Sarosh Arif <sarosh.arif at emumba.com> wrote:

> If user requests a hugepage size which is not supported by the system,
> currently user gets an error message saying that the requested size
> is not a valid system huge page size. In addition to this if we display
> the valid hugepage sizes it will be convenient for the user to request
> the right size next time. 
> 
> Signed-off-by: Sarosh Arif <sarosh.arif at emumba.com>
> ---
>  usertools/dpdk-hugepages.py | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)

If the two patches depend on each other, they should be sent in one
email thread with 1/2 2/2 in header.

This patch introduces pylint warning

usertools/dpdk-hugepages.py:52:0: C0116: Missing function or method docstring (missing-function-docstring)



More information about the dev mailing list