ibv_get_device_name

Gets the RDMA device's name.

Syntax

#include <rdma/verbs.h>
const char *ibv_get_device_name(struct ibv_device *device);

Description

ibv_get_device_name returns a pointer to the device name contained within the ibv_device struct.

Parameters

device struct ibv_device for desired device.

Return Value

ibv_get_device_list() returns a pointer to the device name char string on success, and NULL if the request fails.

[ Feedback ]