eal: update comment about --no-huge option
PATCH 1/1 eal: update comment about --no-huge option
The old comment, on top of the function rte_eal_has_hugepages(), is really outdated and not generic enough.
Signed-off-by Thomas Monjalon <[email protected]>
--- lib/librte_eal/common/include/rte_eal.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
lib/librte_eal/common/include/rte_eal.h +1 -4
@@ -448,10 +448,7 @@ rte_set_application_usage_hook(rte_usage_hook_t usage_func);/** * Whether EAL is using huge pages (disabled by --no-huge option). -* The no-huge mode cannot be used with UIO poll-mode drivers like igb/ixgbe. -* It is useful for NIC drivers (e.g. librte_pmd_mlx4, librte_pmd_vmxnet3) or -* crypto drivers (e.g. librte_crypto_nitrox) provided by third-parties such -* as 6WIND. +* The no-huge mode is not compatible with all drivers or features. * * @return * Nonzero if hugepages are enabled.
Signature · 1 line
2.21.0
Quoted 5 lines · Thomas Monjalon
The old comment, on top of the function
rte_eal_has_hugepages(), is really outdated and not generic enough.Signed-off-by Thomas Monjalon <[email protected]>---
Acked-by Anatoly Burakov <[email protected]>
Signature · 2 lines
Thanks, Anatoly
Thomas Monjalon
Applied17/07/2019 14:35, Burakov, Anatoly:
Quoted 7 lines · Thomas Monjalon
Quoted 4 lines
The old comment, on top of the function
rte_eal_has_hugepages(), is really outdated and not generic enough.Signed-off-by Thomas Monjalon <[email protected]>Acked-by Anatoly Burakov <[email protected]>
Applied