From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C454BA0550; Wed, 25 May 2022 13:10:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B322440146; Wed, 25 May 2022 13:10:22 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2085.outbound.protection.outlook.com [40.107.220.85]) by mails.dpdk.org (Postfix) with ESMTP id 35F70400EF; Wed, 25 May 2022 13:10:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i0YrnqV2iC/5Tg4Wua4mkJX1ixz8hf3xVxfaFp5mxKBPYMo9k4grOK99wranyizY8Zhpr9QX7q9Ma3yXlQ7dTgBVf9vrvNDEbg6mNnnDGH2NprKtTDr7rSNjSSyWY4zie5TF/Cnauy2BJzU+vKKOUzdPl6if02V2nbHEHx0j34jqBMih8r3HTFXnna6x3hagdpuj/YmVnCQL7ChvPpKoTr1nWdKai83BdTeKbR+QcczQ3hvGUVdK6RdBou433tWnHs2NgF5BecayzTqFGWIE5KpH0sSShnKAO+xOVU2GMYP89MB3tUh/zbzMpYR9AQIqgkxy+2h+JMonBCDndK+giQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r3+TAg14gfEF7rTcW9McIFuL8Ib2rRXT2TKYhSIQ7iU=; b=k8/zcVQoy+IfRTOVRSGRlWyY4Wc8ZVsO0TtlPJHFiA/UmFK+8GfTOP5GYbQYsaOekVglOV0p1eJv8a/eQE2V8cWu5ytTGoCdmIxDHrU+X2jRKdxpxQ3IF5RuoZ0gaIl1u6z/P6Kz4mqbx4mIpUZMLooyh2XaARl31lSrx3S89f5EN0tO1dEBUHqNExEhMDFMKZT4gpC7zbavdAta3QneZ/vqjcTCJhXALjS5LW/Ojdms7+6xnZBVMQ2Ki3CK+TX7wFpZJ8b7dlZCv/jLX9C0157W8JgVYKfBosfeKbCyrKTrNsrb27iCCcKzrt2ZHbFt1gbUHLfi929y53g8YreDnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r3+TAg14gfEF7rTcW9McIFuL8Ib2rRXT2TKYhSIQ7iU=; b=HIg6/LZLjV4izLAcjeiVjTQI59H4tqPhv0WAZOTr//0Ew/vJGqBk7vsuBBEZTIWiQLHFkDOjziTOByoad6KuGPmDVo0x7/NyQwWDhFRcY8SHAfVOFKXyCXyXNatY373rvK/P54U2io4HUbe1uf8/gzuupf1J8+nwTmGwPq5VHtLDp6znCdiKQnZXUdOfWx6nbejMSWnOxyTpDFPqgQCPwWK4qXeCcSdkUH4GDPcZjMmZYRzHusoJREtQBWC3Lj035/ZZSvV5yMqynIEQUAf0w4tiN3QoyvSpWIG4dwH025AERtQjO7pMPJRbkenDGgWW4plXVYhvHAawCTbda/Bmuw== Received: from DM4PR12MB5167.namprd12.prod.outlook.com (2603:10b6:5:396::10) by CY4PR12MB1254.namprd12.prod.outlook.com (2603:10b6:903:41::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.19; Wed, 25 May 2022 11:10:20 +0000 Received: from DM4PR12MB5167.namprd12.prod.outlook.com ([fe80::ed24:e3e4:8ee4:91b4]) by DM4PR12MB5167.namprd12.prod.outlook.com ([fe80::ed24:e3e4:8ee4:91b4%5]) with mapi id 15.20.5273.023; Wed, 25 May 2022 11:10:20 +0000 From: Ali Alnubani To: "NBU-Contact-Thomas Monjalon (EXTERNAL)" , "dev@dpdk.org" CC: "mdr@ashroe.eu" , "david.marchand@redhat.com" , "techboard@dpdk.org" , David Christensen Subject: RE: [PATCH] eal/ppc: undefine AltiVec keyword vector Thread-Topic: [PATCH] eal/ppc: undefine AltiVec keyword vector Thread-Index: AQHYcB1QT9v6QFz+VkiSGdBHVovuDa0vbLBggAADBfA= Date: Wed, 25 May 2022 11:10:20 +0000 Message-ID: References: <20220525095307.675312-1-thomas@monjalon.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 849fa503-4757-4e9a-ef0e-08da3e3f282b x-ms-traffictypediagnostic: CY4PR12MB1254:EE_ x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8kNvkRW/o9N87pqUJPBa6yTDJgYIX518pIzPkfuRkbbe612wtuN3FmlSdg1+wrp0h+WeUusorm7eLSnW424fzEe0gpqZsS8/f69xxQjUsLmrTAhKV7R4+ntdmiOmwrjZP3v87lJt2955pO7ZEsniMqzYb2DVLcV+ZngfRhJxzVKOmm9UwTbNHbzPYu1APEmGkQFhlbri4cg7sW/G0Mbuclik0MmdSulQdAwvIdoA+9FWs0+swiecjfsNEvid6qKcUVWIfWmEzwOg58jiEay11xMHxW8D66GTE9aN8KenHz/2wfCHnnZiWJytr2SsJ4AwLWMX6L9O/HR/9s7Qqaz6jLfphVTJMeCDj2FbIwpLgCpvkiT/E9OI4ol6RigUjP/twEYSBlLuFKuyTDMDYSjutyt7VcqBRZW0ZqGLdLYVsayfp/U44zVCDPkTXVG/gtJXSb86WtLjuLtGVVIjX5n2CDuVS1YivabjVFYflKrn4E8Dndbo9fCkFMxISU8GnmZD2VnYdLfUq2YXM5bJy08zPNTEBDkZU+DeTFqwCFIZt8eAaBcW15FajJ9SvCYRuAh/tsi/bnvjDsCr+/mqRWxATiaOCcXB6XD3CO/T/BVUNMC6copWwHWFX4GPQeX1XDKvMQ2/kW+U7BmpE8wd4d5f9RnqO45k6f7wlTecjeY6iIiBLdsqcnXFYxj2p+qFwQyhsNjun0Y1vcnWspk5/TcR+A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5167.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(66556008)(66476007)(54906003)(8936002)(7696005)(5660300002)(66446008)(66946007)(64756008)(9686003)(38070700005)(186003)(52536014)(38100700002)(4326008)(122000001)(110136005)(8676002)(26005)(508600001)(76116006)(53546011)(6506007)(71200400001)(316002)(86362001)(83380400001)(2906002)(33656002)(2940100002)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?MjFJZ4EYUBjyJAJSDUnhnd3A3y0Zh+RXyMxBJhMjzJd2knFEo5qIl0gngqxL?= =?us-ascii?Q?VT/hgxMUkO3JWQhQkNn4k17LUl++stotw0TLZZwDYpExR+mydKcuAJl5ffCM?= =?us-ascii?Q?4EWhlKSCslIYztoCc3I6QVkAkkfm+ORQ2+QBcycA0mJoJhIouier/GOJXJVk?= =?us-ascii?Q?fv8riRb7IfOU/L5kQtn4vJOrDpHxFUZIPpvEtIxHDpsWixZnZN4VUtuQUNUn?= =?us-ascii?Q?KFzoqg90hsZq///iCY3XE0/Y93gIDkA6GsI9hdM1g69Z5ZTOvSjh0bfcmVJZ?= =?us-ascii?Q?0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fSQ85vkKUjpJHsNA?= =?us-ascii?Q?uz4QJAIK2HRhBZXJJFeNXmJee1NjkzZv6faiTIhd4MGx7jRb96dyiEb1CcKo?= =?us-ascii?Q?/4HJiz3r4eM+eBpmCOIh6W7mLkLFcUD4oBjMhwVRbAMJpFQbkgt4zmePzcjs?= =?us-ascii?Q?v3SGPGnMW5HHnRuySGB7Vfmq5mdywTQ7ivZt1O2RVwrp0CQ0/JZuix2omN89?= =?us-ascii?Q?PYakbDH2lZ0Rk0wachY71CaPBGxDnsdtTomu0tWBr57f5cKMRmV6J7rYM1Xf?= =?us-ascii?Q?Nul39Jsbv3cwTbmL3swHQHVdKjy71ctrfyxgnETe2wAK94mvx38nFqkGCETE?= =?us-ascii?Q?BvmBr6zCjkgqmqKpxm3IyXe4U7m1wHMnhuxuWoad2RV3TBar8FmxFvCo3tvM?= =?us-ascii?Q?D48np6njo5/bxmU6T8IWvv7yN5LPOW3WjaE4128U3+7GeLinFCxQt1phd515?= =?us-ascii?Q?0gZVeie8qok7AnETnwhCsOhQsyb7rh+TcIeT7JQBNWY8VDDEpw3ya9q2iRZP?= =?us-ascii?Q?7AkYzqBUs8zVsSQTnIi+9S2t4Zc1KCsGAts733MWok7ueyQ/gSWB3fW/dUEk?= =?us-ascii?Q?TSVCro8pCQ=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5167.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 849fa503-4757-4e9a-ef0e-08da3e3f282b X-MS-Exchange-CrossTenant-originalarrivaltime: 25 May 2022 11:10:20.3551 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xfzSwmxXSE3jk30dYyYaSTXyiAgNcPVLwhfZyTLJlFEijr/CVOiwoU1kjMicq9noz5MRmKDG9MT+tnyUwzpQgg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1254 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Ali Alnubani > Sent: Wednesday, May 25, 2022 2:09 PM > To: Thomas Monjalon ; dev@dpdk.org > Cc: mdr@ashroe.eu; david.marchand@redhat.com; techboard@dpdk.org; > David Christensen > Subject: RE: [PATCH] eal/ppc: undefine AltiVec keyword vector >=20 > > -----Original Message----- > > From: Thomas Monjalon > > Sent: Wednesday, May 25, 2022 12:53 PM > > To: dev@dpdk.org > > Cc: mdr@ashroe.eu; david.marchand@redhat.com; techboard@dpdk.org; > > David Christensen > > Subject: [PATCH] eal/ppc: undefine AltiVec keyword vector > > > > The AltiVec header file is defining "vector", except in C++ build. > > The keyword "vector" may conflict easily. > > As a rule, it is better to use the alternative keyword "__vector". > > > > The DPDK header file rte_altivec.h takes care of undefining "vector", > > so the applications and dependencies are free to define the name > "vector". > > > > This is a compatibility breakage for applications which were using > > the keyword "vector" for its AltiVec meaning. > > > > Signed-off-by: Thomas Monjalon > > --- >=20 > Build passes with latest rdma-core master (36395896) on Ubuntu 20.04.4. Compiler: powerpc64le-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 >=20 > Tested-by: Ali Alnubani >=20 > Thanks, > Ali