[dpdk-dev] [PATCH v6 0/5] new mlx4 datapath bypassing ibverbs
Nélio Laranjeiro
nelio.laranjeiro at 6wind.com
Tue Oct 24 11:55:42 CEST 2017
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
More information about the dev
mailing list