[ovs-dev] [PATCH V2 1/2] acinclude: Include libverbs and libmlx5 when needed

Ben Pfaff blp at ovn.org
Mon Feb 4 19:29:17 UTC 2019


On Tue, Jan 29, 2019 at 04:00:46PM +0200, Eli Britstein 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 <elibr at mellanox.com>
> Reviewed-by: Shahaf Shuler <shahafs at mellanox.com>
> Reviewed-by: Asaf Penso <asafp at mellanox.com>

I don't see yet why this defines preprocessor symbols DPDK_MLX5 and
DPDK_VERBS.  Nothing in OVS uses them.

This seems to be a preprocessor-only test, do you want to use
AC_PREPROC_IFELSE?


More information about the dev mailing list