numam-dpdk/mk
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
..
arch mk: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
exec-env mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
internal mk: support renamed Makefile in external project 2018-01-31 00:43:23 +01:00
machine mk: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
target/generic mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
toolchain mk: add experimental tag check 2018-01-29 23:35:29 +01:00
rte.app.mk net/mlx5: spawn rdma-core dependency plug-in 2018-01-31 20:57:29 +01:00
rte.bsdmodule.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.combinedlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.cpuflags.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extapp.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extobj.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: do not generate LDLIBS from directory dependencies 2017-10-24 02:14:57 +02:00
rte.gnuconfigure.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.hostapp.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.hostlib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.install.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.lib.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.module.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.obj.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkbuild.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkconfig.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkdepdirs.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkdoc.mk mk: sort list of examples files in doc 2017-10-12 22:31:33 +02:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdkinstall.mk mk: fix excluding files when installing docs 2017-06-27 01:16:22 +02:00
rte.sdkroot.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.sdktest.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.shared.mk mk: sort libraries in dependency lists 2017-10-12 22:31:33 +02:00
rte.subdir.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte.vars.mk mk: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00