mlx5dv_is_supported - Check whether an RDMA device implemented by the mlx5 provider
#include <infiniband/mlx5dv.h> bool mlx5dv_is_supported(struct ibv_device *device);
mlx5dv functions may be called only if this function returns true for the RDMA device.
Returns true if device is implemented by mlx5 provider.
mlx5dv(7)
Artemy Kovalyov <artemyko@mellanox.com>