---
name: "ibv_get_device_name"
section: "3"
platform: "linux"
package: "rdma-core"
version: "65.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/ibv_get_device_name"
---

# ibv\_get\_device\_name(3)

get an RDMA device’s name

## NAME

ibv\_get\_device\_name - get an RDMA device’s name

## SYNOPSIS

-

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

## DESCRIPTION

**ibv\_get\_device\_name()** returns a human-readable name associated with the RDMA device *device*.

## RETURN VALUE

**ibv\_get\_device\_name()** returns a pointer to the device name, or NULL if the request fails.

## SEE ALSO

[**ibv\_get\_device\_guid**(3)](/ibv_get_device_guid/3.md), [**ibv\_get\_device\_list**(3)](/ibv_get_device_list/3.md), [**ibv\_open\_device**(3)](/ibv_open_device/3.md)

## AUTHOR

Dotan Barak ⟨dotanba@gmail.com⟩\\c
