For more information of this platform, refer to: https://community.arm.com/developer/tools-software/oss-platforms/w/ docs/440/neoverse-n1-sdp
Signed-off-by: Gavin Hu <[email protected]> --- config/arm/meson.build | 4 +++- config/defconfig_arm64-neoversen1-linux-gcc | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 config/defconfig_arm64-neoversen1-linux-gcc diff --git a/config/arm/meson.build b/config/arm/meson.build index 979018e..03afb14 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -87,7 +87,9 @@ machine_args_generic = [ ['0xd07', ['-mcpu=cortex-a57']], ['0xd08', ['-mcpu=cortex-a72']], ['0xd09', ['-mcpu=cortex-a73']], - ['0xd0a', ['-mcpu=cortex-a75']]] + ['0xd0a', ['-mcpu=cortex-a75']], + ['0xd0b', ['-mcpu=cortex-a76']], + ['0xd0c', ['-march=armv8.2-a', '-mcpu=neoverse-n1']]] machine_args_cavium = [ ['default', ['-march=armv8-a+crc+crypto','-mcpu=thunderx']], diff --git a/config/defconfig_arm64-neoversen1-linux-gcc b/config/defconfig_arm64-neoversen1-linux-gcc new file mode 100644 index 0000000..b21bacb --- /dev/null +++ b/config/defconfig_arm64-neoversen1-linux-gcc @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2019 Arm Ltd. +# + +#include "defconfig_arm64-armv8a-linux-gcc" + +CONFIG_RTE_MACHINE="armv8.2-a" +# CONFIG_RTE_ARCH_ARM_TUNE="cortex-a57" +CONFIG_RTE_ARCH_ARM_TUNE="neoverse-n1" +CONFIG_RTE_CACHE_LINE_SIZE=64 +CONFIG_RTE_MAX_NUMA_NODES=1 +CONFIG_RTE_MAX_LCORE=4 + +# Doesn't support NUMA +CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n +CONFIG_RTE_LIBRTE_VHOST_NUMA=n -- 2.7.4

