ibv_get_device_name

Obtains the name of the RDMA device.

Syntax

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

Description

The ibv_get_device_name function returns a pointer to the device name that is contained within the struct ibv_device.

Parameters

Item Description
device Specifies the struct ibv_device for the required device.

Return Value

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