aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
Diffstat (limited to 'include/rdma')
-rw-r--r--include/rdma/ib_user_verbs.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/rdma/ib_user_verbs.h b/include/rdma/ib_user_verbs.h
index fb94c08169ce..58662c34a3de 100644
--- a/include/rdma/ib_user_verbs.h
+++ b/include/rdma/ib_user_verbs.h
@@ -370,6 +370,47 @@ struct ib_uverbs_qp_dest {
370 __u8 port_num; 370 __u8 port_num;
371}; 371};
372 372
373struct ib_uverbs_query_qp {
374 __u64 response;
375 __u32 qp_handle;
376 __u32 attr_mask;
377 __u64 driver_data[0];
378};
379
380struct ib_uverbs_query_qp_resp {
381 struct ib_uverbs_qp_dest dest;
382 struct ib_uverbs_qp_dest alt_dest;
383 __u32 max_send_wr;
384 __u32 max_recv_wr;
385 __u32 max_send_sge;
386 __u32 max_recv_sge;
387 __u32 max_inline_data;
388 __u32 qkey;
389 __u32 rq_psn;
390 __u32 sq_psn;
391 __u32 dest_qp_num;
392 __u32 qp_access_flags;
393 __u16 pkey_index;
394 __u16 alt_pkey_index;
395 __u8 qp_state;
396 __u8 cur_qp_state;
397 __u8 path_mtu;
398 __u8 path_mig_state;
399 __u8 en_sqd_async_notify;
400 __u8 max_rd_atomic;
401 __u8 max_dest_rd_atomic;
402 __u8 min_rnr_timer;
403 __u8 port_num;
404 __u8 timeout;
405 __u8 retry_cnt;
406 __u8 rnr_retry;
407 __u8 alt_port_num;
408 __u8 alt_timeout;
409 __u8 sq_sig_all;
410 __u8 reserved[5];
411 __u64 driver_data[0];
412};
413
373struct ib_uverbs_modify_qp { 414struct ib_uverbs_modify_qp {
374 struct ib_uverbs_qp_dest dest; 415 struct ib_uverbs_qp_dest dest;
375 struct ib_uverbs_qp_dest alt_dest; 416 struct ib_uverbs_qp_dest alt_dest;