On Tue, 29 Jan 2019 12:28:08 +0200
Eli Britstein <el...@mellanox.com> wrote:

> DPDK 18.11 uses libverbs and libmlx5  when MLX5 PMD is enabled.
> 
> This commit makes OVS to link to libverbs and libmlx5 when MLX5 PMD is
> enabled on DPDK.
> 
> Signed-off-by: Eli Britstein <el...@mellanox.com>
> Reviewed-by: Shahaf Shuler <shah...@mellanox.com>
> Reviewed-by: Asaf Penso <as...@mellanox.com>
> ---

Hi,
unfortunately this breaks CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS since
OVS will unconditionally link with libverbs and so you cannot have
libverbs / rdma-core as optional dependencies anymore.

I suggest to change the patch to include the 2 libraries ONLY when you
have RTE_LIBRTE_MLX5_PMD defined and RTE_LIBRTE_MLX5_DLOPEN_DEPS not
defined.

Moreover I think a similar patch should be done for mlx4 too.

Thank you
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to