[dpdk-dev] [PATCH v12 09/14] build: optional NUMA and cpu counts detection

Thomas Monjalon thomas at monjalon.net
Mon Nov 16 08:24:48 CET 2020


13/11/2020 15:31, Juraj Linkeš:
> +option('max_lcores', type: 'integer', value: 0,
> +	description: 'maximum number of cores/threads supported by EAL. Set to positive integer to overwrite per-arch or cross-compilation defaults. Set to -1 to detect the number of cores on the build machine.')
> +option('max_numa_nodes', type: 'integer', value: 0,
> +	description: 'maximum number of NUMA nodes supported by EAL. Set to positive integer to overwrite per-arch or cross-compilation defaults. Set to -1 to detect the number of numa nodes on the build machine.')

First comment: I don't like having so long description.
Second: I don't understand.

It is said the default value is 0 so I expect it means automatic detection.
But later it is said -1 is for detection. So ?




More information about the dev mailing list