mlx5dv_devx_subscribe_devx_event - Subscribe over an event channel for device events.
mlx5dv_devx_subscribe_devx_event_fd - Subscribe over an event channel for device events to signal eventfd.
#include <infiniband/mlx5dv.h> int mlx5dv_devx_subscribe_devx_event(struct mlx5dv_devx_event_channel *dv_event_channel, struct mlx5dv_devx_obj *obj, uint16_t events_sz, uint16_t events_num[], uint64_t cookie) int mlx5dv_devx_subscribe_devx_event_fd(struct mlx5dv_devx_event_channel *dv_event_channel, int fd, struct mlx5dv_devx_obj *obj, uint16_t event_num)
Subscribe over a DEVX event channel for device events.
When mlx5dv_devx_subscribe_devx_event_fd will be used the fd will be signaled once an event has occurred.
mlx5dv_open_device(3), mlx5dv_devx_create_event_channel(3), mlx5dv_devx_get_event(3)
#AUTHOR
Yishai Hadas <yishaih@mellanox.com>