> -----Original Message-----
> From: Juraj Linkeš <[email protected]>
> Sent: Friday, April 9, 2021 2:36 PM
> To: [email protected]; Ruifeng Wang <[email protected]>;
> Honnappa Nagarahalli <[email protected]>; Phil Yang
> <[email protected]>; [email protected]; Dharmik Thakkar
> <[email protected]>; [email protected];
> [email protected]; Ajit Khaparde ([email protected])
> <[email protected]>; [email protected];
> [email protected]
> Cc: [email protected]; Juraj Linkeš <[email protected]>;
> [email protected]; [email protected]
> Subject: [PATCH v18 3/3] config: fix Arm implementer and its SoCs
>
> Fix the implementer and part number of DPAA and ARMADA SoCs.
> The current values of 16 cores and 1 NUMA node don't cover all SoCs from
> the Arm implementer, e.g. Taishan 2280 has 64 cores and 4 NUMA nodes.
> Increase these to 64 and 4 to widen the coverage.
> Add configuration to SoC options where smaller values are needed.
>
> Fixes: 6ec78c2463ac ("build: add meson support for dpaaX platforms")
> Cc: [email protected]
> Fixes: dd1cd845c102 ("config: add Marvell ARMADA based on armv8-a")
> Cc: [email protected]
> Fixes: d97108a33231 ("config: change defaults of armv8")
> Cc: [email protected]
>
> Signed-off-by: Juraj Linkeš <[email protected]>
> Reviewed-by: Honnappa Nagarahalli <[email protected]>
> Reviewed-by: Liron Himi <[email protected]>
> Acked-by: Pavan Nikhilesh <[email protected]>
> Acked-by: Viacheslav Ovsiienko <[email protected]>
> ---
> config/arm/meson.build | 60 +++++++++++++++++++-----------------------
> 1 file changed, 27 insertions(+), 33 deletions(-)
>
> diff --git a/config/arm/meson.build b/config/arm/meson.build index
> 6fcbbf2ebc..53577267a6 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -56,7 +56,8 @@ part_number_config_arm = {
> ['RTE_MACHINE', '"neoverse-n1"'],
> ['RTE_ARM_FEATURE_ATOMICS', true],
> ['RTE_MAX_MEM_MB', 1048576],
> - ['RTE_MAX_LCORE', 80]
> + ['RTE_MAX_LCORE', 80],
> + ['RTE_MAX_NUMA_NODES', 1]
Ampere Altra that based on Neoverse-n1 has 2-socket server.
So MAX_LCORE should be updated to 160, and MAX_NUMA_NODES should be updated to
2.
> ]
> },
> '0xd49': {
> @@ -64,7 +65,8 @@ part_number_config_arm = {
> 'flags': [
> ['RTE_MACHINE', '"neoverse-n2"'],
> ['RTE_ARM_FEATURE_ATOMICS', true],
> - ['RTE_MAX_LCORE', 64]
> + ['RTE_MAX_LCORE', 64],
> + ['RTE_MAX_NUMA_NODES', 1]
> ]
> }
> }