diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-07 16:33:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-07 16:33:07 -0500 |
commit | ab9f2faf8f40604551336e5b0a18e0910a57b92c (patch) | |
tree | 9068c73acf24452762d6e2b096df19e29436183e /include/uapi | |
parent | 75021d28594d9b6fb4d05bbc41f77948a0db0e02 (diff) | |
parent | db7489e07669073970358b6cacf6a9dd8dc9275e (diff) |
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
Pull rdma updates from Doug Ledford:
"This is my initial round of 4.4 merge window patches. There are a few
other things I wish to get in for 4.4 that aren't in this pull, as
this represents what has gone through merge/build/run testing and not
what is the last few items for which testing is not yet complete.
- "Checksum offload support in user space" enablement
- Misc cxgb4 fixes, add T6 support
- Misc usnic fixes
- 32 bit build warning fixes
- Misc ocrdma fixes
- Multicast loopback prevention extension
- Extend the GID cache to store and return attributes of GIDs
- Misc iSER updates
- iSER clustering update
- Network NameSpace support for rdma CM
- Work Request cleanup series
- New Memory Registration API"
* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma: (76 commits)
IB/core, cma: Make __attribute_const__ declarations sparse-friendly
IB/core: Remove old fast registration API
IB/ipath: Remove fast registration from the code
IB/hfi1: Remove fast registration from the code
RDMA/nes: Remove old FRWR API
IB/qib: Remove old FRWR API
iw_cxgb4: Remove old FRWR API
RDMA/cxgb3: Remove old FRWR API
RDMA/ocrdma: Remove old FRWR API
IB/mlx4: Remove old FRWR API support
IB/mlx5: Remove old FRWR API support
IB/srp: Dont allocate a page vector when using fast_reg
IB/srp: Remove srp_finish_mapping
IB/srp: Convert to new registration API
IB/srp: Split srp_map_sg
RDS/IW: Convert to new memory registration API
svcrdma: Port to new memory registration API
xprtrdma: Port to new memory registration API
iser-target: Port to new memory registration API
IB/iser: Port to new fast registration API
...
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/rdma/ib_user_verbs.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/uapi/rdma/ib_user_verbs.h b/include/uapi/rdma/ib_user_verbs.h index 978841eeaff1..8126c143a519 100644 --- a/include/uapi/rdma/ib_user_verbs.h +++ b/include/uapi/rdma/ib_user_verbs.h | |||
@@ -92,6 +92,7 @@ enum { | |||
92 | enum { | 92 | enum { |
93 | IB_USER_VERBS_EX_CMD_QUERY_DEVICE = IB_USER_VERBS_CMD_QUERY_DEVICE, | 93 | IB_USER_VERBS_EX_CMD_QUERY_DEVICE = IB_USER_VERBS_CMD_QUERY_DEVICE, |
94 | IB_USER_VERBS_EX_CMD_CREATE_CQ = IB_USER_VERBS_CMD_CREATE_CQ, | 94 | IB_USER_VERBS_EX_CMD_CREATE_CQ = IB_USER_VERBS_CMD_CREATE_CQ, |
95 | IB_USER_VERBS_EX_CMD_CREATE_QP = IB_USER_VERBS_CMD_CREATE_QP, | ||
95 | IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD, | 96 | IB_USER_VERBS_EX_CMD_CREATE_FLOW = IB_USER_VERBS_CMD_THRESHOLD, |
96 | IB_USER_VERBS_EX_CMD_DESTROY_FLOW, | 97 | IB_USER_VERBS_EX_CMD_DESTROY_FLOW, |
97 | }; | 98 | }; |
@@ -516,6 +517,25 @@ struct ib_uverbs_create_qp { | |||
516 | __u64 driver_data[0]; | 517 | __u64 driver_data[0]; |
517 | }; | 518 | }; |
518 | 519 | ||
520 | struct ib_uverbs_ex_create_qp { | ||
521 | __u64 user_handle; | ||
522 | __u32 pd_handle; | ||
523 | __u32 send_cq_handle; | ||
524 | __u32 recv_cq_handle; | ||
525 | __u32 srq_handle; | ||
526 | __u32 max_send_wr; | ||
527 | __u32 max_recv_wr; | ||
528 | __u32 max_send_sge; | ||
529 | __u32 max_recv_sge; | ||
530 | __u32 max_inline_data; | ||
531 | __u8 sq_sig_all; | ||
532 | __u8 qp_type; | ||
533 | __u8 is_srq; | ||
534 | __u8 reserved; | ||
535 | __u32 comp_mask; | ||
536 | __u32 create_flags; | ||
537 | }; | ||
538 | |||
519 | struct ib_uverbs_open_qp { | 539 | struct ib_uverbs_open_qp { |
520 | __u64 response; | 540 | __u64 response; |
521 | __u64 user_handle; | 541 | __u64 user_handle; |
@@ -538,6 +558,12 @@ struct ib_uverbs_create_qp_resp { | |||
538 | __u32 reserved; | 558 | __u32 reserved; |
539 | }; | 559 | }; |
540 | 560 | ||
561 | struct ib_uverbs_ex_create_qp_resp { | ||
562 | struct ib_uverbs_create_qp_resp base; | ||
563 | __u32 comp_mask; | ||
564 | __u32 response_length; | ||
565 | }; | ||
566 | |||
541 | /* | 567 | /* |
542 | * This struct needs to remain a multiple of 8 bytes to keep the | 568 | * This struct needs to remain a multiple of 8 bytes to keep the |
543 | * alignment of the modify QP parameters. | 569 | * alignment of the modify QP parameters. |