Skip to content

net/mlx: enhance rdma-core glue configuration

Adrien Mazarguil dpdk-dev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 19 repliesIn review
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fixed extra "\n" in glue file name generation (although it didn't break functionality).

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/mlx: add debug checks to glue structuredrivers/net/mlx4/mlx4.c drivers/net/mlx5/mlx5.c+18 -02 replies
2/4net/mlx: fix missing includes for rdma-core gluedrivers/net/mlx4/mlx4_glue.c drivers/net/mlx4/mlx4_glue.h drivers/net/mlx5/mlx5_glue.h+7 -00 replies
3/4net/mlx: version rdma-core glue librariesdrivers/net/mlx4/Makefile drivers/net/mlx4/mlx4.c drivers/net/mlx4/mlx4_glue.c +5 more+36 -415 replies
4/4net/mlx: make rdma-core glue path configurabledoc/guides/nics/mlx4.rst doc/guides/nics/mlx5.rst drivers/net/mlx4/mlx4.c +1 more+115 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNelio Laranjeiro
SeriesA-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] net/mlx: enhance rdma-core glue configuration

The decision to deliver mlx4/mlx5 rdma-core glue plug-ins separately instead of generating them at run time due to security concerns [1] led to a few issues:

- They must be present on the file system before running DPDK.
- Their location must be known to the dynamic linker.
- Their names overlap and ABI compatibility is not guaranteed, which may lead to crashes.

This series addresses the above by adding version information to plug-ins and taking CONFIG_RTE_EAL_PMD_PATH into account to locate them on the file system.

[1] http://dpdk.org/ml/archives/dev/2018-January/089617.html

v2 changes:

- Fixed extra "\n" in glue file name generation (although it didn't break functionality).

Adrien Mazarguil (4):
net/mlx: add debug checks to glue structure net/mlx: fix missing includes for rdma-core glue net/mlx: version rdma-core glue libraries net/mlx: make rdma-core glue path configurable

 doc/guides/nics/mlx4.rst     | 17 ++++++++++++
 doc/guides/nics/mlx5.rst     | 14 ++++++++++
 drivers/net/mlx4/Makefile    |  8 ++++--
 drivers/net/mlx4/mlx4.c      | 57 ++++++++++++++++++++++++++++++++++++++-
 drivers/net/mlx4/mlx4_glue.c |  4 +++
 drivers/net/mlx4/mlx4_glue.h |  9 +++++++
 drivers/net/mlx5/Makefile    |  8 ++++--
 drivers/net/mlx5/mlx5.c      | 57 ++++++++++++++++++++++++++++++++++++++-
 drivers/net/mlx5/mlx5_glue.c |  1 +
 drivers/net/mlx5/mlx5_glue.h |  7 +++++
 10 files changed, 176 insertions(+), 6 deletions(-)
Signature · 1 line
2.11.0