From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0078.outbound.protection.outlook.com [104.47.38.78]) by dpdk.org (Postfix) with ESMTP id 82BDC1AF03 for ; Sat, 9 Sep 2017 13:10:39 +0200 (CEST) Received: from MWHPR03CA0019.namprd03.prod.outlook.com (10.175.133.157) by MWHPR03MB3328.namprd03.prod.outlook.com (10.174.249.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12; Sat, 9 Sep 2017 11:10:37 +0000 Received: from BN1BFFO11FD041.protection.gbl (2a01:111:f400:7c10::1:144) by MWHPR03CA0019.outlook.office365.com (2603:10b6:300:117::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12 via Frontend Transport; Sat, 9 Sep 2017 11:10:37 +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 BN1BFFO11FD041.mail.protection.outlook.com (10.58.144.104) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11 via Frontend Transport; Sat, 9 Sep 2017 11:10:35 +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 v89BAUh1026326; Sat, 9 Sep 2017 04:10:33 -0700 From: Shreyansh Jain To: CC: , Date: Sat, 9 Sep 2017 16:50:52 +0530 Message-ID: <20170909112132.13936-2-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170909112132.13936-1-shreyansh.jain@nxp.com> References: <20170823141213.25476-1-shreyansh.jain@nxp.com> <20170909112132.13936-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131494290368660629; (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)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(33646002)(2906002)(106466001)(81166006)(47776003)(36756003)(81156014)(6666003)(68736007)(8936002)(1076002)(356003)(105606002)(6916009)(85426001)(50226002)(4326008)(86362001)(5003940100001)(110136004)(53936002)(8656003)(54906002)(50466002)(189998001)(77096006)(48376002)(97736004)(8676002)(2351001)(104016004)(2950100002)(5660300001)(305945005)(76176999)(50986999)(498600001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB3328; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD041; 1:3+CUq/D5T1jupSlZhml0uR8Kcb+Rdu5C+cFUkPUNh/8ihPDi/o9BvrUoNL/blSeIKFqpBVNqydE8ns8QQlqJAhhGU798FZiBJ87dkuMJaOTTsH8nHOau1gZH2k2YjrLO MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 542842d4-5dca-4967-8495-08d4f77365e1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR03MB3328; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3328; 3:kH1D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FNSckOjx9xm+7bjZLx+CS9CHNhYcvZtgRmaTfsRkvx6lrFuypNiK0ON1sl+d3wemrAn+m44kEQ3Zvy1Ht9Lo1LqCt4z3BAeqUrXKwDB4eGHeEtRPQ4r2iTx61Fb5eHh0pO4kvdOv3ssEjAL3awrN1D/t6sSuKfPrOLkr+v61w8IRWwErVDcebKipj8GM9/v3fJc57thmW+WJ0HZgtVA9XDjFFam2Viu7jzW5M= 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)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(20161123559100)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123561025)(20161123556025)(20161123563025)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB3328; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB3328; X-Forefront-PRVS: 0425A67DEF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB3328; 23:HsuoZ/Njkx+pKFNI4T3NQAnxaSuYMxtrne2/0D/hv?= =?us-ascii?Q?Uh53Vf+UjXwYTUoTlEtGCeFgfcrEKaA9Hl3nE954Ys3oNoAkDxxbgfW830/L?= =?us-ascii?Q?enqtHGofDe/Sg1Ux7Vw++u74VabA+S8wm1qRfG8JKxkRxcTCXvT1fn8XOyRy?= =?us-ascii?Q?CXErnNvXmYqVodrdnVBSOITsf9udyMaRR3cCuHWbn+cWgyiy4AtCdOnxGh79?= =?us-ascii?Q?9qaHYMsxzNUKbNmaavXP1+Ds2hkHLENcFb5NRS1M8KEthlQ+bx1/sskoQ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jCs1CPHQVEEM32PxTexqboh/TwO0zzw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3328; 6:bFBEtmwiLX6wLuF1v2kammnVAXJ9KWsMVVJ8qFWt8a+j3YpysF4kJamZc1UBO24uLXhOSkU2BJp/rupLU13qK9Ef/hQKv5uGNB+6TOgU4J6ey1huTxiVX2u284bES+nXrU1qNv0VYaHOsFNOmLCC/MfGr9xvrvLoIMM7LFfTs45tIkJm5nGlHMTskjVr4G4TJL/rpYbNnFHD6OZHyWwkqqp6aXySTqwNqKdM8fY6c25FJw0dTkaf+wcS9GVxSepWSkknLupzJAgQdZlGFCOTnRTT3c9ETPE0kO8ZTCXMcF6esg5Il0FEXnOLdTZcDXhO/5Y7zAInMYqQ/GLm2kbotQ==; 5:OgG14ZpExidLlv//kc5zeuIgmH1DXMVKOrasiTQF2RA9OUyNFKiOqsCW1QxvjHkMlMgRJn+TjztrKk3Qvbs1ORUtTSMJBtemGhw8hvwxWaFkE8hpLri8z94fzvsWGQBUJc0NTzP2q7Eh5vKN3P1/Gg==; 24:cu5jraypWt2Bzt8KKkQ8YW6N2ATSDiMM1P+dqHJmJS6asi9Kt6j5DfBVZAqm3/dQvIyDM7UyXs1E6hmvUOHJMRbU22yqRd8438f4Cvy+h24=; 7:oF2oR4DT5j3RluoRgSa6sEBaf6iZnTQ2/cZJdZEBtB8QQJJBKbcbr9wuaFmFkZ/nu1bOLwKjUaTqVUieHMXZqViw5oQ0eVEXMWG0oESqJqkYe3qdR0uVSp8dlAybIyb0usrkvRk4dFhavWSSIWR3iMTiSGO4Ke5TnOqwskGp8gMR/PW0O72yk8H5gXasHsVNxB0OoGk1eWKe75KnpNqMYzOsmEIn6ipK0tap0Fj4NeQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2017 11:10:35.6648 (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: MWHPR03MB3328 Subject: [dpdk-dev] [PATCH v4 01/41] 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: Sat, 09 Sep 2017 11:10:40 -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