From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0627DA10DA for ; Thu, 1 Aug 2019 01:32:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 58F8A1BFE0; Thu, 1 Aug 2019 01:32:35 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 10E321BF57 for ; Thu, 1 Aug 2019 01:32:32 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8DC721570; Wed, 31 Jul 2019 16:32:31 -0700 (PDT) Received: from net-arm-thunderx2.shanghai.arm.com (net-arm-thunderx2.shanghai.arm.com [10.169.40.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D5CED3F694; Wed, 31 Jul 2019 16:32:30 -0700 (PDT) From: Gavin Hu To: dev@dpdk.org Cc: nd@arm.com Date: Thu, 1 Aug 2019 07:32:20 +0800 Message-Id: <1564615940-13183-2-git-send-email-gavin.hu@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564615940-13183-1-git-send-email-gavin.hu@arm.com> References: <1564615940-13183-1-git-send-email-gavin.hu@arm.com> Subject: [dpdk-dev] [PATCH 2/2] config: add N1SDP configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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