DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>
To: gowrishankar muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
Cc: Adrien Mazarguil <adrien.mazarguil@6wind.com>,
	Ferruh Yigit <ferruh.yigit@intel.com>,
	dev@dpdk.org, Matan Azrad <matan@mellanox.com>,
	Ophir Munk <ophirmu@mellanox.com>,
	Moti Haimovsky <motih@mellanox.com>,
	Pradeep Satyanarayana <pradeep@us.ibm.com>
Subject: Re: [dpdk-dev] [PATCH v6 0/5] new mlx4 datapath bypassing ibverbs
Date: Tue, 24 Oct 2017 11:55:42 +0200	[thread overview]
Message-ID: <20171024095542.jpoaysbmvao7k3po@laranjeiro-vm> (raw)
In-Reply-To: <e2e079be-f43a-81b9-bdac-6615ded60f03@linux.vnet.ibm.com>

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 <infiniband/mlx4dv.h>
> >                                  ^
> >   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

  reply	other threads:[~2017-10-24  9:55 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-24 15:54 [dpdk-dev] [PATCH 0/5] new mlx4 Tx " Moti Haimovsky
2017-08-24 15:54 ` [dpdk-dev] [PATCH 1/5] net/mlx4: add simple Tx " Moti Haimovsky
2017-08-24 15:54 ` [dpdk-dev] [PATCH 2/5] net/mlx4: support multi-segments Tx Moti Haimovsky
2017-08-24 15:54 ` [dpdk-dev] [PATCH 3/5] net/mlx4: refine setting Tx completion flag Moti Haimovsky
2017-08-24 15:54 ` [dpdk-dev] [PATCH 4/5] net/mlx4: add Tx checksum offloads Moti Haimovsky
2017-08-24 15:54 ` [dpdk-dev] [PATCH 5/5] net/mlx4: add loopback Tx from VF Moti Haimovsky
2017-10-03 10:48 ` [dpdk-dev] [PATCH v2 0/6] new mlx4 datapath bypassing ibverbs Matan Azrad
2017-10-03 10:48   ` [dpdk-dev] [PATCH v2 1/6] net/mlx4: add simple Tx " Matan Azrad
2017-10-03 10:48   ` [dpdk-dev] [PATCH v2 2/6] net/mlx4: get back Rx flow functionality Matan Azrad
2017-10-03 10:48   ` [dpdk-dev] [PATCH v2 3/6] net/mlx4: support multi-segments Tx Matan Azrad
2017-10-03 10:48   ` [dpdk-dev] [PATCH v2 4/6] net/mlx4: get back Tx checksum offloads Matan Azrad
2017-10-03 10:48   ` [dpdk-dev] [PATCH v2 5/6] net/mlx4: get back Rx " Matan Azrad
2017-10-03 22:26     ` Ferruh Yigit
2017-10-03 10:48   ` [dpdk-dev] [PATCH v2 6/6] net/mlx4: add loopback Tx from VF Matan Azrad
2017-10-03 22:27   ` [dpdk-dev] [PATCH v2 0/6] new mlx4 datapath bypassing ibverbs Ferruh Yigit
2017-10-04 18:48   ` [dpdk-dev] [PATCH v3 " Adrien Mazarguil
2017-10-04 18:48     ` [dpdk-dev] [PATCH v3 1/6] net/mlx4: add simple Tx bypassing Verbs Adrien Mazarguil
2017-10-04 18:48     ` [dpdk-dev] [PATCH v3 2/6] net/mlx4: restore full Rx support " Adrien Mazarguil
2017-10-04 18:48     ` [dpdk-dev] [PATCH v3 3/6] net/mlx4: restore Tx gather support Adrien Mazarguil
2017-10-04 18:48     ` [dpdk-dev] [PATCH v3 4/6] net/mlx4: restore Tx checksum offloads Adrien Mazarguil
2017-10-04 18:48     ` [dpdk-dev] [PATCH v3 5/6] net/mlx4: restore Rx offloads Adrien Mazarguil
2017-10-04 18:48     ` [dpdk-dev] [PATCH v3 6/6] net/mlx4: add loopback Tx from VF Adrien Mazarguil
2017-10-05  9:33     ` [dpdk-dev] [PATCH v4 0/7] new mlx4 datapath bypassing ibverbs Ophir Munk
2017-10-05  9:33       ` [dpdk-dev] [PATCH v4 1/7] net/mlx4: add simple Tx bypassing Verbs Ophir Munk
2017-10-05  9:33       ` [dpdk-dev] [PATCH v4 2/7] net/mlx4: restore full Rx support " Ophir Munk
2017-10-05  9:33       ` [dpdk-dev] [PATCH v4 3/7] net/mlx4: restore Rx scatter support Ophir Munk
2017-10-05  9:33       ` [dpdk-dev] [PATCH v4 4/7] net/mlx4: restore Tx gather support Ophir Munk
2017-10-05  9:33       ` [dpdk-dev] [PATCH v4 5/7] net/mlx4: restore Tx checksum offloads Ophir Munk
2017-10-05  9:33       ` [dpdk-dev] [PATCH v4 6/7] net/mlx4: restore Rx offloads Ophir Munk
2017-10-05  9:33       ` [dpdk-dev] [PATCH v4 7/7] net/mlx4: add loopback Tx from VF Ophir Munk
2017-10-05 11:40       ` [dpdk-dev] [PATCH v4 0/7] new mlx4 datapath bypassing ibverbs Adrien Mazarguil
2017-10-05 18:48       ` Ferruh Yigit
2017-10-05 18:54         ` Ferruh Yigit
2017-10-11 18:31       ` [dpdk-dev] [PATCH v5 0/5] " Adrien Mazarguil
2017-10-11 18:31         ` [dpdk-dev] [PATCH v5 1/5] net/mlx4: add Tx bypassing Verbs Adrien Mazarguil
2017-10-11 18:31         ` [dpdk-dev] [PATCH v5 2/5] net/mlx4: add Rx " Adrien Mazarguil
2017-10-11 18:32         ` [dpdk-dev] [PATCH v5 3/5] net/mlx4: restore Tx checksum offloads Adrien Mazarguil
2017-10-11 18:32         ` [dpdk-dev] [PATCH v5 4/5] net/mlx4: restore Rx offloads Adrien Mazarguil
2017-10-11 18:32         ` [dpdk-dev] [PATCH v5 5/5] net/mlx4: add loopback Tx from VF Adrien Mazarguil
2017-10-12 12:29         ` [dpdk-dev] [PATCH v6 0/5] new mlx4 datapath bypassing ibverbs Adrien Mazarguil
2017-10-12 12:29           ` [dpdk-dev] [PATCH v6 1/5] net/mlx4: add Tx bypassing Verbs Adrien Mazarguil
2017-10-12 12:29           ` [dpdk-dev] [PATCH v6 2/5] net/mlx4: add Rx " Adrien Mazarguil
2017-10-12 12:29           ` [dpdk-dev] [PATCH v6 3/5] net/mlx4: restore Tx checksum offloads Adrien Mazarguil
2017-10-12 12:29           ` [dpdk-dev] [PATCH v6 4/5] net/mlx4: restore Rx offloads Adrien Mazarguil
2017-10-12 12:30           ` [dpdk-dev] [PATCH v6 5/5] net/mlx4: add loopback Tx from VF Adrien Mazarguil
2017-10-24  6:29           ` [dpdk-dev] [PATCH v6 0/5] new mlx4 datapath bypassing ibverbs gowrishankar muthukrishnan
2017-10-24  8:49             ` gowrishankar muthukrishnan
2017-10-24  9:55               ` Nélio Laranjeiro [this message]
2017-10-24 10:01                 ` Adrien Mazarguil
2017-10-24 16:59           ` Ferruh Yigit
2017-10-04 21:48   ` [dpdk-dev] [PATCH v3 0/7] " Ophir Munk
2017-10-04 21:49     ` [dpdk-dev] [PATCH v3 1/7] net/mlx4: add simple Tx " Ophir Munk
2017-10-04 21:49     ` [dpdk-dev] [PATCH v3 2/7] net/mlx4: get back Rx flow functionality Ophir Munk
2017-10-04 21:49     ` [dpdk-dev] [PATCH v3 3/7] net/mlx4: support multi-segments Rx Ophir Munk
2017-10-04 21:49     ` [dpdk-dev] [PATCH v3 4/7] net/mlx4: support multi-segments Tx Ophir Munk
2017-10-04 21:49     ` [dpdk-dev] [PATCH v3 5/7] net/mlx4: get back Tx checksum offloads Ophir Munk
2017-10-04 21:49     ` [dpdk-dev] [PATCH v3 6/7] net/mlx4: get back Rx " Ophir Munk
2017-10-04 21:49     ` [dpdk-dev] [PATCH v3 7/7] net/mlx4: add loopback Tx from VF Ophir Munk
2017-10-04 22:37     ` [dpdk-dev] [PATCH v3 0/7] new mlx4 datapath bypassing ibverbs Ferruh Yigit
2017-10-04 22:46       ` Thomas Monjalon
2017-10-24 11:56 ` [dpdk-dev] [PATCH 0/5] new mlx4 Tx " Nélio Laranjeiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171024095542.jpoaysbmvao7k3po@laranjeiro-vm \
    --to=nelio.laranjeiro@6wind.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=gowrishankar.m@linux.vnet.ibm.com \
    --cc=matan@mellanox.com \
    --cc=motih@mellanox.com \
    --cc=ophirmu@mellanox.com \
    --cc=pradeep@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).