common/mlx5: add Verbs usage flag
authorOphir Munk <ophirmu@nvidia.com>
Mon, 28 Dec 2020 09:54:16 +0000 (11:54 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:07 +0000 (16:03 +0100)
commit471da3682c691955dee4b6faee24a4deb6abf595
tree84b1e73232e85f48a6e20a691f60e08da588f8d9
parent223f2c2162bfd8c5f9ac51dfb1eb3d8f87554880
common/mlx5: add Verbs usage flag

Add a Verbs file presence indication. Under Linux it is required that
file infiniband/verbs.h is installed for building DPDK.  Other
operating systems (e.g. Windows) ignore Verbs completely.  This commit
adds definition HAVE_INFINIBAND_VERBS_H (file mlx5_autoconf.h) to
indicate whether DPDK compiles with Verbs or not.

Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/linux/meson.build