From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mem: warn user when running without NUMA support Date: Wed, 27 Mar 2019 11:31:05 +0100 Message-ID: <10158735.WBPJjXTH6e@xps> References: <72f990b04219f319b2922570a7ca7b9ce93e0aae.1550851129.git.anatoly.burakov@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, stable@dpdk.org To: Anatoly Burakov Return-path: In-Reply-To: <72f990b04219f319b2922570a7ca7b9ce93e0aae.1550851129.git.anatoly.burakov@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. >=20 > 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. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Anatoly Burakov > --- > --- 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 =E2=80=98struct option=E2=80=99 extern const struct option eal_long_options[];