RDMA/cxgb3: Return correct max_inline_data when creating a QP
authorJon Mason <jon@opengridcomputing.com>
Fri, 29 Feb 2008 21:53:18 +0000 (13:53 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 29 Feb 2008 21:53:18 +0000 (13:53 -0800)
commit1bab74e691d3c7845df2342d202c0f1c2344c834
tree9b99db64e082944f8892df1916f29a4bf1fda9a8
parent331552925d17ffa2f5c676e282d4fd37c852d9e3
RDMA/cxgb3: Return correct max_inline_data when creating a QP

Set cap.max_inline_data to the actual max inline data that the adapter
support, so that userspace apps see the right value returned.

Signed-off-by: Jon Mason <jon@opengridcomputing.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_provider.c