History

IB/mlx5: Introduce MLX5_IB_OBJECT_DEVX_ASYNC_CMD_FD

Introduce MLX5_IB_OBJECT_DEVX_ASYNC_CMD_FD and its initial implementation. This object is from type class FD and will be used to read DEVX async commands completion. The core layer should allow the driver to set object from type FD in a safe mode, this option was added with a matching comment in place.

Yishai Hadas committed 7 years ago

Commit 6bf8f221 parent ce4eee55 files · +104 −5Browse files

Showing the changes to include/uapi (1 of 5 files). Show all

Unified · Split

include/uapi/rdma/mlx5_user_ioctl_cmds.h+9−0
@@ -113,11 +113,20 @@ enum mlx5_ib_devx_umem_methods { · 112 unmodified lines
113113 MLX5_IB_METHOD_DEVX_UMEM_DEREG,
114114 };
115115
116+enum mlx5_ib_devx_async_cmd_fd_alloc_attrs {
117+ MLX5_IB_ATTR_DEVX_ASYNC_CMD_FD_ALLOC_HANDLE = (1U << UVERBS_ID_NS_SHIFT),
118+};
119+
120+enum mlx5_ib_devx_async_cmd_fd_methods {
121+ MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC = (1U << UVERBS_ID_NS_SHIFT),
122+};
123+
116124 enum mlx5_ib_objects {
117125 MLX5_IB_OBJECT_DEVX = (1U << UVERBS_ID_NS_SHIFT),
118126 MLX5_IB_OBJECT_DEVX_OBJ,
119127 MLX5_IB_OBJECT_DEVX_UMEM,
120128 MLX5_IB_OBJECT_FLOW_MATCHER,
129+ MLX5_IB_OBJECT_DEVX_ASYNC_CMD_FD,
121130 };
122131
123132 enum mlx5_ib_flow_matcher_create_attrs {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t