aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/mlx5_user_ioctl_verbs.h
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2019-06-30 19:23:32 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-07-03 17:12:38 -0300
commit5ec9d8ee87c627a2c981d871e41f6e2a942f53fd (patch)
tree73fb81f744a148891052f310336a8142ef73022c /include/uapi/rdma/mlx5_user_ioctl_verbs.h
parentIB/mlx5: Enable subscription for device events over DEVX (diff)
downloadlinux-dev-5ec9d8ee87c627a2c981d871e41f6e2a942f53fd.tar.xz
linux-dev-5ec9d8ee87c627a2c981d871e41f6e2a942f53fd.zip
IB/mlx5: Implement DEVX dispatching event
Implement DEVX dispatching event by looking up for the applicable subscriptions for the reported event and using their target fd to signal/set the event. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
-rw-r--r--include/uapi/rdma/mlx5_user_ioctl_verbs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5_user_ioctl_verbs.h b/include/uapi/rdma/mlx5_user_ioctl_verbs.h
index b44691315d39..7e9900b0e746 100644
--- a/include/uapi/rdma/mlx5_user_ioctl_verbs.h
+++ b/include/uapi/rdma/mlx5_user_ioctl_verbs.h
@@ -67,5 +67,10 @@ enum mlx5_ib_uapi_devx_create_event_channel_flags {
MLX5_IB_UAPI_DEVX_CR_EV_CH_FLAGS_OMIT_DATA = 1 << 0,
};
+struct mlx5_ib_uapi_devx_async_event_hdr {
+ __aligned_u64 cookie;
+ __u8 out_data[];
+};
+
#endif