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

# ibv\_node\_type\_str(3)

Return string describing event\_type enum value ibv\_node\_type\_str - Return string describing node\_type enum value ibv\_port\_state\_str - Return string describing port\_state enum value

Part of [ibv\_event\_type\_str(3)](/ibv_event_type_str/3.md).

## NAME

ibv\_event\_type\_str - Return string describing event\_type enum value

ibv\_node\_type\_str - Return string describing node\_type enum value

ibv\_port\_state\_str - Return string describing port\_state enum value

## SYNOPSIS

-

  ```
  #include <infiniband/verbs.h>
  const char *ibv_event_type_str(enum ibv_event_type event_type);
  const char *ibv_node_type_str(enum ibv_node_type node_type);
  const char *ibv_port_state_str(enum ibv_port_state port_state);
  ```

## DESCRIPTION

**ibv\_node\_type\_str()** returns a string describing the node type enum value *node\_type*.

**ibv\_port\_state\_str()** returns a string describing the port state enum value *port\_state*.

**ibv\_event\_type\_str()** returns a string describing the event type enum value *event\_type*.

## RETURN VALUE

These functions return a constant string that describes the enum value passed as their argument.

## AUTHOR

Roland Dreier ⟨rolandd@cisco.com⟩\\c
