From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) by dpdk.org (Postfix) with ESMTP id 2AF634CBD for ; Thu, 31 May 2018 13:44:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1527767058; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V/+qS0QGRSCHR7dad7dvEf8bL2974n0ZFP/lmM7GNNQ=; b=M1sGfniuOeDJuSBuopE7qcbIVXVZtVmhXm885szs2cnhmlndQkoDiht+zjt2kBoy RQjYt/1ybx7ydmMWPFE0DHDxoUBi8jiWrmuZ2NHvJreuqOl6Lm18EQkh5WimB68a QbXEU8zH4bLEcPMl6qpqFntoMosK6oZyji5kC784bGo=; X-AuditID: c1b4fb25-703639c000003465-4a-5b0fe012b2d4 Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.183.51]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id DB.26.13413.210EF0B5; Thu, 31 May 2018 13:44:18 +0200 (CEST) Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESSHC011.ericsson.se (153.88.183.51) with Microsoft SMTP Server (TLS) id 14.3.382.0; Thu, 31 May 2018 13:44:07 +0200 Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 31 May 2018 13:44:07 +0200 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Thu, 31 May 2018 13:44:07 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AfdrHnL3QZo6RJBYhgsfuTyaqTZNipGGyI+MXgFkKHE=; b=U7fxQzeC53lCuDnP0RNa0o64jw46Ulg426nZg5/Q7HmntzZOsrrKyBMFQQ4pMSAGCNt8cj/Nq7trFvSdd1iWcSCInmUhbS7CqbTmEOqIKFtNgMtshxBsXnlnO6eedFl+Kgom8odlhDu25k0d4aT/bXHxRMiNchxGCq4s7SF/soA= Received: from HE1PR0702MB3626.eurprd07.prod.outlook.com (52.133.6.24) by HE1PR0702MB3722.eurprd07.prod.outlook.com (52.133.6.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.5; Thu, 31 May 2018 11:44:06 +0000 Received: from HE1PR0702MB3626.eurprd07.prod.outlook.com ([fe80::94a2:670f:ac08:278c]) by HE1PR0702MB3626.eurprd07.prod.outlook.com ([fe80::94a2:670f:ac08:278c%4]) with mapi id 15.20.0820.009; Thu, 31 May 2018 11:44:06 +0000 From: Nitin Katiyar To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= CC: Shahaf Shuler , "dev@dpdk.org" Thread-Topic: [dpdk-dev] Compilation of MLX5 driver Thread-Index: AdP4DG7NqOzxpIqzRGyCR+PXlOp1JwAC084AAAduypAAGmE0sAADdGTAAAJW9wAAAli0QAABaEaAAAPZXQA= Date: Thu, 31 May 2018 11:44:06 +0000 Message-ID: References: <20180530131138.zddukh767vvogwj7@laranjeiro-vm.dev.6wind.com> <20180531080542.pltmeyhuedp3m7mr@laranjeiro-vm.dev.6wind.com> <20180531095311.mlnu77yfh4cbf7cs@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180531095311.mlnu77yfh4cbf7cs@laranjeiro-vm.dev.6wind.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=nitin.katiyar@ericsson.com; x-originating-ip: [125.16.128.122] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0702MB3722; 7:mFVJXOLwY5pkVREC0sCpXXLBU5XOnKqQ1sgkRI/osg3U/DZnl7hEKMThDz82IE3SmsAb8KiGMN66zn0H+iGy9UFp223GBd7f3SD8uYpCUexqi6541WnJ+1F62pcafe6wTjUFYOZ3T50WdwczoJrQ95F9XgLoQ/VsKNZq7Dqgo7Z59PKuI4RnYb+1Y3HNyig+a9xLvdV/MtSoVxlltkvaozZiVu1h15ueAcGdi/f4IQ73HT+uR7iMm5N+6wkLehT2 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0702MB3722; x-ms-traffictypediagnostic: HE1PR0702MB3722: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(37575265505322); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231254)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:HE1PR0702MB3722; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0702MB3722; x-forefront-prvs: 06891E23FB x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(39380400002)(346002)(376002)(396003)(13464003)(189003)(199004)(3846002)(6116002)(26005)(25786009)(81166006)(81156014)(8676002)(8936002)(2900100001)(229853002)(3280700002)(186003)(53546011)(76176011)(6506007)(55236004)(14454004)(7696005)(97736004)(59450400001)(105586002)(106356001)(99286004)(66066001)(102836004)(3660700001)(478600001)(316002)(5250100002)(54906003)(2906002)(446003)(44832011)(486006)(93886005)(33656002)(11346002)(476003)(55016002)(4326008)(53936002)(6916009)(6246003)(6436002)(74316002)(5660300001)(9686003)(7736002)(305945005)(86362001)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0702MB3722; H:HE1PR0702MB3626.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 9jhja8OhcjmBy0fkuHRmcy8qxtApxk0bREjhGS3pgVyFfdO5Ro1NLlteQd2WrKFimX9eECmVM0ADfVe8Ut8EOicaUUaOETY/v4L1zZNQxkbkZ71KCljxGeTirRcCo3QS/AHrMFLS+vk0lCKLsd89GotvvqyBUMtAxxAA6A9oXW7IhGjdrcEEOtH47Ro6DWUf spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 627e0f1c-5abf-4539-5121-08d5c6ebd0bd X-MS-Exchange-CrossTenant-Network-Message-Id: 627e0f1c-5abf-4539-5121-08d5c6ebd0bd X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2018 11:44:06.3069 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3722 X-OriginatorOrg: ericsson.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjleLIzCtJLcpLzFFi42KZGbHdWFfoAX+0wfRv+hbvPm1nsvj37jWb xe05Xg7MHhf77zB6/FqwlNXj2fTDTAHMUVw2Kak5mWWpRfp2CVwZb5s+MBcslK44/XkuWwPj Q9EuRk4OCQETie8fXzN2MXJxCAkcYZSYfHEZlLOFUeLahxeMIFVCAt8YJb6ckodILGGS2LLi OwuIwyIwgVniy7S9UC2TmCTa274zQzjPGCXmtC9lB+lnEzCQ2H5xEpgtIuAisfNoBwuIzSzg LrHu+TGwHcICRhL9zxczQ9QYSzw8v44Rwk6SuNSzEyzOIqAqcezVSrA4r0CCxP2eo8wQ9/1g kZi73gPE5hTwkjg3ayYTiM0oICbx/dQaJohd4hK3nsxngvhaQGLJnvPMELaoxMvH/1gh6mMl 3j1+ygoRV5LYPPMFVL2sxKX53YwQ9jYmiZt77CFsXYkPU6eCPSwhcJBRouHBMTaIhI7Exklv oAblS7Qv2AtUxAFkW0nMOxMLEZaTWNX7kGUCo9EsJOdB2HoSN6ZOYYOwtSWWLXzNPAvsZUGJ kzOfsCxgZFnFKFqcWpyUm25krJdalJlcXJyfp5eXWrKJEZhKDm75rbqD8fIbx0OMAhyMSjy8 lrf4o4VYE8uKK3MPMUpwMCuJ8E4pAwrxpiRWVqUW5ccXleakFh9ilOZgURLnfWi+OUpIID2x JDU7NbUgtQgmy8TBKdXA2PpahIk5Yettoa9X7vX2n73qf+qlrbj3ynehzG6qIpPmtL+1VQxJ //jK4y2HcXB6e0zo5oqPJ7PmfOmN3DeB59R953kpqhLq1iqc1Uy8M407uJhnTz1y7YXtm+0R G6R1/1dHSxrdXXZkS+69PmM728031MQuMi4Vdvs0ZZlr0aI5OdrvlTccVGIpzkg01GIuKk4E ANBxTMchAwAA Subject: Re: [dpdk-dev] Compilation of MLX5 driver 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, 31 May 2018 11:44:19 -0000 Thanks Shahaf, it worked after removing the options you specified. Regards, Nitin -----Original Message----- From: N=E9lio Laranjeiro [mailto:nelio.laranjeiro@6wind.com]=20 Sent: Thursday, May 31, 2018 3:23 PM To: Nitin Katiyar Cc: Shahaf Shuler ; dev@dpdk.org Subject: Re: [dpdk-dev] Compilation of MLX5 driver On Thu, May 31, 2018 at 09:14:03AM +0000, Nitin Katiyar wrote: > Yes,I installed it using --dpdk --upstream-libs. What is the way=20 > forward now? In v17.05 MLX5 PMD is still relying on libibverbs and libmlx5, the way Thos= e options you used are necessary to select in their package the installatio= n of libverbs,libmlx5 or rdma-core. Doing this you have selected rdma-core which is not supported in v17.05 DPD= K version. You need to install Mellanox OFED without those two options to select libib= verbs, libmlx5 to make it work. Regards, =20 > Regards, > Nitin >=20 > -----Original Message----- > From: N=E9lio Laranjeiro [mailto:nelio.laranjeiro@6wind.com] > Sent: Thursday, May 31, 2018 1:36 PM > To: Nitin Katiyar > Cc: Shahaf Shuler ; dev@dpdk.org > Subject: Re: [dpdk-dev] Compilation of MLX5 driver >=20 > On Thu, May 31, 2018 at 07:01:17AM +0000, Nitin Katiyar wrote: > > Hi, > > It has following files: > >=20 > > arch.h ib.h kern-abi.h mlx4dv.h mlx5dv.h opcode.h sa.h=20 > > sa-kern-abi.h verbs.h > >=20 > > I tried with both MLNX_OFED_LINUX-4.2-1.0.0.0 and > > MLNX_OFED_LINUX-4.2-1.2.0.0-ubuntu14.04-x86_64 >=20 > Did you installed Mellanox OFED with the --dpdk --upstream-libs arguments= for the installation script? >=20 > If it is the case, you should not add them for this version, those option= s are for DPDK v17.11 and higher. >=20 > Regards, >=20 > > Regards, > > Nitin > >=20 > > -----Original Message----- > > From: Shahaf Shuler [mailto:shahafs@mellanox.com] > > Sent: Thursday, May 31, 2018 10:51 AM > > To: Nitin Katiyar ; N=E9lio Laranjeiro=20 > > > > Cc: dev@dpdk.org > > Subject: RE: [dpdk-dev] Compilation of MLX5 driver > >=20 > > Wednesday, May 30, 2018 7:45 PM, Nitin Katiyar: > > >=20 > > > Hi, > > > I was compiling 17.05.02. > > > Regards, > > > Nitin > > >=20 > > > -----Original Message----- > > > From: N=E9lio Laranjeiro [mailto:nelio.laranjeiro@6wind.com] > > > Sent: Wednesday, May 30, 2018 6:42 PM > > > To: Nitin Katiyar > > > Cc: dev@dpdk.org > > > Subject: Re: [dpdk-dev] Compilation of MLX5 driver > > >=20 > > > Hi, > > >=20 > > > On Wed, May 30, 2018 at 11:54:31AM +0000, Nitin Katiyar wrote: > > > > Hi, > > > > I am trying to compile MLX5 PMD driver by setting > > > "CONFIG_RTE_LIBRTE_MLX5_PMD=3Dy" and hitting following compilation=20 > > > error. > > > > > > > > fatal error: infiniband/mlx5_hw.h: No such file or directory > >=20 > > Can you list the files you have under /usr/include/infiniband ?=20 > >=20 > > > > > > > > I have installed MLNX_OFED _LINUX-4.2-1.2.0 on my Ubuntu 14.04=20 > > > > machine > > > but still hitting the same error. Am I missing some other package? > > >=20 > > > Which version of DPDK are you using (it is important to help)? > > >=20 > > > Regards, > > >=20 > > > -- > > > N=E9lio Laranjeiro > > > 6WIND >=20 > -- > N=E9lio Laranjeiro > 6WIND -- N=E9lio Laranjeiro 6WIND