From mboxrd@z Thu Jan 1 00:00:00 1970 From: Asaf Sinai Subject: Re: Compilation of MLX5 driver Date: Mon, 2 Jul 2018 12:19:56 +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> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Nitin Katiyar , =?iso-8859-1?Q?N=E9lio_Laranjeiro?= To: Shahaf Shuler Return-path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0137.outbound.protection.outlook.com [104.47.1.137]) by dpdk.org (Postfix) with ESMTP id 33A341B4D3 for ; Mon, 2 Jul 2018 14:20:01 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Shahaf, I face similar problem with DPDK 18.05, where missing file is "mlx5dv.h": =3D=3D Build drivers/net/mlx5 CC mlx5.o In file included from /net/emcradware/CM_Users/asafsi/work/drivers/dpdk/dp= dk-18.05/drivers/net/mlx5/mlx5.h:35:0, from /net/emcradware/CM_Users/asafsi/work/drivers/dpdk/dp= dk-18.05/drivers/net/mlx5/mlx5.c:40: /net/emcradware/CM_Users/asafsi/work/drivers/dpdk/dpdk-18.05/drivers/net/m= lx5/mlx5_mr.h:19:31: fatal error: infiniband/mlx5dv.h: No such file or dir= ectory #include ^ compilation terminated. Can you please advise? Thanks, Asaf -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Nitin Katiyar Sent: Thursday, May 31, 2018 02:44 PM To: N=E9lio Laranjeiro Cc: Shahaf Shuler ; dev@dpdk.org Subject: Re: [dpdk-dev] Compilation of MLX5 driver 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