From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0048.outbound.protection.outlook.com [104.47.34.48]) by dpdk.org (Postfix) with ESMTP id 4D9F62C01 for ; Thu, 28 Sep 2017 14:19:14 +0200 (CEST) Received: from BN6PR03CA0075.namprd03.prod.outlook.com (10.164.122.141) by MWHPR03MB2703.namprd03.prod.outlook.com (10.168.207.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 28 Sep 2017 12:19:13 +0000 Received: from BY2FFO11FD034.protection.gbl (2a01:111:f400:7c0c::126) by BN6PR03CA0075.outlook.office365.com (2603:10b6:405:6f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.56.11 via Frontend Transport; Thu, 28 Sep 2017 12:19:12 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD034.mail.protection.outlook.com (10.1.14.219) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.56.11 via Frontend Transport; Thu, 28 Sep 2017 12:19:11 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v8SCJ71s008785; Thu, 28 Sep 2017 05:19:09 -0700 From: Shreyansh Jain To: CC: , Date: Thu, 28 Sep 2017 17:59:21 +0530 Message-ID: <20170928123000.1711-2-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170928123000.1711-1-shreyansh.jain@nxp.com> References: <20170928113344.12248-1-shreyansh.jain@nxp.com> <20170928123000.1711-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131510747522128315; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7966004)(336005)(376002)(39380400002)(346002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(498600001)(1076002)(54906003)(50226002)(68736007)(2906002)(106466001)(2351001)(36756003)(305945005)(33646002)(5003940100001)(316002)(8656003)(5660300001)(85426001)(8936002)(16586007)(86362001)(48376002)(50986999)(76176999)(6666003)(104016004)(81166006)(50466002)(81156014)(77096006)(53936002)(47776003)(2950100002)(6916009)(105606002)(189998001)(97736004)(8676002)(356003)(4326008)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2703; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD034; 1:CVJmSwc2Ao7vKD9d36BChpkjdB+fsZG6bKm/p9mnpY3A/o9Q8X3ZE0i9aVjfXjvm0gZQogpxi7vfLAM8FcsKlZSXw88RB5XejGJVvE0ngaGGBsNlqRg1QgBUtPSWfwWY MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d9e72726-b59b-4818-ceb3-08d5066b2097 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:MWHPR03MB2703; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2703; 3:CPjU5IUpmTHj2Hn+ePTkCS2hjBqilLwHFzLUrMZrzOjV4QuytENAG5vMoqUV/vP/czZc3Zwlubdy65MO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vMWlOCiGYdRVwixgDM9RhA8rOIUZ4W6ENMcYUh1Dv6MSGjZqpPfgFabjPDU/Iti/RJICY5VF3bF2ARcYyQv6ajAqRKJNbyEE1gRNxezvpBcIWfuWovXkE2Cf8Ch+6vdBtjn8pbHVMo/IhoXrh2LyM2Qs4FtGXQ/A= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123561025)(20161123563025)(20161123559100)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB2703; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB2703; X-Forefront-PRVS: 0444EB1997 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB2703; 23:62uAgsrpvpVznjZLt2ZcC4kwGb/c+vk1ewleD3YNp?= =?us-ascii?Q?XIzlGpVbQgRqH/ZPmpyRZ7X6NYan9jcfplB4O2QVdAKQMJRIExTkECJmLYsx?= =?us-ascii?Q?/BswNTNAZTQHH1f7aWtolAWzPXtesdVPoiuHappa8YlToaw+UDp1O+tRYSdC?= =?us-ascii?Q?P/ise5RhhftGXj4jTZSJ+DJOevXQ3ucoXAeBOmlh/AyZAMChiQq810e6g3Ez?= =?us-ascii?Q?kgYBnGG0cONDz7H59DlXqsJF6Wnkk0Xi/62ZbTjqFeYCd1bbKrmFTkBD4eUy?= =?us-ascii?Q?t9cHs+pvjHpTQCpoCAtVjX7wd17lO/EiKQFDSuV818OhSEBdoNdB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oEmgjTSFbkYMJ6lLuhLaQHl+920LDRG4g=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2703; 6:26C4UsSJr74JMU9hIPN/Rxw1Muffuws3p/IfxEeC1829quC26MQkGrwWySPuOwuRZCeFb13WX1JO0P7lSTv9q0tyxZdw3chuPGxCjsttIxLGodBnsZxSJuSiLj7bXmoUz6BvBl1gBO6ek/bCnK9p9t78WJWsS+VLH8ATpgSnfMp0760CXlS/WTgtzys8d0D+q/ZXBJlNFUlM6/7+xDnE+tr8BqgVWpt0OQDy3hdOR83y4JD4fa8VWdnMkvyTkFbFlTdR5eytwSbb/HtV+cpLrPgiuDAd/Motys2WTwtcKeNx7ebW7K0wV+tWpgwFG4XSV+WoCq4zs6rm0MsnyxAxQA==; 5:jAk7y68pSKzGYT9pEjpinwYpQGkgfo3eU0eZqm634hc6dkFguvLOXio40Lo6lD1KXi1l1w9b/YcCYW2PUbwU3ncmevrbTjAaJ2KR/GsakuKF03wVngoLdmzbBdVC91dqrsGXr/Wa8827p3GH7BJflw==; 24:PPjcBkYH/gENla1CbHVrSjDSq/HePgUPY0qQ8SzXF0soR2ZixGhVfNslIaAVUrZtCWki4oUC9T/IkC1zAB7a07nuCKuj6mGdup6Yke6VESs=; 7:Yjh77XIQAa/PtRXbt44COIpCIfXt7nLmkFIqmXRwT5+k/VyvEBmuI07IkPDqG/ubNETmSm5dGrKUyWkjJOYpIKtqa0k/BmGvS5hZLKLF4G25om9m+wKqurDCXiQEk+lDvyEEZ59HyRnm873PIoOUWkDv5mRFECgBEd1DsYH+lAvriYBzpdbMps1J+mjH+p//GNtaCzrTVW2VNiUv+m7OrdB+Yu62ifKvON+t0RHTNwo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2017 12:19:11.8852 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2703 Subject: [dpdk-dev] [PATCH v6 01/40] config: add NXP DPAA SoC build 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: , X-List-Received-Date: Thu, 28 Sep 2017 12:19:16 -0000 This patch adds skeleton build configuration for DPAA platform. Signed-off-by: Shreyansh Jain --- config/defconfig_arm64-dpaa-linuxapp-gcc | 47 ++++++++++++++++++++++++ mk/machine/dpaa/rte.vars.mk | 61 ++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) create mode 100644 config/defconfig_arm64-dpaa-linuxapp-gcc create mode 100644 mk/machine/dpaa/rte.vars.mk diff --git a/config/defconfig_arm64-dpaa-linuxapp-gcc b/config/defconfig_arm64-dpaa-linuxapp-gcc new file mode 100644 index 0000000..5bca012 --- /dev/null +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc @@ -0,0 +1,47 @@ +# BSD LICENSE +# +# Copyright 2016 Freescale Semiconductor, Inc. +# Copyright 2017 NXP. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of NXP nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +#include "defconfig_arm64-armv8a-linuxapp-gcc" + +# NXP (Freescale) - Soc Architecture with FMAN, QMAN & BMAN support +CONFIG_RTE_MACHINE="dpaa" +CONFIG_RTE_ARCH_ARM_TUNE="cortex-a72" +CONFIG_RTE_LIBRTE_VHOST_NUMA=n +CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n + +# +# Compile Environment Abstraction Layer +# +CONFIG_RTE_MAX_LCORE=4 +CONFIG_RTE_MAX_NUMA_NODES=1 +CONFIG_RTE_CACHE_LINE_SIZE=64 +CONFIG_RTE_PKTMBUF_HEADROOM=128 diff --git a/mk/machine/dpaa/rte.vars.mk b/mk/machine/dpaa/rte.vars.mk new file mode 100644 index 0000000..356a6af --- /dev/null +++ b/mk/machine/dpaa/rte.vars.mk @@ -0,0 +1,61 @@ +# BSD LICENSE +# +# Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved. +# Copyright 2017 NXP. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# * Neither the name of NXP nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# +# machine: +# +# - can define ARCH variable (overridden by cmdline value) +# - can define CROSS variable (overridden by cmdline value) +# - define MACHINE_CFLAGS variable (overridden by cmdline value) +# - define MACHINE_LDFLAGS variable (overridden by cmdline value) +# - define MACHINE_ASFLAGS variable (overridden by cmdline value) +# - can define CPU_CFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_LDFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_ASFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - may override any previously defined variable +# + +# ARCH = +# CROSS = +# MACHINE_CFLAGS = +# MACHINE_LDFLAGS = +# MACHINE_ASFLAGS = +# CPU_CFLAGS = +# CPU_LDFLAGS = +# CPU_ASFLAGS = +MACHINE_CFLAGS += -march=armv8-a+crc + +ifdef CONFIG_RTE_ARCH_ARM_TUNE +MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%) +endif -- 2.9.3