mlx5dv_vfio_process_events(3)

mlx5dv_vfio_process_events3

Process vfio driver events

Usage

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

Overview

This API should run from application thread and maintain device events. The application is responsible to get the events FD by calling mlx5dv_vfio_get_events_fd() and once the FD is pollable call the API to let driver process its internal events.

Arguments

ctx

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

Return value

Returns 0 upon success or errno value in case a failure has occurred.

Notes

Application can use this API also to periodically check the device health state even if no events exist.

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.