---
name: "ibv_event_type_str"
section: "3"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/ibv_event_type_str"
---

# ibv\_event\_type\_str(3)

## 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*\>
