1mlx5dv_vfio_get_events_fd(3)                      mlx5dv_vfio_get_events_fd(3)
2
3
4

NAME

6       mlx5dv_vfio_get_events_fd  -  Get  the file descriptor to manage driver
7       events.
8

SYNOPSIS

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

DESCRIPTION

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

ARGUMENTS

18       ctx    device  context  that   was   opened   for   VFIO   by   calling
19              mlx5dv_get_vfio_device_list().
20

RETURN VALUE

22       Returns the internal matching file descriptor.
23

NOTES

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

SEE ALSO

29       ibv_open_device(3)     ibv_free_device_list(3)      mlx5dv_get_vfio_de‐
30       vice_list(3)
31

AUTHOR

33       Yishai Hadas <yishaih@nvidia.com>
34
35
36
37                                                  mlx5dv_vfio_get_events_fd(3)
Impressum