Skip to content
Commit 7f5eb9bb authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mlx4: Return receive queue sizes for userspace QPs from query QP



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: default avatarRoland Dreier <rolandd@cisco.com>
parent c9f2ba5e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment