From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0081.outbound.protection.outlook.com [157.56.111.81]) by dpdk.org (Postfix) with ESMTP id 9315C590C for ; Fri, 27 Nov 2015 14:35:05 +0100 (CET) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from localhost.caveonetworks.com (122.167.176.181) by BY1PR0701MB1722.namprd07.prod.outlook.com (10.162.111.141) with Microsoft SMTP Server (TLS) id 15.1.331.20; Fri, 27 Nov 2015 13:35:02 +0000 From: Jerin Jacob To: Date: Fri, 27 Nov 2015 19:04:27 +0530 Message-ID: <1448631268-10692-2-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1448631268-10692-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1448631268-10692-1-git-send-email-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.167.176.181] X-ClientProxiedBy: MA1PR01CA0005.INDPRD01.PROD.OUTLOOK.COM (25.164.117.12) To BY1PR0701MB1722.namprd07.prod.outlook.com (25.162.111.141) X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 2:IT4Y7naSUtgMcL1TFUrCWwvy9OkfJf0qXTrIOpaVmORCaKw/v10yEPCXQdYKzs5PeYSj7em2wBusIBlFwBISArcW3dxe+6PSg22c8fut+eJmgX893PX4bjmwsx+Vl5xXfnPXlwPjviGHTkYyxYGkWA==; 3:ilVW8W6n2gV14lpPX4/F8iFDIBGbRPL7CBQ/U7dcpMvjSMgayI9+AobOwURGHNf3GLSDgV4Qh31js/0GGZAxTNPQTg+JpuJtbGDzTDX4BFLLjtLVlqYeM4Qc1jbaE8r1; 25:LszCroyPpYWqlNNKP1jyRrEuiVMA8NDqF08pfltX+RHODgbeqvINJ45c3VuxdJhbUaF1dfoJ1bdXYO3ago/62OX0pNMDU2jbPxWUlt8BkFqKYHNxwLuue1lAfR6/sCQoqfXa/PKstKTEf0ZFJOdiX5CIViMiaD9Gmjgbj0L2WYBX+LVyv5jyHerzW0HZ6Zjkq9Bb4mkcxrAqV+hVuDq0Q8MIpfrU4nT1zo/4iibIVTx4la4HKDDwDXAIZDJ3Hc3H7QtsXNxZizIEItWIWEj7BQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0701MB1722; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 20:sM7pUFxyOXpGSw647ToiL45xSJeB3KuESGgzqqISQskiGBIR2Sfj6EnS1HTyNQcsw1f61A2PYF53c97pEMvmcRjL0g8jc/MPZh80lPTH9D/N+CB4oxnCBkktlDbHCjK/VNjyaE9SgxXfyn7ngTiVsKEUq8/OX8+J/mMx8tn1HPYH1LDuEtkOQkreGQnfmCeulF9E6jqi5SH5io9TeIxVW3Syxy5wbmZXh5jAPwYGAPAUjtgyX6MNWXRtpCcGniT3005VPo4CX2ReBEw6EqePgm0hVBg/u4VZr9KcEVIw57HW9doMXKJfxZpTRCCSNJ2YEDBGZZpsLBg1ABUgoO5AhQ7FD9AYbvPdB/EmXqg6o5hiukP66l9SfEXAeZmnk4S2AlJhXJJYScx/RZb8gqgLooNdjzu6tizaMcI+OsnvC1+GuAaflvppqYR5DdGgr+eKIwEq5j+1SR/UigxO+ferzEkGT78kaLb77v2bjHMp0GJQn1j6S2YpKBB4pPt/B4iSuG7c1kloZABO0t6LXqlmx4ZAzcSRFIvEekke8DUjAChBYB5j0Ah5tdCBRtm27ssNES/7mSl+TYPHGlko2ivSsVhRyPtkqeQmc/lsOHqSFYE= 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:BY1PR0701MB1722; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1722; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 4:yXNJYWvbv05QefzKzNqADims16TjzsjIy7hMnGfARUShuUWzJRz5UcmDNZnvhvRPxOUnaQ3bz2xMKPACL8VdmFQsNl7qq2aUcZ9iEfyp/o9EV96yxnoGmT+jTlUzULbx8S2rkaBLpK7+XxCWq7Gl+ZWaQiYjRGUf25UiYRrL0XmQiTnmnp4+CtF8IfncuyH2IGVgWfXcGYx5RjzwhHPFQTp+TR82+/SUvPTSlM7QW/ewVkE40K2WTKOBWjgZZ+hDq6xI4KbYi0eV7Tz7BPX3w+AcGG1KpvnD6Z0WHr0yI+Naq7avYlZJA9iqvegV/K4B+Er/UPl12xOrz3D6szn4+sqauc4/EoXHRFyTGRzGDGBpaNiaXr6iveeqmVigoiy8hJYsZEdwoKuFoqxYrjwVS37E1nEhYk4z3xCvMdB/CxFDGjjacr6ayOYyUDHbQ9G5 X-Forefront-PRVS: 0773BB46AC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(199003)(189002)(3846002)(48376002)(107886002)(586003)(40100003)(122386002)(76176999)(86362001)(6116002)(76506005)(53416004)(66066001)(47776003)(106356001)(189998001)(105586002)(81156007)(97736004)(1096002)(5001960100002)(2351001)(229853001)(33646002)(77096005)(87976001)(42186005)(101416001)(92566002)(69596002)(5008740100001)(5004730100002)(50466002)(2950100001)(5003940100001)(50226001)(36756003)(110136002)(4001430100002)(50986999)(19580405001)(19580395003)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1722; 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; BY1PR0701MB1722; 23:sNGHAXeSvOCoclaQ0z4bi/3vrYA2A/OFf+y4BD4?= =?us-ascii?Q?xlsbvt+g1Y+XmtF5pVUvq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OMgXXy+u31w?= =?us-ascii?Q?f8mP/OIivkZ0P+k9bN8INJ7Wj1vHMin+ZOdRIfxP4hytGHuTuEg5Hrm6j/Zh?= =?us-ascii?Q?aK90rb7onjQalz/iAwA8QxMhbcIbMHtBp+6zyb7fFge5ei/fjHNNo2/+kV2Z?= =?us-ascii?Q?DneY2TAfETFFBe5WCD2fzQv8FJLvF+agJpkp9cYucGwr0ghFBm/Q6kNAHjPR?= =?us-ascii?Q?mtiUQqrfTUueHZDnSj672ZXDcXICbQzSK1zsD/XKgsRV+s1rZsNHNivSkbBP?= =?us-ascii?Q?Rm2QurDezhq3smLfbtvekxTwopH8IIIW6KRMW?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 5:9qpXJ1DpsevN3SoeFpQmltX/ZC9gG68BE0o6Yy+cYRJQPLTS5DFZh7SG3nGKJZhrl2q+AA0DUckcH4cpwuzhhf39dVCsA7WmgU2Ml7+lHhJEM3oFwfkJ3pZMTd8xvCCKUszw71vWwuJdTZAdeXt8cA==; 24:g26OvX6paMfXey1omCpJAeof10WVPFFy2FSOdU5BMJANdwk6JQ+Ox7/vIL6L4yPd1Y8y0E3ptLZMX1i+XvkRdXPdyDFjygDdc23qo84q5qQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2015 13:35:02.7264 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1722 Subject: [dpdk-dev] [PATCH v3 1/2] config: arm64: create common arm64 configs under common_arm64 file 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: Fri, 27 Nov 2015 13:35:06 -0000 let each armv8 machine targets capture only the differences between the common arm64 config. Suggested-by: Thomas Monjalon Signed-off-by: Jerin Jacob --- config/common_arm64 | 48 ++++++++++++++++++++++++++++ config/defconfig_arm64-armv8a-linuxapp-gcc | 18 +---------- config/defconfig_arm64-thunderx-linuxapp-gcc | 18 +---------- config/defconfig_arm64-xgene1-linuxapp-gcc | 18 +---------- 4 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 config/common_arm64 diff --git a/config/common_arm64 b/config/common_arm64 new file mode 100644 index 0000000..5e5e303 --- /dev/null +++ b/config/common_arm64 @@ -0,0 +1,48 @@ +# 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. +# + + +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_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/config/defconfig_arm64-armv8a-linuxapp-gcc b/config/defconfig_arm64-armv8a-linuxapp-gcc index 49e7056..39e36b8 100644 --- a/config/defconfig_arm64-armv8a-linuxapp-gcc +++ b/config/defconfig_arm64-armv8a-linuxapp-gcc @@ -30,27 +30,11 @@ # #include "common_linuxapp" +#include "common_arm64" CONFIG_RTE_MACHINE="armv8a" -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/config/defconfig_arm64-thunderx-linuxapp-gcc b/config/defconfig_arm64-thunderx-linuxapp-gcc index 6b2048b..d63d9b8 100644 --- a/config/defconfig_arm64-thunderx-linuxapp-gcc +++ b/config/defconfig_arm64-thunderx-linuxapp-gcc @@ -30,27 +30,11 @@ # #include "common_linuxapp" +#include "common_arm64" CONFIG_RTE_MACHINE="thunderx" -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=128 - -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/config/defconfig_arm64-xgene1-linuxapp-gcc b/config/defconfig_arm64-xgene1-linuxapp-gcc index d75f8f0..0759721 100644 --- a/config/defconfig_arm64-xgene1-linuxapp-gcc +++ b/config/defconfig_arm64-xgene1-linuxapp-gcc @@ -30,27 +30,11 @@ # #include "common_linuxapp" +#include "common_arm64" 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 -- 2.1.0