numam-dpdk/drivers
Adrien Mazarguil 59b91bec12 net/mlx5: spawn rdma-core dependency plug-in
When mlx5 is not compiled directly as an independent shared object (e.g.
CONFIG_RTE_BUILD_SHARED_LIB not enabled for performance reasons), DPDK
applications inherit its dependencies on libibverbs and libmlx5 through
rte.app.mk.

This is an issue both when DPDK is delivered as a binary package (Linux
distributions) and for end users because rdma-core then propagates as a
mandatory dependency for everything.

Application writers relying on binary DPDK packages are not necessarily
aware of this fact and may end up delivering packages with broken
dependencies.

This patch therefore introduces an intermediate internal plug-in
hard-linked with rdma-core (to preserve symbol versioning) loaded by the
PMD through dlopen(), so that a missing rdma-core does not cause unresolved
symbols, allowing applications to start normally.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2018-01-31 20:57:29 +01:00
..
bbdev drivers/bbdev: align dynamic log names with standard 2018-01-31 09:28:06 +01:00
bus net/dpaa: further push mode optimizations 2018-01-31 13:44:56 +01:00
crypto crypto/scheduler: fix strncpy 2018-01-31 18:59:39 +01:00
event event/opdl: fix dereference before null check 2018-01-31 10:42:18 +01:00
mempool bus/dpaa: check portal presence in the caller function 2018-01-31 13:44:54 +01:00
net net/mlx5: spawn rdma-core dependency plug-in 2018-01-31 20:57:29 +01:00
raw raw/skeleton: add test cases 2018-01-31 15:36:30 +01:00
Makefile raw/skeleton: introduce skeleton rawdev driver 2018-01-31 15:36:02 +01:00
meson.build drivers: improve pmdinfo generation with meson 2018-01-30 21:59:00 +01:00