net/mlx: make rdma-core glue path configurable
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Fri, 2 Feb 2018 16:46:18 +0000 (17:46 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 6 Feb 2018 13:35:07 +0000 (14:35 +0100)
commitf6242d0655cdc9a97d9a7dbe3880d20eb471570e
treecb9afa2d30fbb840f4ca9d1ce34d1f466dc86768
parent6d5df2eaf667e2e65a34e135ea0e33a055fe9cd0
net/mlx: make rdma-core glue path configurable

Since rdma-core glue libraries are intrinsically tied to their respective
PMDs and used as internal plug-ins, their presence in the default search
path among other system libraries for the dynamic linker is not necessarily
desired.

This commit enables their installation and subsequent look-up at run time
in RTE_EAL_PMD_PATH if configured to a nonempty string. This path can also
be overridden by environment variables MLX[45]_GLUE_PATH.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
doc/guides/nics/mlx4.rst
doc/guides/nics/mlx5.rst
drivers/net/mlx4/mlx4.c
drivers/net/mlx5/mlx5.c