From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50059.outbound.protection.outlook.com [40.107.5.59]) by dpdk.org (Postfix) with ESMTP id F18F85F17 for ; Tue, 8 May 2018 09:49:03 +0200 (CEST) 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; bh=Q5uhAenXi1d/c0BBXskK+6toc+JsGpKYwgwm8or+7Ho=; b=iPSCx1uMMUI28ZQ2LknMD1PT/80ZzbcKSAppez5vX3hS3fP8AAcsfq7ijnBE+pJKdWhpVaqS36DIFcOMxv0gOkz6DwMTZSB3O4rpP1/09wP6TG3WdwsBnP1Xj1aRDe8ozEDDHmwe+glCdmbwDwyuhaLV1G9gLcO9mlbR9IKjSvE= Received: from VI1PR05MB4269.eurprd05.prod.outlook.com (52.133.12.22) by VI1PR05MB1261.eurprd05.prod.outlook.com (10.162.122.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.16; Tue, 8 May 2018 07:49:02 +0000 Received: from VI1PR05MB4269.eurprd05.prod.outlook.com ([fe80::d124:6bf:c236:d61a]) by VI1PR05MB4269.eurprd05.prod.outlook.com ([fe80::d124:6bf:c236:d61a%13]) with mapi id 15.20.0735.019; Tue, 8 May 2018 07:49:02 +0000 From: Ali Alnubani To: 'Pavan Nikhilesh' , "jerin.jacob@caviumnetworks.com" , "santosh.shukla@caviumnetworks.com" , "ferruh.yigit@intel.com" , Shahaf Shuler CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] driver/octeontx: disable PMD for buggy compilers Thread-Index: AQHT5f9H8iMR6vqQBkWQhDR83Gim+KQldb8A Date: Tue, 8 May 2018 07:49:01 +0000 Message-ID: References: <20180507123042.27492-1-pbhagavatula@caviumnetworks.com> In-Reply-To: <20180507123042.27492-1-pbhagavatula@caviumnetworks.com> 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=alialnu@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB1261; 7:jPnGUQPeQp8Cc2wgZuLiXjo5EtVMaWBV/pzm9iGs7ThRRtWGWTZTPeUhCmop5yOvsl++dSIzv/YjmWxDnte7hvZz/TDmM9UUnAktvG7z22ACuwMwnZKDKqfLIEes4HIVJdEZQtck2f55+HPCpmo1061AumJgtbL6o5P/29EKZbk7SieBrT1BazaIT1z9Nyv1hmwQ/r+SNCTYjENKTU1NSf46UYVhjaf6QVHI4qyobeaVhR/WvRpTkqlFE2crtS+B x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB1261; x-ms-traffictypediagnostic: VI1PR05MB1261: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR05MB1261; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1261; x-forefront-prvs: 0666E15D35 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(39380400002)(396003)(366004)(376002)(39860400002)(346002)(189003)(199004)(13464003)(2501003)(5250100002)(5660300001)(55016002)(2906002)(105586002)(11346002)(53546011)(6506007)(305945005)(6636002)(106356001)(3660700001)(8676002)(446003)(316002)(3280700002)(110136005)(7736002)(81166006)(81156014)(33656002)(102836004)(3846002)(486006)(6116002)(99286004)(68736007)(2900100001)(7696005)(14454004)(76176011)(476003)(66066001)(8936002)(4326008)(186003)(6436002)(74316002)(97736004)(229853002)(2201001)(25786009)(26005)(53936002)(86362001)(575784001)(478600001)(9686003)(6246003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB1261; H:VI1PR05MB4269.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: uKTBdK/kvuFe6gNu2vZLVux2XUU1lLKHjUemhn4+btTKFc9AUnIkyh9lZm2XYIwTrjHwZrQ2iSmECDLS9TzBRwR1pQAfXdYi7wt/Mj6wIAQsQpr0p1w9+LK665vBX9FDjAzLYdkkgr07sIRReE0DsWZheXuGYSmNzLXRx7cFkr5z8oY8dJbdj0lPXu279pDd spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a395a9ea-39c2-44af-6c45-08d5b4b82a5d X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: a395a9ea-39c2-44af-6c45-08d5b4b82a5d X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2018 07:49:01.9134 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1261 Subject: Re: [dpdk-dev] [PATCH] driver/octeontx: disable PMD for buggy compilers 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, 08 May 2018 07:49:04 -0000 Tested-by: Ali Alnubani > -----Original Message----- > From: Pavan Nikhilesh > Sent: Monday, May 7, 2018 3:31 PM > To: jerin.jacob@caviumnetworks.com; > santosh.shukla@caviumnetworks.com; ferruh.yigit@intel.com; Shahaf > Shuler ; Ali Alnubani > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH] driver/octeontx: disable PMD for buggy > compilers >=20 > Disable octeontx for gcc 4.8.5 as compiler is emitting "internal compiler= error" > for aarch64. >=20 > Signed-off-by: Pavan Nikhilesh > --- > mk/toolchain/gcc/rte.toolchain-compat.mk | 8 ++++++++ > 1 file changed, 8 insertions(+) >=20 > diff --git a/mk/toolchain/gcc/rte.toolchain-compat.mk > b/mk/toolchain/gcc/rte.toolchain-compat.mk > index 9f17131f9..0f2b0ff0a 100644 > --- a/mk/toolchain/gcc/rte.toolchain-compat.mk > +++ b/mk/toolchain/gcc/rte.toolchain-compat.mk > @@ -12,6 +12,7 @@ >=20 > GCC_MAJOR =3D $(shell echo __GNUC__ | $(CC) -E -x c - | tail -n 1) > GCC_MINOR =3D $(shell echo __GNUC_MINOR__ | $(CC) -E -x c - | tail -n 1) > +GCC_PATCHLEVEL =3D $(shell echo __GNUC_PATCHLEVEL__ | $(CC) -E -x c - | > +tail -n 1) > GCC_VERSION =3D $(GCC_MAJOR)$(GCC_MINOR) >=20 > # if GCC is older than 4.x > @@ -73,4 +74,11 @@ else > CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV=3Dd > endif >=20 > + # Disable octeontx event PMD for gcc < 4.8.6 > + ifeq ($(shell test $(GCC_VERSION)$(GCC_PATCHLEVEL) -lt 486 && > echo 1), 1) > + CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF=3Dd > + CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL=3Dd > + CONFIG_RTE_LIBRTE_OCTEONTX_PMD=3Dd > + endif > + > endif > -- > 2.17.0