From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0084.outbound.protection.outlook.com [104.47.42.84]) by dpdk.org (Postfix) with ESMTP id 5BD5E7CFC for ; Thu, 30 Nov 2017 14:12:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rufL3XeuprvUvAX+uWM4ym3W9si8JNxpNo4zyRI59jk=; b=jXTd0d7dUVdh7t9pAyjPqFtc8N3OYNGqQt+mPppNDyQEW1oBOXiJCesNZcq3aPQJZ+8Juhsp4mLWS51sO7HNZENnq4mc4uyas8wzCBub/VmjDgubv70FkdDmCH2cj7ggRBZyKuD2GsbvU9RrACHW8DvHP+Iavsakc4mqMKFWj94= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Ravi1.Kumar@amd.com; Received: from wallaby-smavila.amd.com (202.56.249.162) by DM5PR12MB1514.namprd12.prod.outlook.com (10.172.39.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Thu, 30 Nov 2017 13:11:59 +0000 From: Ravi Kumar To: dev@dpdk.org Date: Thu, 30 Nov 2017 08:11:11 -0500 Message-Id: <1512047472-118050-15-git-send-email-Ravi1.kumar@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512047472-118050-1-git-send-email-Ravi1.kumar@amd.com> References: <1512047472-118050-1-git-send-email-Ravi1.kumar@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [202.56.249.162] X-ClientProxiedBy: MA1PR01CA0077.INDPRD01.PROD.OUTLOOK.COM (10.174.56.17) To DM5PR12MB1514.namprd12.prod.outlook.com (10.172.39.146) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8cb70709-10a8-4376-f54d-08d537f3f120 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603286); SRVR:DM5PR12MB1514; X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1514; 3:VqpWqI7hEEMJgn5u1wxvZ4hohH7M9WUvz6eonmHB5oM3BddoJvjNTQEkUG839CC8fco79t8UAKQm86cWfhT4Y/E4OwrvZWChmYlonIB4vO7LyjJwzFPlrEYHt0sODdaiMGTPW/C2ZtJAt0ybWVuDLNI1vIrir2scum7cFtu5FuM4R6MBzNZSlinsHvQZbWSp4X3Hp80I/8lXJeYA5KwGz0Kq8TaJ3cUpqEWEUFVJ4wStX6+T1foKSJTqzDmFvG7h; 25:IDInYuqUT5d3n+bP7JkolgEqTd7TRFUuiS/vfDahnjD91QNLsnxKVZdC8OUr0jca00na7l6s1oaJcr6xEJGIzdC2VtQzZf2XyRvVwY2usDkwtxCaCPp1JlZAe4J446KS8PS1A8PWv27zmSfmrCy0whqAkrTdf6aKOQ/m++zQKRPpKZiOwZNWAuytXsh3fQT6HTvSeJ2nmoZGd/sMuUFtRFA3/WYPgsVYZ2wGFVorBdCmj/vgJ7vrJA1jhJqPNou6UU5PPb+BExXKJ7QR8zqpFmH2+gPVp9g8YXeirNhZdiwwGoJyRSwLbbCRlotLGEk/P6wpMQuyHY2nDcw9+DWGqQ==; 31:KSx9smY7ZpzRQ90k44uBO9ZbEdUUP6dcRo/aCb+CpewCuvKv0bn3K89rcSRM/uTFiP6fzbVKfqNdrl/crMJRjkAfn5GGofRD+Gd4egxQCwEpBd1ZpFnadaooV0tpb39R5ygvLL4rIzG84MdJNJT1yBir/yIIbEm95buTqP4kOJpDBIhp6SCaoyxKFf4Yl+HVLWu4MUiD3IDze0JREkpTg4Kxfi094/UhnBqVg0Xg7kM= X-MS-TrafficTypeDiagnostic: DM5PR12MB1514: X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1514; 20:LdCjQXNu+A+fN+gbsGwM7j/MDyDrOya+yZiwdn73530dm8QDs7ZPmytCmYKB9SL5Zk8Z+B0IjESB703uc/LkN9tR7ke12mdmEpGeA/BQ2+Sr5frqlkNG3f88LbX5h3AwPEaBIqZog88vxMGLAwsZChS8xhE4ZP0luJI6WadHAiz69Cy1ND5zRwcO+QK7Iy3Y7/iRHJUTAj5US98S5h2xxiW4qNF0ESqH5/rNOIua74wsJnvaz8jukQaHKK0QxFs8bX982+pAzdwgaG7zl9S/DYjM3TkdWT/rwC4XARfJOu+QVZFLarg4zKSghzLXlc+ciy9ZBguj4FsFy8bVwUQF+TxwI11ZokSdRNiCHlnza/AptPxwYQYK7FV3iG6a34UJFAxTSU+ZEg37/ywyGEt1gusc2SkhUxGwtanczUvZ6CE6r5EG7QrX0w5DWX2hQ2629Hf9yyMhrU/4YIOJ5EEZWpLo2u+FKRx5TtJhVXkxnJFs9k1aA6nRu3GhmH7phFal; 4:zBoqUF7qpykemzo/7I0CIZ1GPvpnBDmb4XZ3dl/hoSIJhNr99L/svlG18YRDLPwiu4a5jyTefz8Z4Qc3Cj2CvY3si6skuhEUMj9RvA07vpQ2KBQi61v+tDnpC16bsObA31L8reC9O2UGSVkXUz1d8kGa3NF7VVZb9C0Ly1dbeeCqezm4Fv0Cxk0cpKIKb0Aold3C8DLIuPsNqW+uwD9hMb2UcT+HEQj/co/Ddhw+BVLdhc84JpIq4LTXnAxeP+8Elfsa0hR6FMdjyx2qzPakPQItQuPIzVsW6dOi/bwc18ZCZZadRz1gbwDwiFp+2Nn7 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231022)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(201708071742011); SRVR:DM5PR12MB1514; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DM5PR12MB1514; X-Forefront-PRVS: 05079D8470 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(366004)(346002)(39860400002)(376002)(199003)(189002)(48376002)(16586007)(6666003)(68736007)(86362001)(316002)(101416001)(2906002)(50466002)(8676002)(51416003)(6486002)(72206003)(50226002)(16526018)(50986010)(76176010)(53416004)(189998001)(7696005)(52116002)(97736004)(53936002)(6916009)(2351001)(2950100002)(105586002)(66066001)(106356001)(3846002)(25786009)(2361001)(81156014)(5660300001)(36756003)(6116002)(47776003)(305945005)(478600001)(8936002)(7736002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1514; H:wallaby-smavila.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR12MB1514; 23:2vjqJEBBQWK3oVLa48HquB0/NR0bzy08h28nWb9sz?= =?us-ascii?Q?Jhdjzn7G2VDYNiHphJbZ/atek50cyBoS+Ie+/G1/+mpnWe5DP3Q+0aAxBkSw?= =?us-ascii?Q?MJtUAceKsNSuS5N1CTg2y/vQ+VxgSIZ7sIJZ5OuAZEp7LXjmedBmXcLeSwf6?= =?us-ascii?Q?FsDOgsdfReIibCJmcwaHjGPy+KXPvXZSWDu6n7QPFZaeQD3cmNXHv+QrMonw?= =?us-ascii?Q?jPc88gNs1YL/rpN1aZnRwaFImlctfTiK4Atk4DGyWTmBKjALOZLv76ArnFIX?= =?us-ascii?Q?SklDiJWWE+l4aagkSndVqBchzr+eRwnAHsNC0oQfmtc/HndDU0Ld3ekDE2XB?= =?us-ascii?Q?LYqC6du2FJsew6BSEREKOQY4vuAfVeFvk4aSrn+lpelDI0UiC4Xnng0sXazD?= =?us-ascii?Q?CB+hsivFmPMPSm9JnR1F/39VZvgdTu31Fg0YfGXhTCOWHEn23DMlo+L/bLrf?= =?us-ascii?Q?AUHvX/cXFr7Vc8rdXmXJN9pW/S1E989webGCzBCTeWuAVX9t46Vi8eWWv25m?= =?us-ascii?Q?DaCeenqf5FZ9JRFWHQQaTqnyFIfv+lObJVjdS0KVHn3CFrvo0QGJPIMpk0Uw?= =?us-ascii?Q?kb9bhCR+RsDQdE9qP0WszqQmndw5Oka55nUMl6u7oeaU683midblvA3jaHnO?= =?us-ascii?Q?NeqdmJHF4fw0dt0CnW7hyiZ9pGiujUHgwLLfWYidrrAUQy7SbiaiXKYx2yLL?= =?us-ascii?Q?1EKJ3R1Pdo4XejN7a72Y3MBydBnfw/p9yNK9IRglv/uXlXJA92Po39wdsix9?= =?us-ascii?Q?0oWWCXxP7zKmcOVmgsSuYZjZLir1tzK7CRgxGoxxzbXTqnBDSCM9V0Lt67/O?= =?us-ascii?Q?H33rL0zduzBR+sU6Y7DwoHo03pRypHHhefDdeU1kOmWN6o8De9OLlK8K1MON?= =?us-ascii?Q?gkRQQkREgV9VELujDDBLBjz/mZ8SyDhwn/uKC53Sqbcgx5UPTjthC5jNt36o?= =?us-ascii?Q?8IgOyLRn2iwrck36hzt+7zMYyO5RBBVDd0QuFkQO1epEjmMpPpcsMmRNW4dm?= =?us-ascii?Q?QJYpJm/viFWMp5ieEy4qf9rJNeCthyjR0Ff46zEujn9Lv988unCVp3QHLuHL?= =?us-ascii?Q?OA3XK8/JbuYnc+R3szU+C+bZpAvE1K7PlCFkUDlRD0Zb9xH10zhWJGu8lu1l?= =?us-ascii?Q?RaJvlO+9SeX6sf4o4biiJyLR0dW207l?= X-Microsoft-Exchange-Diagnostics: 1; DM5PR12MB1514; 6:Xv34uozzAWFInYC/jUMFpfYguvEOF6fFRhh/VHCR/OCDc4aw3ckj5hFAOxLxgT5+qpJ4hlvfWPJyHNmAVr592S9Bbe9FliMy+kxyBYomsPUp40uXbNCM3oi4iRoStTMR7QGfG+zc0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Z4OpQGIZ9nEZeTX3xF3uKXbWI X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2017 13:11:59.6874 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8cb70709-10a8-4376-f54d-08d537f3f120 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1514 Subject: [dpdk-dev] [PATCH 15/16] net/axgbe: add support for icc and clang build 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: Thu, 30 Nov 2017 13:12:02 -0000 Signed-off-by: Ravi Kumar --- drivers/net/axgbe/axgbe_rxtx.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/net/axgbe/axgbe_rxtx.h b/drivers/net/axgbe/axgbe_rxtx.h index 89bf9bc..6cac673 100644 --- a/drivers/net/axgbe/axgbe_rxtx.h +++ b/drivers/net/axgbe/axgbe_rxtx.h @@ -128,8 +128,13 @@ #ifndef _AXGBE_RXTX_H_ #define _AXGBE_RXTX_H_ -/* to suppress gcc warnings related to descriptor casting*/ +/* to suppress gcc warnings related to descriptor casting */ +#ifdef RTE_TOOLCHAIN_GCC #pragma GCC diagnostic ignored "-Wcast-qual" +#endif +#ifdef RTE_TOOLCHAIN_CLANG +#pragma GCC diagnostic ignored "-Wcast-qual" +#endif /* Descriptor related defines */ #define AXGBE_MAX_RING_DESC 4096 /*should be power of 2*/ -- 2.7.4