diff options
Diffstat (limited to 'include/uapi/rdma/ib_user_verbs.h')
-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. |