Re: [dpdk-dev] [PATCH v1 2/4] net/mlx4: spawn rdma-core dependency plug-in

2018-01-26 Thread Thomas Monjalon
25/01/2018 00:25, Adrien Mazarguil: > --- a/drivers/net/mlx4/Makefile > +++ b/drivers/net/mlx4/Makefile > @@ -38,7 +38,11 @@ LIB = librte_pmd_mlx4.a > SRCS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += mlx4.c > SRCS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += mlx4_ethdev.c > SRCS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += mlx4_f

[dpdk-dev] [PATCH v1 2/4] net/mlx4: spawn rdma-core dependency plug-in

2018-01-24 Thread Adrien Mazarguil
When mlx4 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 libmlx4 through rte.app.mk. This is an issue both when DPDK is delivered as a binary package (Linu