From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0069.outbound.protection.outlook.com [104.47.34.69]) by dpdk.org (Postfix) with ESMTP id B828D5689 for ; Wed, 23 Aug 2017 16:02:33 +0200 (CEST) Received: from BN3PR03CA0060.namprd03.prod.outlook.com (10.167.1.148) by BN6PR03MB3313.namprd03.prod.outlook.com (10.174.233.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.9; Wed, 23 Aug 2017 14:02:32 +0000 Received: from BN1BFFO11FD040.protection.gbl (2a01:111:f400:7c10::1:118) by BN3PR03CA0060.outlook.office365.com (2a01:111:e400:7a4d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18 via Frontend Transport; Wed, 23 Aug 2017 14:02:32 +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 BN1BFFO11FD040.mail.protection.outlook.com (10.58.144.103) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Wed, 23 Aug 2017 14:02:31 +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 v7NE2Q2l004389; Wed, 23 Aug 2017 07:02:29 -0700 From: Shreyansh Jain To: CC: , Date: Wed, 23 Aug 2017 19:41:34 +0530 Message-ID: <20170823141213.25476-2-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170823141213.25476-1-shreyansh.jain@nxp.com> References: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> <20170823141213.25476-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131479705519362826; (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)(336005)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(53936002)(1076002)(76176999)(50986999)(50466002)(8656003)(48376002)(86362001)(97736004)(104016004)(5660300001)(110136004)(36756003)(305945005)(356003)(33646002)(6916009)(77096006)(2906002)(2950100002)(54906002)(2351001)(105606002)(106466001)(85426001)(50226002)(68736007)(8676002)(5003940100001)(47776003)(498600001)(81156014)(81166006)(4326008)(8936002)(626005)(6666003)(189998001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB3313; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD040; 1:OyEoLEN3N4vutQtLyOYf+Hj7ULgDmJPcKK9OfgHGiU8OEyKvx7x3b1BYIEOce5VCw7nzUmppr0SIQW/lLEtSO8LvvI+zCNAuisN7errgIijCaPNUFRRx3bswB8xQ7Gi4 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 93d0bb45-9917-4ccc-8822-08d4ea2f990b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR03MB3313; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3313; 3:6mpI+zNh4O7+lIVEzMAA4cTn/rIZedJBseMPCun2ugkZyzk9+iDZpPplsGiJU14zCLOymZohQ386CI67LS1uis+/eXGaEvggxMpCCvyaSD1KJJp6TVGAdGnL1G3eXK3wniyhT3NoGLZ4lBkZHsp+X8ikftIKrQdQFuXbXStMiiAK+cuVZfb+0XyvVvrVvodX+9+1qMvZZb126upR4zNd7EdurLgQb4cNopfSHUmZy8T045usQxNBObWK4gunhRMtRCKB5EFp9kxnzpOYOwmWrRH/X8D4Tj37EtSyDeffaHzBCdbrszJTnpw0xa+Px1fZy8MVEeO4a5GA8fifSBk8yGpTkE26ke3im6xQgMbRU+0=; 25:U16JIJvbNAiFQvtU//qnMf2xutt1qWwcT/28c7JROvBr/II/3GDCaZHh8fugTwlvxhgFSuOXccd7NYffK7J9ksVSbITAqL3kRco1JhShkq+ZEUHBC/SR7ko+oXKSvNbHEs1vSTCSuzJmrVgsvDActmnznMtyw1zB145C4z9S2qbzEHtxd00Et+mWT4N23es4dSbPdOs9r2uTV2eaPWbJBGPvNXhySJEiwTqICRHdM7DRcLl9PXikcrsC8jmRLJu+ywzUgyUQj6MCSQDMi6bDfLzBZr4gALZlDZHYXzaSlXc5P/V82AtanTCIsfVXY+Rw6a1pw9XNI8NjMATqLsRWgw== X-MS-TrafficTypeDiagnostic: BN6PR03MB3313: X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3313; 31:AAvP1W4W7kNX+OcrJ4GXlh1tBR/X460OzxmSuSjO2Kmls4pJF/v7JQ/dyGZHs9QDaa3cFQXcflZ/uXkAhz5go+PRjye+UJfky4p+rpdND7BhIO22aH2++C6nJYy4IR5Er5SE7MA47BC6FNuAnV4cF+Y/Nws0db39yvnb/7E7xeAjYHBVXQwIgJge979FvTEcQg2wjuqv0fra2Simu4ZAjbb0To4u201gMLvlnAf5Hcs=; 4:WhPaoVagC1rW9Xc8GiRtN5DkBHX5G9VuFC5SWyGlDXQrvsTwCmib1dxtFYPreimpro+SeXOkgN8jUwg+asiaIu7MPvWI/xL0xNVFPfsTK5mJvV5/b3VDW8vjv8OjGLKqL2w+YNCwbmu7fhe6OYxveAagORpHAMZ8nJErwVm0tTRY5tLImQYvZcLnGL2G1Vy4QKI/FLVhUf4GIoO123N9TCOXXqAwCEs+IJugVbHddI1cVmwT6p1Jhm2kXZ8UCCtHXTsSMiLfxmsrSXVdT+yA/HR8HKo8D56JJV5ZOtLidyc= 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)(601004)(2401047)(13016025)(8121501046)(5005006)(13018025)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123556025)(20161123565025)(20161123563025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR03MB3313; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR03MB3313; X-Forefront-PRVS: 040866B734 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR03MB3313; 23:H7v1oKByPO6qw0blrDUgo7d4g8j+HFUCdJMsIivKl?= =?us-ascii?Q?Vb7UBe2e7REEhNrdZ/aJ0k2N2v8U9oez09dVj3zIMU+iHOzKkx8zCtWqLtPh?= =?us-ascii?Q?v6hM+it3vxjjYOSLYqKE0vumesoavjVNKpD9QgVGRPvxWmOpw6mi9A+ZTM82?= =?us-ascii?Q?wK1s0czh3lcyN3gfTqkIIDO1sll75rr4l605wxPG0LvzbI0vB/9pRyRBdWJQ?= =?us-ascii?Q?3VjHW15lIBHKUSzeqS5XR7M2gZ07WQIHjnld/KD792QKPFJ+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4ca+xFBWNyiPuycMmYr6r5QBVkA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB3313; 6:pBZrZVRA1QaHCxKJr3vhCHgOlH94Go4TlIlSyY6d4oQ5TxH4AtKbO37AHm3jo5ktETPMUnXjW2o7dereeBm+IPqwohPjtUCojMCP6bjkLDNBPDqN2CkRSmZ4HILBCUGFLYcdLaHCLUuTlvsj5gLOV+z2HPxFkmXiD4w1ZyEzb0zP9meRaO4J2FbP9e0beGQsFac4GgeRQGJZz3dBemlM6VPgfMcuGYocUXaM/vShidDZM0njKEL8AxvfVT8gLUNRePK2lAN/bE4SuXdh4qdDoYcVHgglWvuofYVz90Mw1myIP8phAkrW/ELh7bN12oycS8143xbvw+EXyvrnLrtf0g==; 5:AOE9oKoshrLAAFSzHa0cgR+mZjUCKyhRul0/mLu/7+92/ZnugAHmZOFRCleoQaeZqcCBlENN+4kbLS1xE5KKpz4sL0TgNUuhkZFyuw5slzSrzooinpfBgNQUXmvFugmMY88X63ShAJucLLATpInENw==; 24:qZVjajtdw68PqDXavEVugMsljU1/5fAohG57T1SCCI0lf6VTqiIdcJxcvRQDqVK9YkyTyatUNth8ycilFc2/R5JbCYqULSheWE3MgN+T5/8=; 7:5ZkSOQew6a1/jMR56Xazel2dwegw0hfnClrId3Ofk5+w/x7VGZg8vnbot7zbX0807Pmq728w6S/+vsHJRu6qAyQS1GR80ZLf7TT1dHITFL4ZpDNxYhsUKjrNjGMexOcfbBTyGrDpfBYViMP1Qw2271/GiuBSETkBF1t+J1ZYjOK3sMSPcH1OyZiKm0TtZpeLZai0aqrqqkkM675NJXZpGxf95/dnHtCV7LCStldSy6E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2017 14:02:31.4682 (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: BN6PR03MB3313 Subject: [dpdk-dev] [PATCH v3 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: Wed, 23 Aug 2017 14:02:34 -0000 This patch adds skeleton build configuration for DPAA platform. Signed-off-by: Shreyansh Jain --- config/defconfig_arm64-dpaa-linuxapp-gcc | 39 ++++++++++++++++++++ mk/machine/dpaa/rte.vars.mk | 61 ++++++++++++++++++++++++++++++++ 2 files changed, 100 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..0815026 --- /dev/null +++ b/config/defconfig_arm64-dpaa-linuxapp-gcc @@ -0,0 +1,39 @@ +# 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 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