HNSDV_IS_SUPPORTED(3) HNS Programmer’s Manual HNSDV_IS_SUPPORTED(3)

hnsdv_is_supported - Check whether an RDMA device implemented by the hns provider

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

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

hnsdv(7)

Junxian Huang huangjunxian6@hisilicon.com

2024-02-06 hns