.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "HNSDV_IS_SUPPORTED" "3" "2024-02-06" "hns" "HNS Programmer\[cq]s Manual"
.hy
.SH NAME
.PP
hnsdv_is_supported - Check whether an RDMA device implemented by the hns
provider
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/hnsdv.h>

bool hnsdv_is_supported(struct ibv_device *device);
\f[R]
.fi
.SH DESCRIPTION
.PP
hnsdv 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 hns provider.
.SH SEE ALSO
.PP
\f[I]hnsdv(7)\f[R]
.SH AUTHOR
.PP
Junxian Huang <huangjunxian6@hisilicon.com>
