IB/mlx4: Return receive queue sizes for userspace QPs from query QP
authorRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 03:59:02 +0000 (20:59 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 18 Jul 2007 03:59:02 +0000 (20:59 -0700)
Return the receive queue sizes for both userspace QPs and kernel Qps
(not just kernel QPs) from mlx4_ib_query_qp().  Also zero the send
queue sizes for userspace QPs to avoid a possible information leak,
and set the max_inline_data for kernel QPs to 0 since inline sends are
not supported for kernel QPs.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/qp.c

Simple merge