mlx5dv_vfio_get_events_fd(3)

mlx5dv_vfio_get_events_fd3

Get the file descriptor to manage driver events.

Usage

#include <infiniband/mlx5dv.h>
int mlx5dv_vfio_get_events_fd(struct ibv_context *ctx);

Overview

Returns the file descriptor to be used for managing driver events.

Arguments

ctx

device context that was opened for VFIO by calling mlx5dv_get_vfio_device_list().

Return value

Returns the internal matching file descriptor.

Notes

Client code should poll the returned file descriptor and once there is some data to be managed immediately call mlx5dv_vfio_process_events().

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Author

Yishai Hadas ⟨[email protected]⟩\c

From rdma-core 65.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.