IB/uverbs: Return sq_draining value in query_qp response
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Wed, 25 Oct 2006 10:54:20 +0000 (12:54 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 31 Oct 2006 05:19:35 +0000 (21:19 -0800)
commit0b26c88f29ad8bcf91a2ea8f25a36f2028ebabea
tree8d8f3417f9ccc1fb24a112c8fa256e1f215cc677
parentd7b748d63c908a0a85099ce546594192ae0926f6
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>
drivers/infiniband/core/uverbs_cmd.c
include/rdma/ib_user_verbs.h