From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0056.outbound.protection.outlook.com [104.47.40.56]) by dpdk.org (Postfix) with ESMTP id 4793C2A58 for ; Tue, 4 Jul 2017 11:24:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dOPiQEsVJpS8Nfl5jvTKe4mNbpR+RS2LS9VZDgdU+DE=; b=IoKVhwRFh363NZ21+dgo7AScNlI3nfpJslKQ+eub62P/gbtc7N42lz+bjkh2Jgo1/Cl5HvN7sbbZhbpXDGpO7invrmvcY7JFbEqfZbpMWPoZjdUYspg5yAOQj7l6GuKf4pvgYiU8E5ePpUZeVkgwrQlqe547mIBlRAoFiBHD0lg= Authentication-Results: caviumnetworks.com; dkim=none (message not signed) header.d=none;caviumnetworks.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from 1scrb-1.caveonetworks.com (50.233.148.156) by MWHPR07MB3069.namprd07.prod.outlook.com (10.172.97.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 09:24:17 +0000 From: Ashwin Sekhar T K To: jerin.jacob@caviumnetworks.com, viktorin@rehivetech.com, jianbo.liu@linaro.org, jasvinder.singh@intel.com, thomas@monjalon.net Cc: dev@dpdk.org, Ashwin Sekhar T K Date: Tue, 4 Jul 2017 02:24:06 -0700 Message-Id: <20170704092408.30878-3-ashwin.sekhar@caviumnetworks.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170704092408.30878-1-ashwin.sekhar@caviumnetworks.com> References: <20170427140618.35897-1-ashwin.sekhar@caviumnetworks.com> <20170704092408.30878-1-ashwin.sekhar@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: MWHPR15CA0049.namprd15.prod.outlook.com (10.174.254.11) To MWHPR07MB3069.namprd07.prod.outlook.com (10.172.97.11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 847a5bad-aa37-4cb7-def6-08d4c2be71fb X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR07MB3069; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3069; 3:7FKJEGgi+L+oQi7Gpqynf/K5xRxD0pOQu2zQY8qeg1uhD17y/JkDuQJgFY7mIZVgjAg5UA7nggVH0ya3urcjbsmQfnNfPyjmLwOfl2EUfTzHgd6BHqeVCSKg4HV9+w+V4w1crUKzHADwi1j+VCR7c0jS11FduDdV37rZgUgBJvlwDKwUJU7SrToSArcEaSBDlHjOvnrsjJLNnUjkKT0V7hmYhP62Z+3aznxKo5+vG6GxX3YA7SX3FSYBi+4LuG/KFx3YS7mih8d0vp7d/hd9ZFSWslz1sM9yo/qbjL2zrFNJJcLkiNDycg/YckQ8lc0vpLfjqRxTgQr7Yyg32EQ3bjEgLrTeIQUzqB7UGS4tcbIlIUOeEYkmtIGDtQqgsUm2K4/n0GIScVU/ZVTSoIL/e1jUmicKnBUg76DK/TJhqZa6QR8jim4MQYXWFftMdmRoxnoU1ezUbM2BVBCmfBHfKhXaCg2BVaq2huMUkBYcThp2rfw8PECVMPTq6nqNNHpVNrP6ca81ugLYkaJRsNSt5Hkh+Y8VWSTOyg6RVdmiHXz4GVIoO/1SIqP4yIKn0PsRIE23few+bUGOuWwSZ0FcwtltJA/F6SoPAddV0xM1372JSXe0b9O0KGN4FF5CiniXisJ7Uv2zUuA7mhIqmNfLZWE5eEou40PfnbU0DLsWh1e8XAW9vv3eMEBHuwB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QQib8uhWlcgp2r+bMcqDPtKkR7zvBQ/OzJnJ2Jln8t9/sqEgfsi5JKeRDOwr/Hu1ngKtxzQ5Q2USsNPsNyQrJgpvzk+4PGzpULy2ADtu61iIWY8S3Tc8eDexVLkjynGOY8LfpkZXZGjfXWaC1mfyhkCg3V5z8NgTxufCHVYRODuG+hWPpO3W/sGPaN6xNwaFTBC6JNIbP9XnSAF/ftNJ+P3o6UNpbTTucG3lWds3sagX3kiPjUiM/6mRh2QSoT99U3gS0BVkFR7P6HepJkFYB2zoA3xSirqQ0eEwkGawJxNXyYi3bonwtejWNxbc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123562025)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3069; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3069; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3069; 4:yPKwyFbJMsubY8IzMvbFYYYffn4mGYBDDklZGsnBVh?= =?us-ascii?Q?mLwSai9qs8Q/lNATtGimf9XgWqS3ltVl4Ldqx9etTxAN5gRXjpoffhbAHd8T?= =?us-ascii?Q?ECQ4hVNLSm6C6O95C8gt1FCcal7+PjJ0XzJJoRq2SwzB2rwasTBpAc3KVemV?= =?us-ascii?Q?p49JrlSyt3ZZkNkfMQplUY5n8rWCSBZMt0kpamziNqLIb43sf44HX/GZdzSZ?= =?us-ascii?Q?xAT89ctzivb5fO2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ypygFxVkVYbMqVts/AScaq3TvUlhPWFGfNkDxkk3HndYff1btevg=3D=3D?= X-Forefront-PRVS: 0358535363 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39410400002)(39840400002)(39400400002)(39850400002)(33646002)(1076002)(50226002)(2906002)(53936002)(8676002)(6506006)(5660300001)(81166006)(76176999)(50986999)(3846002)(50466002)(189998001)(6512007)(107886003)(38730400002)(7736002)(110136004)(5003940100001)(6116002)(53416004)(47776003)(305945005)(4326008)(6486002)(42186005)(36756003)(575784001)(25786009)(66066001)(72206003)(2950100002)(478600001)(6666003)(42882006); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3069; H:1scrb-1.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3069; 23:7l3saJwko9u7BHD6hcFxMJco6ltAQp67WwvLO2HA0?= =?us-ascii?Q?kl+qCgrzDG8gXI61kbz5I+cuGeR4yIMR0DWKmDUdB5/4RKrWuuByy4UU2RpQ?= =?us-ascii?Q?F1YiOLvv/GGJIClCn3C5BQxToYAXtxZleoAkSI94+JSlIoMNTS3/AQh5QRGI?= =?us-ascii?Q?+iTQ+YoYPJRJoyYMrM5aint7ueuVxO1pKb6Z4Evp8CCdi7g15g0qNdbT3KUs?= =?us-ascii?Q?re8kDEgpoUd4fMO4SdF4puD4wncxR7r8CAZM+GEEizDZyaCJwMp5IbcBxgMY?= =?us-ascii?Q?nIoPNoPvScMQiUFe1+muWxhNiDunj8F/e23qP660yb8D43CkdefcxjrZpktg?= =?us-ascii?Q?rynaGxvnSz7AkU/az19XhGiRrJo6k7I/LT4MsC24FYbCQe6BOhZwx26l1an5?= =?us-ascii?Q?02bSmDaGYsDNLEfzXT0Qxu0rrSbNQmwDoGdJtHgaag77NIAiELqIScl9Abx9?= =?us-ascii?Q?DeEiawX4KxJKUKyDdMxtCG6m57AWLIXZGCHqnF4DddOFU5mZHteJD+4KAMWr?= =?us-ascii?Q?BypbuKE5l6iy6MRF7w3CFEUXanvsAXayhnzMPOFzR62OWJL2Fis7pL3gQRsW?= =?us-ascii?Q?rdfGA9ATbmsoTvjUYXIq1xmNCK0EuVIxYXQMYgQeztj2tNMRq/y/fdeiP1j0?= =?us-ascii?Q?sxp2ld8b2JLf09DUkBWw51NAQ7nUDxiVb20dCbPgnmcTyzuXKlhsnCu5mJ1c?= =?us-ascii?Q?SAVaTPlkht3MSh6UsveC4DoJOG0klzKxC6HZs02EVG/zuGFhPaDe0QUwOMR7?= =?us-ascii?Q?qR8w4DYr1EKb51NBfUJ0anba01dIoA4jgXit1jaac49SnkrOc1HZPvRZRuQn?= =?us-ascii?Q?lISgRGQTGR8Mrd8dQK/yrlkbV7YFf9kGeQwRg8DpTCfcMof7LMcyVUHuYg57?= =?us-ascii?Q?qePjBlfpJ5doJR3NkvAflfXGpHGsy0dXjcohE6hEwvPldwo3cQTuwP00cvrq?= =?us-ascii?Q?g27YE5U26BJuqKxVZ/CBd0iZvMTertNbiUCpdh/1kv9ghqDEcYii5DRoBLhG?= =?us-ascii?Q?ilcvsPCRVM/TBUp7vMgtGnYufEiBb2Ey987f78prMGq3Ol2GLf6CLuzccPmx?= =?us-ascii?Q?7JsIcY4FyxLQfgU8iRRq2AEXCwwfUaoD775ojWkhiaXSUDe+Q=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3069; 6:aM7bKN++ryzHPEVXgOPxCa+9sS+f3MsGGq7UhXlEfY?= =?us-ascii?Q?cE5pqQ+cjrWkVOuZB4te63y8q67qpMomQsDRI3PWD7QRuqrg6BVrPg/qv2It?= =?us-ascii?Q?AuSA+i8XmDUs0lx5dfRw1PkKtxwJupP43oymXRukALbHOpR5nsZ3XwLyYoqy?= =?us-ascii?Q?Ppc19LZf6JWNu99we4b/Z0HynXCkSrsxuBkS1Am/Ke+ehDXz4hrNHcIqaHDe?= =?us-ascii?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NKKAz13d23B3a+CkzMlvt20l4fCG1GSBmOcHerY/CIUoPyQrEgy9T8QmI0qpSS+vrBpnBMJm6NORvwC7JuZTs/5h4aA0T0gPS0f1O2K9QL9xIpTVP+yZX0Sf6+ZbDJEvhSjRtc++Vx+Afx78/F1WTv88dncbZgXkKvWfd4VPAG7dy3jycVwHbg0LP2a20R9SVPXSin3KNaPSsFk9TXHHCWwO+4ZL3OFuCgNnbIMco8a14R3NdtLPFuTbLCZDmqBq5/r306pX15uKosgaBDMFnjpsK4yWd1Y5AhIEuAB+yPcCMUr/iwif7u3mlH88kWFIZKcHHZUoytN9s95fo01Zy8Hu9M+wyd93UpBbv6WwukOtuIQb0= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 09:24:17.5645 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3069 Subject: [dpdk-dev] [PATCH v6 2/4] eal: move gcc version definition to common header 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: Tue, 04 Jul 2017 09:24:19 -0000 Moved the definition of GCC_VERSION from lib/librte_table/rte_lru.h to lib/librte_eal/common/include/rte_common.h. Tested compilation on: * arm64 with gcc * x86 with gcc and clang Signed-off-by: Ashwin Sekhar T K Reviewed-by: Jan Viktorin Acked-by: Jianbo Liu --- lib/librte_eal/common/include/rte_common.h | 6 ++++++ lib/librte_table/rte_lru_x86.h | 10 ++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h index 99596de0a..1afc66e3f 100644 --- a/lib/librte_eal/common/include/rte_common.h +++ b/lib/librte_eal/common/include/rte_common.h @@ -66,6 +66,12 @@ extern "C" { #define RTE_STD_C11 #endif +/** Define GCC_VERSION **/ +#ifdef RTE_TOOLCHAIN_GCC +#define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + \ + __GNUC_PATCHLEVEL__) +#endif + #ifdef RTE_ARCH_STRICT_ALIGN typedef uint64_t unaligned_uint64_t __attribute__ ((aligned(1))); typedef uint32_t unaligned_uint32_t __attribute__ ((aligned(1))); diff --git a/lib/librte_table/rte_lru_x86.h b/lib/librte_table/rte_lru_x86.h index 041b538f1..ec9082343 100644 --- a/lib/librte_table/rte_lru_x86.h +++ b/lib/librte_table/rte_lru_x86.h @@ -40,12 +40,6 @@ extern "C" { #include -#ifdef __INTEL_COMPILER -#define GCC_VERSION (0) -#else -#define GCC_VERSION (__GNUC__ * 10000+__GNUC_MINOR__*100 + __GNUC_PATCHLEVEL__) -#endif - #ifndef RTE_TABLE_HASH_LRU_STRATEGY #ifdef __SSE4_2__ #define RTE_TABLE_HASH_LRU_STRATEGY 2 @@ -56,7 +50,7 @@ extern "C" { #if RTE_TABLE_HASH_LRU_STRATEGY == 2 -#if GCC_VERSION > 40306 +#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION > 40306) #include #else #include @@ -100,7 +94,7 @@ do { \ #elif RTE_TABLE_HASH_LRU_STRATEGY == 3 -#if GCC_VERSION > 40306 +#if defined(RTE_TOOLCHAIN_GCC) && (GCC_VERSION > 40306) #include #else #include -- 2.12.2