.\" Automatically generated by Pandoc 2.18
.\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
.TH "mlx5dv_is_supported" "3" "" "" ""
.hy
.SH NAME
.PP
mlx5dv_is_supported - Check whether an RDMA device implemented by the
mlx5 provider
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/mlx5dv.h>

bool mlx5dv_is_supported(struct ibv_device *device);
\f[R]
.fi
.SH DESCRIPTION
.PP
mlx5dv functions may be called only if this function returns true for
the RDMA device.
.SH ARGUMENTS
.TP
\f[I]device\f[R]
RDMA device to check.
.SH RETURN VALUE
.PP
Returns true if device is implemented by mlx5 provider.
.SH SEE ALSO
.PP
\f[I]mlx5dv(7)\f[R]
.SH AUTHOR
.PP
Artemy Kovalyov <artemyko@mellanox.com>
