[dpdk-dev] [PATCH] mem: warn user when running without NUMA support
Thomas Monjalon
thomas at monjalon.net
Wed Mar 27 11:31:05 CET 2019
22/02/2019 16:59, Anatoly Burakov:
> Running in non-legacy mode on a NUMA-enabled system without libnuma
> is unsupported, so explicitly print out a warning when trying to
> do so.
>
> Running in legacy mode without libnuma is still supported whether or
> not we are running with libnuma support enabled, so also fix init to
> allow that scenario.
>
> Cc: stable at dpdk.org
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> --- a/lib/librte_eal/linuxapp/eal/eal_memory.c
> +++ b/lib/librte_eal/linuxapp/eal/eal_memory.c
> @@ -50,6 +50,7 @@
> #include "eal_internal_cfg.h"
> #include "eal_filesystem.h"
> #include "eal_hugepages.h"
> +#include "eal_options.h"
I'm seeing this error:
lib/librte_eal/common/eal_options.h:74:28: error:
array type has incomplete element type ‘struct option’
extern const struct option eal_long_options[];
More information about the dev
mailing list