History

IB/mlx5: Add support for DEVX general command

Add support to run general firmware command via the DEVX interface. A command that works on some object (e.g. CQ, WQ, etc.) will be added in next patches while maintaining the required object lock.

Yishai Hadas committed 8 years ago

Commit 8aa8c951 parent a8b92ca2 files · +100 −0Browse files

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

Unified · Split

include/uapi/rdma/mlx5_user_ioctl_cmds.h+13−0
@@ -45,4 +45,17 @@ enum mlx5_ib_alloc_dm_attrs { · 44 unmodified lines
4545 MLX5_IB_ATTR_ALLOC_DM_RESP_PAGE_INDEX,
4646 };
4747
48+enum mlx5_ib_devx_methods {
49+ MLX5_IB_METHOD_DEVX_OTHER = (1U << UVERBS_ID_NS_SHIFT),
50+};
51+
52+enum mlx5_ib_devx_other_attrs {
53+ MLX5_IB_ATTR_DEVX_OTHER_CMD_IN = (1U << UVERBS_ID_NS_SHIFT),
54+ MLX5_IB_ATTR_DEVX_OTHER_CMD_OUT,
55+};
56+
57+enum mlx5_ib_devx_objects {
58+ MLX5_IB_OBJECT_DEVX = (1U << UVERBS_ID_NS_SHIFT),
59+};
60+
4861 #endif

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