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
59 __u16 bf_regs_per_page;59 __u16 bf_regs_per_page;
60};60};
61 61
62enum {
63 MLX4_USER_DEV_CAP_LARGE_CQE = 1L << 0,
64};
65
62struct mlx4_ib_alloc_ucontext_resp {66struct mlx4_ib_alloc_ucontext_resp {
63 __u32 dev_caps;67 __u32 dev_caps;
64 __u32 qp_tab_size;68 __u32 qp_tab_size;
@@ -162,6 +166,10 @@ struct mlx4_ib_rss_caps { · 97 unmodified lines
162 __u8 reserved[7];166 __u8 reserved[7];
163};167};
164 168
169enum query_device_resp_mask {
170 MLX4_IB_QUERY_DEV_RESP_MASK_CORE_CLOCK_OFFSET = 1UL << 0,
171};
172
165struct mlx4_uverbs_ex_query_device_resp {173struct mlx4_uverbs_ex_query_device_resp {
166 __u32 comp_mask;174 __u32 comp_mask;
167 __u32 response_length;175 __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