[dpdk-dev] [PATCH v4 0/4] net/mlx: make rdma-core optional at run-time

Shahaf Shuler shahafs at mellanox.com
Wed Jan 31 11:13:00 CET 2018


Tuesday, January 30, 2018 5:35 PM, Adrien Mazarguil:
> Subject: [PATCH v4 0/4] net/mlx: make rdma-core optional at run-time
> 
> A problem encountered with Mellanox PMDs and frequently reported by
> DPDK application developers and Linux distribution package maintainers is
> their dependency on rdma-core components, namely libibverbs, libmlx4, and
> libmlx5.
> 
> For best performance in applications, DPDK is normally built as a collection of
> library archives (.a files), whose external dependencies are inherited through
> rte.app.mk during link.
> 
> When these PMDs are built-in, any binary DPDK package, whether DPDK
> itself or derived applications, always have to pull rdma-core. This
> dependency is not obvious and may be missed during the packaging of any
> intermediate layer between DPDK itself and the end application.
> 
> While still required during compilation, this series trades this hard
> dependency for an optional one, dynamically loaded at run-time through
> dlopen().
> 
> It supersedes Shachar's previous work on the same topic [1] using a different
> approach in order to preserve symbol versioning and address the remaining
> issues.
> 

Series applied to next-net-mlx with the requested conversion from ERROR to WARN upon dlopen failure. Please check fix is OK. 
Thanks.



More information about the dev mailing list