From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id E8FB64C97 for ; Thu, 31 May 2018 11:52:56 +0200 (CEST) Received: by mail-wm0-f50.google.com with SMTP id 18-v6so47330415wml.2 for ; Thu, 31 May 2018 02:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=aAsQPV79aKbS98jn5FKfaD5ftaJXie4rh2ugy03lv7M=; b=GkFW9CQZTK7HJ29fWsEYLlZ4N4BNgKUAr/ypkaiZ/h4mvSoLRQzvhFngXOM+tX59xU Y8XMWP91FVf8zMs2yfC7pGTfzjInjpSpp69nRsb/+w8EPplTmRSJiLNBAGOR6Siups6O Du1JjonguQVvtdV9SAzFUCmaKW0oIcvye6NtCuR5HeybNwbA8wW0GZZ26tdgSSzlaYbl a/fXm6V26Nhu+N3BkyaN8HFEk9Yo0V6ANvLD3AjtceJWTVxOmtLag0mTYt2TAOLRT6WG iP6a7SvdiCKuU9Y9RKsK8z11xoOGHfqdntOWZgtHFWe89NoSNNEG/J1SNh67ICH/+Zwq BdXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=aAsQPV79aKbS98jn5FKfaD5ftaJXie4rh2ugy03lv7M=; b=M0pXoF6hg6upL7YQO6fQRjBgTxcgM6Kku3VWuZSfZ0rJrqSL/ZOsBlNND9iTn341wK Gc8WCE9755tL8qFdZl1sXZQtW47qPiH2Kgoq/GLubf7oG6rPSCN/5mmTO18LQQIziAFw WDWmzjCoQyCWigHpsCVrocIWP/9iQ0cfq8hCGl+G/uX3+YLABb+L0zQqWjfA1ufu8j+P 6lM8TXBRIVIp0jz0/KvShi5uwvERu781TQgn2odIemUPagWWEhV7nrXvZugPyQtmvMWC 4ajZ94oW7wnh17TnEOlqE5CD/YreUHU06/mzOIExW2LXOPnqDIqakxOVgAk3q2LB6noI X/iA== X-Gm-Message-State: ALKqPweyR1WF0w77qw2D64A8s8UvcIC1fUIadDaouga5Zqle9ZzKpU+4 vGSxz/QX1JtDuXD8VGX8hgHvc1TFSw== X-Google-Smtp-Source: ADUXVKIUZKQM3bLxhULvcpw4uUec7Vbc/zbgt7VXcMkNGvmOlBYazCYMfAR9mdzNKLwbKeyxR6hbdw== X-Received: by 2002:a1c:4293:: with SMTP id k19-v6mr1028309wmi.119.1527760376720; Thu, 31 May 2018 02:52:56 -0700 (PDT) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id l69-v6sm747564wmb.6.2018.05.31.02.52.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 May 2018 02:52:55 -0700 (PDT) Date: Thu, 31 May 2018 11:53:11 +0200 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro To: Nitin Katiyar Cc: Shahaf Shuler , "dev@dpdk.org" Message-ID: <20180531095311.mlnu77yfh4cbf7cs@laranjeiro-vm.dev.6wind.com> References: <20180530131138.zddukh767vvogwj7@laranjeiro-vm.dev.6wind.com> <20180531080542.pltmeyhuedp3m7mr@laranjeiro-vm.dev.6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) 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 09:52:57 -0000 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 > forward now? In v17.05 MLX5 PMD is still relying on libibverbs and libmlx5, the way Those options you used are necessary to select in their package the installation of libverbs,libmlx5 or rdma-core. Doing this you have selected rdma-core which is not supported in v17.05 DPDK version. You need to install Mellanox OFED without those two options to select libibverbs, libmlx5 to make it work. Regards, > Regards, > Nitin > > -----Original Message----- > From: Nélio 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 > > On Thu, May 31, 2018 at 07:01:17AM +0000, Nitin Katiyar wrote: > > Hi, > > It has following files: > > > > arch.h ib.h kern-abi.h mlx4dv.h mlx5dv.h opcode.h sa.h > > sa-kern-abi.h verbs.h > > > > 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 > > Did you installed Mellanox OFED with the --dpdk --upstream-libs arguments for the installation script? > > If it is the case, you should not add them for this version, those options are for DPDK v17.11 and higher. > > Regards, > > > Regards, > > Nitin > > > > -----Original Message----- > > From: Shahaf Shuler [mailto:shahafs@mellanox.com] > > Sent: Thursday, May 31, 2018 10:51 AM > > To: Nitin Katiyar ; Nélio Laranjeiro > > > > Cc: dev@dpdk.org > > Subject: RE: [dpdk-dev] Compilation of MLX5 driver > > > > Wednesday, May 30, 2018 7:45 PM, Nitin Katiyar: > > > > > > Hi, > > > I was compiling 17.05.02. > > > Regards, > > > Nitin > > > > > > -----Original Message----- > > > From: Nélio 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 > > > > > > Hi, > > > > > > 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=y" and hitting following compilation > > > error. > > > > > > > > fatal error: infiniband/mlx5_hw.h: No such file or directory > > > > Can you list the files you have under /usr/include/infiniband ? > > > > > > > > > > I have installed MLNX_OFED _LINUX-4.2-1.2.0 on my Ubuntu 14.04 > > > > machine > > > but still hitting the same error. Am I missing some other package? > > > > > > Which version of DPDK are you using (it is important to help)? > > > > > > Regards, > > > > > > -- > > > Nélio Laranjeiro > > > 6WIND > > -- > Nélio Laranjeiro > 6WIND -- Nélio Laranjeiro 6WIND