History

IB/mlx5: Expose RAW QP device handles to user space

Expose RAW QP device handles to user space by extending the UHW part of mlx5_ib_create_qp_resp. This data is returned only when DEVX context is used where it may be applicable.

Yishai Hadas committed 8 years ago

Commit 7f720521 parent 39945862 files · +49 −2Browse files

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

Unified · Split

include/uapi/rdma/mlx5-abi.h+13−0
@@ -351,9 +351,22 @@ struct mlx5_ib_create_qp_rss { · 350 unmodified lines
351351 __u32 flags;
352352 };
353353
354+enum mlx5_ib_create_qp_resp_mask {
355+ MLX5_IB_CREATE_QP_RESP_MASK_TIRN = 1UL << 0,
356+ MLX5_IB_CREATE_QP_RESP_MASK_TISN = 1UL << 1,
357+ MLX5_IB_CREATE_QP_RESP_MASK_RQN = 1UL << 2,
358+ MLX5_IB_CREATE_QP_RESP_MASK_SQN = 1UL << 3,
359+};
360+
354361 struct mlx5_ib_create_qp_resp {
355362 __u32 bfreg_index;
356363 __u32 reserved;
364+ __u32 comp_mask;
365+ __u32 tirn;
366+ __u32 tisn;
367+ __u32 rqn;
368+ __u32 sqn;
369+ __u32 reserved1;
357370 };
358371
359372 struct mlx5_ib_alloc_mw {

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