2 * Copyright (C) Mellanox Technologies, Ltd. 2001-2020.
5 #ifndef __MLX5_WIN_ETX_H__
6 #define __MLX5_WIN_ETX_H__
14 typedef struct mlx5_context {
15 devx_device_ctx *devx_ctx;
16 struct devx_device mlx5_dev;
21 devx_device_ctx *devx_ctx;
22 struct devx_obj_handle *obj;
25 struct mlx5_devx_umem {
27 struct devx_obj_handle *umem_hdl;
34 devx_device_ctx *devx_ctx;
37 #define GET_DEVX_CTX(ctx) (((mlx5_context_st *)ctx)->devx_ctx)
38 #define GET_OBJ_CTX(obj) (((mlx5_devx_obj_st *)obj)->devx_ctx)
40 #endif /* __MLX5_WIN_ETX_H__ */