From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0094.outbound.protection.outlook.com [207.46.100.94]) by dpdk.org (Postfix) with ESMTP id 4FC5A91AD for ; Mon, 23 Nov 2015 19:46:47 +0100 (CET) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from localhost.caveonetworks.com (122.167.53.209) by BY2PR0701MB1975.namprd07.prod.outlook.com (10.163.155.21) with Microsoft SMTP Server (TLS) id 15.1.331.20; Mon, 23 Nov 2015 18:46:44 +0000 From: Jerin Jacob To: Date: Tue, 24 Nov 2015 00:15:38 +0530 Message-ID: <1448304338-22767-5-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1448304338-22767-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1448304338-22767-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.167.53.209] X-ClientProxiedBy: MAXPR01CA0022.INDPRD01.PROD.OUTLOOK.COM (25.164.147.29) To BY2PR0701MB1975.namprd07.prod.outlook.com (25.163.155.21) X-Microsoft-Exchange-Diagnostics: 1; BY2PR0701MB1975; 2:WeCaQNOpgkGAV32C/IfowoezgdUPQnnkM5O1s/+clY0X7Mgwmv8sdL7/9GUxX6in5Ks4dTnFvbnfc7oBv0hqI1MzwaicmANDB4NQIlJwzasq/UcE4vLXh4yCpOAIdrwHgMvx2HJpJhfrn0GRUAFI4Q==; 3:U/4CIgBCMpakYJgjTCHo0TiDMozUe/dqoj7gsXkka2MArj/lW19lieooPiIVBtdGD6I5MpBfDx9MFmmrhFEI4OBA+7eGXjSM4vUHOqHsXe56m1FO12jeus+ho9JOtzxt; 25:cyABofFzIm+BM4PoPo69jo2rtetwMhyq0ZaCllIawn1ZPuJi8KJHIp0XKOaN4z6p64xGyOexhT5NX++6zCk4bOEIJt3Hg2/pYun/6TWXj4FAkh5rK7+tP/NAcVVDg0gkwMEY+dwuowMFLmIFOlocO8Jr5TfXxr0vOLaBzHPRKkNe0KPMtFqLj4kqdtdA6BgcYWJKE3TSnpsTLvEdDi7eXV3ITD/d8IFOQKGDkubsXMlj7u5WuACQDoHMVf6pgmiQXzQxoa02Znr4HX0VYMNKvQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0701MB1975; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0701MB1975; 20:Lt8vtdsOxcK2fESk0SRp/xkJ6jtJbk8Lv/AFbOT430YktTRzbN6SKVx9UhXEaPmENFe7A0Ke63XN+rPt5AemDLAPgbMfL4aKZ3sRpWgHdopB68r/tsXNB1lM+mdK3PN0w2BQsgDDzjNi3C7Zd8vK/ZFgiq9inCYmerYYnjXxW67gbIfOW5Pe4obefsxK0uCRG4PMW45H6znSgvf/p4lSMfj4Suc3u5qfkggzFq3X9r1J9mzRt1pidvHFgaFFZJ6IwpOW2mWEvDBZnSbIUy7HnCazH5Dvhk4B8d5+vBqMhKSb/K9OX+ovKh6WhMcBbKU/q1QpTLxs/ql/r9JvMp9Z4lwrcfsM12BnMjpPRT02E8H0EN73efD3rLVneEz0JwaGitamnKbRsGL7klbKAphAVfO133c+0axj06F4gYzramLqz8gym5tMRY5aaLCBlz3RDTc5JYIaP1FCcaYYSv7eeHOYUdOXv/gVv3QlbI02wEb1vFOnm8eCH8x74aSiLml66wc1fXd+aPykDM9L8tfSXHsiMYaAIJyDoqfvwOqlTRWwQNCbz010aI2ZmtVqktBJH05MqiliJ+eV/L4RTbokAZX6MT19ANTDrxNMzwfkdhQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236414709691187); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:BY2PR0701MB1975; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0701MB1975; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0701MB1975; 4:9QNiiDesBs//3GnMCL8HvlywBGJYoQcAdUXV047huqIKgsgJ0D0msQ1fzO4IelhK4l81fLY7akJNbmR0J+n207kYBfA3KDGK0qZ1aHZODUetNYd2jSjq4KxkhUm/gDrTLBflQkzYujsom0PCeV/OMefyQC8QF1C1CM47Hbybs9vpNKT+eR9uwQVQ4YdBns7r2YP1lXxlpKZXuv4sPZuE400jjTDlk4e2JFKTPXmO08jZ/UAf1isTqULc7PFtbPwRIhH+y9jnDXGsnhkuYikZqjsYWgOxtWXdFI5TLGvzTF3THvjG7MSmoYTtFg7agLgMXXXBxqPUlz2pFiIvEgHMKGecwDx55ZFxOf+15cmNJ3MvQPdCwNSO+wvQBwbbFI8mEbAJPGEp4A8ey2Oc7jhUrqbopZVZvJxvgg/yJ3Q6W3LWbi0GxrQjlLpRtz/tn1c7 X-Forefront-PRVS: 07697999E6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(199003)(189002)(107886002)(92566002)(69596002)(48376002)(5008740100001)(50986999)(101416001)(19580405001)(47776003)(42186005)(19580395003)(76506005)(97736004)(586003)(4001430100002)(66066001)(6116002)(3846002)(106356001)(40100003)(5004730100002)(36756003)(50226001)(33646002)(87976001)(86362001)(5007970100001)(50466002)(81156007)(77096005)(2950100001)(122386002)(5001960100002)(5001920100001)(110136002)(189998001)(2351001)(76176999)(5003940100001)(105586002)(229853001)(53416004)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0701MB1975; H:localhost.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0701MB1975; 23:tq1xM7tdw1R7roGGQc5bSG/Sk5IPHzRZg1xLbtm?= =?us-ascii?Q?Bns+ccWoZyU4p/+kHpYhrcYWH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xwGEGOQpPRmZdwKXXI1b8ok7NnHTmbfe5mUvo+wR2bTEA2R3iKx0y?= =?us-ascii?Q?PR5RIMNipKBMhf6oB4hZOYFOz9gsJtd8rz0BemuzWisB+b80Fz7t1uIzWOgd?= =?us-ascii?Q?PYiL9Fd8cXRR9l5097I8AqaMNhmL69Ei3q4UCz5KFi3icRJA5qIry5xnT+er?= =?us-ascii?Q?fPIqTQAs4cfZ5Y2t2ub5EZSt8xVTOxBOeikgAklOCvvOL9dcUvvE2/nZMCwm?= =?us-ascii?Q?QGM5DFPR1SBXMfV+EN/zBbVgpghyXrrh1aUkxQ87K1EDXcU94SkC2gGcBXOA?= =?us-ascii?Q?03mHUk4S5myt2YrGGaak=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0701MB1975; 5:tDSrGzlHxTP2FBxT/oodUN0Tz0vv4Z6cjwUx6oN64pOUt/J/zFKhe+Nz7mApwJmxGuTTPlZMAgAMuNa34nvf4n+Sad1FJKOtPEP17Z9twclr4gYuSryGRbl9aNPXX0JLvybupZl+3t3lTNebj0qfrg==; 24:txOla9AtANb2htxI5GQpOTiCBy0DYy1fRDoxKLkxkkyPMSYnkqNAy3cVsvAcjC+t7Xm+vNMdm7Y2UYW0aev6CJcHfZeazd0VjC0n4R/GIkw= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2015 18:46:44.0953 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0701MB1975 Subject: [dpdk-dev] [PATCH 4/4] mk: add xgene1 machine target based on armv8-a X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2015 18:46:48 -0000 created the new xgene1 machine target to address the difference in optional armv8-a CRC extension availability compared to default armv8-a machine target(enabled CRC extension by default) Signed-off-by: Jerin Jacob --- config/defconfig_arm64-xgene1-linuxapp-gcc | 56 +++++++++++++++++++++++++++++ mk/machine/xgene1/rte.vars.mk | 58 ++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 config/defconfig_arm64-xgene1-linuxapp-gcc create mode 100644 mk/machine/xgene1/rte.vars.mk diff --git a/config/defconfig_arm64-xgene1-linuxapp-gcc b/config/defconfig_arm64-xgene1-linuxapp-gcc new file mode 100644 index 0000000..d75f8f0 --- /dev/null +++ b/config/defconfig_arm64-xgene1-linuxapp-gcc @@ -0,0 +1,56 @@ +# BSD LICENSE +# +# Copyright (C) Cavium networks 2015. All rights reserved. +# +# 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 Cavium networks 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 "common_linuxapp" + +CONFIG_RTE_MACHINE="xgene1" + +CONFIG_RTE_ARCH="arm64" +CONFIG_RTE_ARCH_ARM64=y +CONFIG_RTE_ARCH_64=y +CONFIG_RTE_ARCH_ARM_NEON=y + +CONFIG_RTE_FORCE_INTRINSICS=y + +CONFIG_RTE_TOOLCHAIN="gcc" +CONFIG_RTE_TOOLCHAIN_GCC=y + +CONFIG_RTE_CACHE_LINE_SIZE=64 + +CONFIG_RTE_IXGBE_INC_VECTOR=n +CONFIG_RTE_LIBRTE_VIRTIO_PMD=n +CONFIG_RTE_LIBRTE_IVSHMEM=n +CONFIG_RTE_LIBRTE_FM10K_PMD=n +CONFIG_RTE_LIBRTE_I40E_PMD=n + +CONFIG_RTE_LIBRTE_LPM=n +CONFIG_RTE_LIBRTE_TABLE=n +CONFIG_RTE_LIBRTE_PIPELINE=n diff --git a/mk/machine/xgene1/rte.vars.mk b/mk/machine/xgene1/rte.vars.mk new file mode 100644 index 0000000..bdf8c6b --- /dev/null +++ b/mk/machine/xgene1/rte.vars.mk @@ -0,0 +1,58 @@ +# BSD LICENSE +# +# Copyright (C) Cavium networks 2015. All rights reserved. +# +# 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 Cavium networks 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 -DRTE_CACHE_LINE_SIZE=64 -- 2.1.0