From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0079.outbound.protection.outlook.com [104.47.1.79]) by dpdk.org (Postfix) with ESMTP id 685E5239 for ; Thu, 8 Nov 2018 09:25:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OPE+n6GoyYLqnKMpOAPhYvFb3tTuH1e2TKu1ITu85tY=; b=YG6P5Ok6MbggfYPp5JuKWYH1ljeRJctptp+WL/M/isEE3fpdHAWQinRKZrFfTvjfM/xFmaqlSZ35NggCHjHw+eEBbx5vgGeK1a1e68Fn8bvQ86wsTwtU9qB6/21xTZxTRDR4yC08Lf72lyZv6+jD/wsUFYRdBzsmxUsstGfa3Ms= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB6169.eurprd05.prod.outlook.com (20.178.107.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.20; Thu, 8 Nov 2018 08:25:00 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::bc22:c2f5:208d:826f]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::bc22:c2f5:208d:826f%2]) with mapi id 15.20.1294.034; Thu, 8 Nov 2018 08:25:00 +0000 From: Shahaf Shuler To: Thomas Monjalon , dwilder CC: "dev@dpdk.org" , "christian.ehrhardt@canonical.com" , Adrien Mazarguil , Yongseok Koh , "gowrishankar.m@linux.vnet.ibm.com" , "chaozhu@linux.vnet.ibm.com" , "pradeep@us.ibm.com" , "tyos@jp.ibm.com" Thread-Topic: [PATCH] net/mlx5: fix build on PPC64 Thread-Index: AQHUdt5Miz8Vv87K4UaCDOIUlRQwz6VFizbA Date: Thu, 8 Nov 2018 08:25:00 +0000 Message-ID: References: <20180903092911.GU3695@6wind.com> <20181107160028.5938-1-thomas@monjalon.net> <30471765b219a14d31a795ea4d77eedb@linux.vnet.ibm.com> <2145434.ZaoFnF2QHS@xps> In-Reply-To: <2145434.ZaoFnF2QHS@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB6169; 6:vx4e+8FpCIRgggjP0agTNnbKVN4D0WD4osxbmDXpwytP2H4oFwgMgXbiOg701mIdF8xSbr1j+Uhlp6szRSvVbqmSs23SUYRsoPRU84L3O4I6yiVKQXtd9NQl3n+6ZAGGrVf+aDqe6EynNQls26Twras2OHrPc59aKxjhesN2my+kh2vMFT9LSK1tWbVc5u/SmseKPMd/LAPE2ta1E2Cmopf4wXU/Oay0btZGO0Iyf9JuzPmWxu9r685M8MH7Xc8dajf2zAksH/q436yRJoh3IeHqCev0UQEwnlpij5PZtte1hGV6twZAO/LplhcNovQuUMeSRXndvjRpg4xFJWYtZA8i1VxxCg5QLLyGOMBzVbF6Rgf8AKLQYW6lTmaXg3zbzx6S9zJAGEdOiMdOXXRKZ2NyBGbo+9HqaW9QbiRSn1Rp6JPT3bHY1kGIsYXs0YGCaO1/grXXM7SwG2CBWnGCRQ==; 5:ZJO4im+Jn+Tcaxf1d6qnO2/XzPqpx2wn23n8ZY+Ags09/pIjxef13McyCcenqDhXVnuWoJGFj+6S9ShJExK3RAB51imFzssCdGygUkjM62CY5V3N1vHlSy8qCTxRR7XFxMpxh7zYC+vD76m9e4snLsDD7nrxFec53GHJCTn0m9g=; 7:ahWitFkQP26RgSdPG4oX2NSRyAE3H4+1NzAgugjKqvexv0rxMzMXFV14eFPk8q4oDkA845CkaSwwVCEWTwnoltWJJgsXqo49kpjt6Q9w3vLRVZeGwlMXXNHX3MedRl2lUwEHuAb6BXcAVr3cP7EmWg== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 73758bb1-d9ac-488e-561f-08d64553acf3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB6169; x-ms-traffictypediagnostic: DB7PR05MB6169: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(198206253151910)(274839183919467)(104084551191319); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231382)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB6169; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB6169; x-forefront-prvs: 0850800A29 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39860400002)(136003)(396003)(366004)(189003)(199004)(9686003)(81166006)(55016002)(81156014)(53936002)(7736002)(76176011)(68736007)(53546011)(6246003)(6116002)(3846002)(33656002)(476003)(256004)(66066001)(71200400001)(86362001)(71190400001)(6506007)(446003)(11346002)(486006)(99286004)(74316002)(7696005)(305945005)(8936002)(2906002)(4326008)(186003)(6436002)(8676002)(97736004)(5660300001)(2900100001)(14454004)(229853002)(54906003)(26005)(110136005)(102836004)(93886005)(105586002)(106356001)(25786009)(316002)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB6169; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: /4st/fXrRc77TZgcKmsbWKVMmEBVewVLPwvp5IVrsHGmqAfNWIwtS7N8NwuYIpt5v3bjbT7lf9yxhfvLM4raEkYoCp1Xuj7lssrrBdeLMiwqUqZms5aKCA1QdU5WHEhJUwUNivi9FDUEo1B3z4rOOkjXY8ZiKB1yeWtMhuUt5q9LBOoT5bFqexulcBfT7/hq4w0D/VHfJu6ve6LUi73PINUmYkrLBXC7zOelmrRU6DyTvqUtCwaZksIzzHSjAaJsYdoj9GaRj/BCXojQ4rR16RPI3YdGcRZ+rQnyyD5Vhs1xqZfvwKMB5sfTXEJFR1d9nHCm9suZW2s9m+nu7woVerdRKjRwIkOse2szk5f3sSs= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73758bb1-d9ac-488e-561f-08d64553acf3 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2018 08:25:00.4953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB6169 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix build on PPC64 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, 08 Nov 2018 08:25:02 -0000 Wednesday, November 7, 2018 11:10 PM, Thomas Monjalon: > Subject: Re: [PATCH] net/mlx5: fix build on PPC64 >=20 > 07/11/2018 20:05, dwilder: > > On 2018-11-07 08:00, Thomas Monjalon wrote: > > > The AltiVec header file breaks boolean type: > > > > > > error: incompatible types when initializing type '__vector _bool > > > int' {aka '_vector(4) __bool int'} using type 'int' > > > > > > If __APPLE_ALTIVEC__ is defined, then bool type is redefined and > > > conflicts with stdbool.h. > > > > > > There is no good solution to fix it for the whole project without > > > breaking something else, so a workaround is inserted in mlx5 PMD. > > > This workaround is not compatible with C++ but there is no C++ in DPD= K. > > > > > > Suggested-by: Christian Ehrhardt > > > Suggested-by: Adrien Mazarguil > > > Signed-off-by: Thomas Monjalon > > > > > > > > Tested-by: David Wilder > > > > Hi Thomas > > > > Thanks for re-posting this patch. I see no build breaks on power8 or > > power9 with this patch. I tried both 18.11-rc1 and upstream (master). >=20 > It is not really a re-post. I took the last solution which was proposed f= or EAL, > and applied it to mlx5 only. Applied to next-net-mlx, thanks.=20 >=20