eal/linux: improve no hugepages logging
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 10 Nov 2020 15:41:36 +0000 (15:41 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 19 Jan 2021 12:12:59 +0000 (13:12 +0100)
commitc69150679891f065c93c4e0503e0dca5830ceeb7
tree23d57bcc3e3143beca57a93ae6b34468c73ba057
parentfb319aa66771aeeb4c35024740f7e9d8958c5fa0
eal/linux: improve no hugepages logging

When no hugepages are found, we log a message about it, but we never
specify on which node. We also implicitly declare the page size based
on the directory name, but that's not very user friendly.

Fix both by changing the text of the message to note the NUMA node (if
applicable) and explicitly mention page size in kilobytes.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_eal/linux/eal_hugepage_info.c