summaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_user_verbs.h
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2006-10-25 12:54:20 +0200
committerRoland Dreier <rolandd@cisco.com>2006-10-31 06:19:35 +0100
commit0b26c88f29ad8bcf91a2ea8f25a36f2028ebabea (patch)
tree8d8f3417f9ccc1fb24a112c8fa256e1f215cc677 /include/rdma/ib_user_verbs.h
parentIB/amso1100: Fix incorrect pr_debug() (diff)
downloadlinux-0b26c88f29ad8bcf91a2ea8f25a36f2028ebabea.tar.xz
linux-0b26c88f29ad8bcf91a2ea8f25a36f2028ebabea.zip
IB/uverbs: Return sq_draining value in query_qp response
Return the sq_draining value back to user space for query_qp instead of the en_sqd_async notify value, which is valid only for modify_qp. For query_qp, the draining status should returned. Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma/ib_user_verbs.h')
-rw-r--r--include/rdma/ib_user_verbs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_user_verbs.h b/include/rdma/ib_user_verbs.h
index db1b814b62cc..64a721fcbc1c 100644
--- a/include/rdma/ib_user_verbs.h
+++ b/include/rdma/ib_user_verbs.h
@@ -458,7 +458,7 @@ struct ib_uverbs_query_qp_resp {
__u8 cur_qp_state;
__u8 path_mtu;
__u8 path_mig_state;
- __u8 en_sqd_async_notify;
+ __u8 sq_draining;
__u8 max_rd_atomic;
__u8 max_dest_rd_atomic;
__u8 min_rnr_timer;