---
name: "mlx5dv_is_supported"
section: "3"
platform: "linux"
package: "rdma-core"
version: "65.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mlx5dv_is_supported"
---

# mlx5dv\_is\_supported(3)

Check whether an RDMA device implemented by the mlx5 provider

## NAME

mlx5dv\_is\_supported - Check whether an RDMA device implemented by the mlx5 provider

## SYNOPSIS

-

  ```
  #include <infiniband/mlx5dv.h>
  bool mlx5dv_is_supported(struct ibv_device *device);
  ```

## DESCRIPTION

mlx5dv functions may be called only if this function returns true for the RDMA device.

## ARGUMENTS

- *device*

  RDMA device to check.

## RETURN VALUE

Returns true if device is implemented by mlx5 provider.

## SEE ALSO

*[mlx5dv(7)](/mlx5dv/7.md)*

## AUTHOR

Artemy Kovalyov ⟨artemyko@mellanox.com⟩\\c
