---
name: "hnsdv_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/hnsdv_is_supported"
---

# hnsdv\_is\_supported(3)

Check whether an RDMA device implemented by the hns provider

## NAME

hnsdv\_is\_supported - Check whether an RDMA device implemented by the hns provider

## SYNOPSIS

-

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

## DESCRIPTION

hnsdv 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 hns provider.

## SEE ALSO

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

## AUTHOR

Junxian Huang ⟨huangjunxian6@hisilicon.com⟩\\c
