History

RDMA/mlx4: Move flag constants to uapi header

MLX4_USER_DEV_CAP_LARGE_CQE (via mlx4_ib_alloc_ucontext_resp.dev_caps) and MLX4_IB_QUERY_DEV_RESP_MASK_CORE_CLOCK_OFFSET (via mlx4_uverbs_ex_query_device_resp.comp_mask) are copied directly to userspace and form part of the uAPI. Move them to the uapi header where they belong.

Jason Gunthorpe committed 8 years ago

Commit 48962f51 parent 0c43ab36 files · +11 −9Browse files

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

Unified · Split

include/uapi/rdma/mlx4-abi.h+8−0
@@ -59,6 +59,10 @@ struct mlx4_ib_alloc_ucontext_resp_v3 { · 58 unmodified lines
5959 __u16 bf_regs_per_page;
6060 };
6161
62+enum {
63+ MLX4_USER_DEV_CAP_LARGE_CQE = 1L << 0,
64+};
65+
6266 struct mlx4_ib_alloc_ucontext_resp {
6367 __u32 dev_caps;
6468 __u32 qp_tab_size;
@@ -162,6 +166,10 @@ struct mlx4_ib_rss_caps { · 97 unmodified lines
162166 __u8 reserved[7];
163167 };
164168
169+enum query_device_resp_mask {
170+ MLX4_IB_QUERY_DEV_RESP_MASK_CORE_CLOCK_OFFSET = 1UL << 0,
171+};
172+
165173 struct mlx4_uverbs_ex_query_device_resp {
166174 __u32 comp_mask;
167175 __u32 response_length;

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