DOKK / manpages / debian 12 / libibverbs-dev / mlx5dv_is_supported.3.en
mlx5dv_is_supported(3) mlx5dv_is_supported(3)

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.

RDMA device to check.

Returns true if device is implemented by mlx5 provider.

mlx5dv(7)

Artemy Kovalyov <artemyko@mellanox.com>