Skip to content

Commit

Permalink
acinclude: Use RTE_IBVERBS_LINK_DLOPEN
Browse files Browse the repository at this point in the history
On DPDK 19.11 RTE_IBVERBS_LINK_DLOPEN is used by Mellanox PMDs (mlx4 and
mlx5) instead of RTE_LIBRTE_MLX{4,5}_DLOPEN_DEPS.

Without this commit is not possible to statically link OVS with DPDK when MLX4
or MLX5 PMDs are enabled.

Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: 0-day Robot <robot@bytheb.org>
  • Loading branch information
drizzt authored and ovsrobot committed Jan 8, 2020
1 parent e988b8a commit 3136dba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acinclude.m4
Expand Up @@ -378,14 +378,14 @@ AC_DEFUN([OVS_CHECK_DPDK], [
AC_CHECK_DECL([RTE_LIBRTE_MLX5_PMD], [dnl found
OVS_FIND_DEPENDENCY([mnl_attr_put], [mnl], [libmnl])
AC_CHECK_DECL([RTE_LIBRTE_MLX5_DLOPEN_DEPS], [], [dnl not found
AC_CHECK_DECL([RTE_IBVERBS_LINK_DLOPEN], [], [dnl not found
OVS_FIND_DEPENDENCY([mlx5dv_create_wq], [mlx5], [libmlx5])
OVS_FIND_DEPENDENCY([verbs_init_cq], [ibverbs], [libibverbs])
], [[#include <rte_config.h>]])
], [], [[#include <rte_config.h>]])
AC_CHECK_DECL([RTE_LIBRTE_MLX4_PMD], [dnl found
AC_CHECK_DECL([RTE_LIBRTE_MLX4_DLOPEN_DEPS], [], [dnl not found
AC_CHECK_DECL([RTE_IBVERBS_LINK_DLOPEN], [], [dnl not found
OVS_FIND_DEPENDENCY([mlx4dv_init_obj], [mlx4], [libmlx4])
OVS_FIND_DEPENDENCY([verbs_init_cq], [ibverbs], [libibverbs])
], [[#include <rte_config.h>]])
Expand Down

0 comments on commit 3136dba

Please sign in to comment.