hnsdv_is_supported - Man Page

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)

Author

Junxian Huang <huangjunxian6@hisilicon.com>

Info

2024-02-06 HNS Programmer’s Manual