diff options
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_user_verbs.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/include/rdma/ib_user_verbs.h b/include/rdma/ib_user_verbs.h index b5cb63f41f0f..100abbbd6e6e 100644 --- a/include/rdma/ib_user_verbs.h +++ b/include/rdma/ib_user_verbs.h | |||
@@ -83,7 +83,8 @@ enum { | |||
83 | IB_USER_VERBS_CMD_DESTROY_SRQ, | 83 | IB_USER_VERBS_CMD_DESTROY_SRQ, |
84 | IB_USER_VERBS_CMD_POST_SRQ_RECV, | 84 | IB_USER_VERBS_CMD_POST_SRQ_RECV, |
85 | IB_USER_VERBS_CMD_OPEN_XRCD, | 85 | IB_USER_VERBS_CMD_OPEN_XRCD, |
86 | IB_USER_VERBS_CMD_CLOSE_XRCD | 86 | IB_USER_VERBS_CMD_CLOSE_XRCD, |
87 | IB_USER_VERBS_CMD_CREATE_XSRQ | ||
87 | }; | 88 | }; |
88 | 89 | ||
89 | /* | 90 | /* |
@@ -665,11 +666,25 @@ struct ib_uverbs_create_srq { | |||
665 | __u64 driver_data[0]; | 666 | __u64 driver_data[0]; |
666 | }; | 667 | }; |
667 | 668 | ||
669 | struct ib_uverbs_create_xsrq { | ||
670 | __u64 response; | ||
671 | __u64 user_handle; | ||
672 | __u32 srq_type; | ||
673 | __u32 pd_handle; | ||
674 | __u32 max_wr; | ||
675 | __u32 max_sge; | ||
676 | __u32 srq_limit; | ||
677 | __u32 reserved; | ||
678 | __u32 xrcd_handle; | ||
679 | __u32 cq_handle; | ||
680 | __u64 driver_data[0]; | ||
681 | }; | ||
682 | |||
668 | struct ib_uverbs_create_srq_resp { | 683 | struct ib_uverbs_create_srq_resp { |
669 | __u32 srq_handle; | 684 | __u32 srq_handle; |
670 | __u32 max_wr; | 685 | __u32 max_wr; |
671 | __u32 max_sge; | 686 | __u32 max_sge; |
672 | __u32 reserved; | 687 | __u32 srqn; |
673 | }; | 688 | }; |
674 | 689 | ||
675 | struct ib_uverbs_modify_srq { | 690 | struct ib_uverbs_modify_srq { |