From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by dpdk.org (Postfix) with ESMTP id 465991B75B for ; Tue, 24 Oct 2017 11:55:48 +0200 (CEST) Received: by mail-lf0-f68.google.com with SMTP id a2so1198739lfh.11 for ; Tue, 24 Oct 2017 02:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=6yuUjJtoxrHuFBSRDX3ejiky7XNM4KMFu75dJWZS3qk=; b=T54W+BiwsMGzMB/OmXxVT9/kDtDL46NyI01hpVNwqW2ANU8uH4CNvwl/7y5xTr0reQ 7RXh+81oRJtcUl+tIbjX51SYSkybZfZlsPtQ3/e/ajXC1cCgTuUu22AGKH3qRMzOT1xN UafJ5P16SCQ/MzqGJsBE0D+H8sLsSEaMFlLsJhjV+pUChaJdNIzUwnQ0bJVexU3BJT+3 vaGjpSWZVL3HRK4+P9ZYB4LWWGE2iFDpqfJmsUB+y5c6almXX19re207akEdJy2+EOh1 Ce3yCDmThUNqx+G1pv4PoZcKD9wFPs98CBe9Dezk1eC+4Wl5fsfQ5h2Y/LaqHeofv/tg 8lPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=6yuUjJtoxrHuFBSRDX3ejiky7XNM4KMFu75dJWZS3qk=; b=awSXK+MxBgMI1nNxoiJGBwwsKswjEMA5hCbsRLLV7nquGVJT9YZWZMTyiiRvMwQpex MOsCMIvqz3HiDasbMpjUkjkinHG5tYxWG/dSIWQPY2A/i5Lq1yhr+FVWNyv6CFIBuAMy M+/c6PdxjdiZh/WNIeHkgUkVIdOR7bVkndeCMkrrM2BchV6CAZ+h9Ju/nVgz67DHRXsq SRx5ce/UIZL6gQwnaJFb9zvYb3QWHGbkhu0Rlgw6Zoim7IYX8SlX4dpDXFDVFNIOkzA6 G7k1FbWUV9CYzbU496+gbnnEMMMGrRL2i5441C2hNTeq4jricOGEThBRlG2AIJWhdDXB xZwA== X-Gm-Message-State: AMCzsaWqFY2/NZWYKmt/D1Kg2yE4InPKTEZrMvXVRj4b7eGr1JdQ6G+w Mwu2AQ0mBGzDBBX6f/nDrUcT X-Google-Smtp-Source: ABhQp+SNO4QMm7KOWXypeLIMX3R9bEwR8b1mI0kr0SDFZSTnqS2PBmE95VEHqGxuY5Es6eRu/+jY/Q== X-Received: by 10.25.90.135 with SMTP id y7mr4697899lfk.256.1508838947753; Tue, 24 Oct 2017 02:55:47 -0700 (PDT) Received: from laranjeiro-vm (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id c26sm2244345ljb.80.2017.10.24.02.55.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Oct 2017 02:55:47 -0700 (PDT) From: "=?iso-8859-1?Q?N=E9lio?= Laranjeiro" X-Google-Original-From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro Date: Tue, 24 Oct 2017 11:55:42 +0200 To: gowrishankar muthukrishnan Cc: Adrien Mazarguil , Ferruh Yigit , dev@dpdk.org, Matan Azrad , Ophir Munk , Moti Haimovsky , Pradeep Satyanarayana Message-ID: <20171024095542.jpoaysbmvao7k3po@laranjeiro-vm> References: 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] [PATCH v6 0/5] new mlx4 datapath bypassing ibverbs 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, 24 Oct 2017 09:55:48 -0000 Hi, On Tue, Oct 24, 2017 at 02:19:51PM +0530, gowrishankar muthukrishnan wrote: > On Tuesday 24 October 2017 11:59 AM, gowrishankar muthukrishnan wrote: > > Hi Adrien, > > I am trying to compile mlx4 (and later to try mlx5) pmd in RHEL 7.4 > > (ppc64le) without Mellanox OFED, > > using current master (which has below patch series). > > > > As I do so, I hit with below compile error: > > > >   dpdk/drivers/net/mlx4/mlx4.c:53:31: fatal error: infiniband/mlx4dv.h: > > No such file or directory > >    #include > >                                  ^ > >   compilation terminated. > >   make[6]: *** [mlx4.o] Error 1 > > > > I tried to find rpm for this directverbs include, but I could not. Could > > you advice if I have to install any additional rpm in RHEL 7.4 ? > > To note, I have rdma-core and libibverbs installed. > > > > I see we need rdma-core v15 atleast for mlx5 pmd (where as the version > available in RHEL 7.4 is v13). > >   https://patchwork.kernel.org/patch/9937201/ > > Similar dependency might be there for mlx4 as well. So I think it is not > possible to compile it in RHEL 7.4 without dependent > rpms upgraded. The procedure is described in the mlx5 documentation [1]. It should be the same for mlx4. > > Thanks, > > Gowrishankar > > > > > > On Thursday 12 October 2017 05:59 PM, Adrien Mazarguil wrote: > > > Hopefully the last iteration for this series. > > > > > > v6 (Adrien): > > > - Updated features documentation (mlx4.ini) in the relevant patches. > > > - Rebased on the latest changes brought by RSS support v2 series. > > > > > > v5 (Ophir & Adrien): > > > - Merged Rx scatter/Tx gather code back into individual Rx/Tx commits > > >    for consistency due to a couple of issues with gather-less Tx. > > > - Rebased on top of the latest mlx4 control path changes (RSS support). > > > > > > v4 (Ophir): > > > - Split "net/mlx4: restore Rx scatter support" commit from "net/mlx4: > > >    restore full Rx support bypassing Verbs" commit > > > > > > v3 (Adrien): > > > - Drop a few unrelated or unnecessary changes such as the removal of > > >    MLX4_PMD_TX_MP_CACHE. > > > - Move device checksum support detection code to its previous location. > > > - Fix include guard in mlx4_prm.h. > > > - Reorder #includes alphabetically. > > > - Replace MLX4_TRANSPOSE() macro with documented inline function. > > > - Remove extra spaces and blank lines. > > > - Use uint8_t * instead of char * for buffers. > > > - Replace mlx4_get_cqe() macro with a documented inline function. > > > - Replace several unsigned int with uint32_t. > > > - Add consistency to field names (sge_n => sges_n). > > > - Make mbuf size checks in RX queue setup function similar to mlx5. > > > - Update various comments. > > > - Fix indentation. > > > - Replace run-time endian conversion with static ones where possible. > > > - Reorder fields in struct rxq and struct txq for consistency, remove > > >    one level of unnecessary inner structures. > > > - Fix memory leak on Tx bounce buffer. > > > - Update commit logs. > > > - Fix remaining checkpatch warnings. > > > > > > v2 (Matan): > > > Rearange patches. > > > Semantics. > > > Enhancements. > > > Fix compilation issues. > > > > > > Moti Haimovsky (5): > > >    net/mlx4: add Tx bypassing Verbs > > >    net/mlx4: add Rx bypassing Verbs > > >    net/mlx4: restore Tx checksum offloads > > >    net/mlx4: restore Rx offloads > > >    net/mlx4: add loopback Tx from VF > > > > > >   doc/guides/nics/features/mlx4.ini |   6 + > > >   drivers/net/mlx4/mlx4.c           |  11 + > > >   drivers/net/mlx4/mlx4.h           |   2 + > > >   drivers/net/mlx4/mlx4_ethdev.c    |  10 + > > >   drivers/net/mlx4/mlx4_prm.h       | 151 +++++++ > > >   drivers/net/mlx4/mlx4_rxq.c       | 156 +++++-- > > >   drivers/net/mlx4/mlx4_rxtx.c      | 768 > > > ++++++++++++++++++++++++--------- > > >   drivers/net/mlx4/mlx4_rxtx.h      |  54 +-- > > >   drivers/net/mlx4/mlx4_txq.c       |  63 +++ > > >   9 files changed, 948 insertions(+), 273 deletions(-) > > >   create mode 100644 drivers/net/mlx4/mlx4_prm.h > > > > > > > > Regards, [1] http://dpdk.org/doc/guides/nics/mlx5.html#installation -- Nélio Laranjeiro 6WIND