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
351 __u32 flags;351 __u32 flags;
352};352};
353 353
354enum 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
354struct mlx5_ib_create_qp_resp {361struct mlx5_ib_create_qp_resp {
355 __u32 bfreg_index;362 __u32 bfreg_index;
356 __u32 reserved;363 __u32 reserved;
364 __u32 comp_mask;
365 __u32 tirn;
366 __u32 tisn;
367 __u32 rqn;
368 __u32 sqn;
369 __u32 reserved1;
357};370};
358 371
359struct mlx5_ib_alloc_mw {372struct 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