Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-21 Thread Juraj Linkeš
> >>> [However, we also would need to find out how BSD numbers the > >>> domains, too, as it's possible an OS could just call them 0 and 1, > >>> rather than > >>> 0 and 8 if it wanted to.] > >>> > >>> In short, we'd need to test to be sure. Is FreeBSD on P9 a supported > >>> config, and if so can

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-20 Thread David Christensen
...@intel.com; jerinjac...@gmail.com; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection On 7/6/21 2:08 AM, Bruce Richardson wrote: On Tue, Jul 06, 2021 at 08:56:37AM +, Juraj Linkeš wrote: -Original Message- From: Bruce Richardson Sent: Tuesday

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-16 Thread Bruce Richardson
march...@redhat.com; > > honnappa.nagaraha...@arm.com; ruifeng.w...@arm.com; > > ferruh.yi...@intel.com; jerinjac...@gmail.com; dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts > > detection > > > > > > > > On 7/6

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-16 Thread Juraj Linkeš
rinjac...@gmail.com; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts > detection > > > > On 7/6/21 2:08 AM, Bruce Richardson wrote: > > On Tue, Jul 06, 2021 at 08:56:37AM +, Juraj Linkeš wrote: > >> > >> > &g

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-06 Thread David Christensen
On 7/6/21 2:08 AM, Bruce Richardson wrote: On Tue, Jul 06, 2021 at 08:56:37AM +, Juraj Linkeš wrote: -Original Message- From: Bruce Richardson Sent: Tuesday, June 29, 2021 1:29 PM To: Juraj Linkeš Cc: tho...@monjalon.net; david.march...@redhat.com; honnappa.nagaraha...@arm.co

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-06 Thread Bruce Richardson
On Tue, Jul 06, 2021 at 08:56:37AM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Tuesday, June 29, 2021 1:29 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; david.march...@redhat.com; > > honnappa.nagaraha...@arm.com; ruifeng.w...@arm.co

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-06 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Tuesday, June 29, 2021 1:29 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; david.march...@redhat.com; > honnappa.nagaraha...@arm.com; ruifeng.w...@arm.com; > ferruh.yi...@intel.com; jerinjac...@gmail.com; dev@dpdk.org > Subject: Re

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-06-29 Thread Stephen Hemminger
On Tue, 29 Jun 2021 12:55:05 +0200 Juraj Linkeš wrote: > diff --git a/buildtools/get-numa-count.py b/buildtools/get-numa-count.py > new file mode 100644 > index 00..3b67564fd4 > --- /dev/null > +++ b/buildtools/get-numa-count.py > @@ -0,0 +1,24 @@ > +#!/usr/bin/env python3 > +# SPDX-Licen

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-06-29 Thread Bruce Richardson
On Tue, Jun 29, 2021 at 12:55:05PM +0200, Juraj Linkeš wrote: > Add an option to automatically discover the host's numa and cpu counts > and use those values for a non cross-build. > Give users the option to override the per-arch default values or values > from cross files by specifying them on the

[dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-06-29 Thread Juraj Linkeš
Add an option to automatically discover the host's numa and cpu counts and use those values for a non cross-build. Give users the option to override the per-arch default values or values from cross files by specifying them on the command line with -Dmax_lcores and -Dmax_numa_nodes. Signed-off-by: