config: add static linkage of mlx dependency
authorThomas Monjalon <thomas@monjalon.net>
Wed, 9 Jan 2019 14:23:19 +0000 (15:23 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commit2c0dd7b69fb00fc3e422a6058ff8429edc869f68
treefeeb13844b171079eaf058825c1fca2cfecb4b5c
parent72b934adce8f5f9ed035c04ebed8b386243e5a2e
config: add static linkage of mlx dependency

The libraries provided by rdma-core may be statically linked
if enabling CONFIG_RTE_IBVERBS_LINK_STATIC in the make-based build.
If CONFIG_RTE_BUILD_SHARED_LIB is disabled, the applications
will embed the mlx PMDs with ibverbs and the mlx libraries.
If CONFIG_RTE_BUILD_SHARED_LIB is enabled,
the mlx PMDs will embed ibverbs and the mlx libraries.

Support with meson may be added later.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
MAINTAINERS
buildtools/options-ibverbs-static.sh [new file with mode: 0755]
config/common_base
doc/guides/nics/mlx4.rst
doc/guides/nics/mlx5.rst
drivers/net/mlx4/Makefile
drivers/net/mlx5/Makefile
mk/rte.app.mk