IB/mthca: Return actual capacity from create_srq
authorDotan Barak <dotanb@mellanox.co.il>
Thu, 23 Feb 2006 20:13:51 +0000 (12:13 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:16 +0000 (10:08 -0800)
commitabb6e9ba17eb133ab385d0f9017fa8afa809d52a
tree6cab0a44a1cb439c3c204149d44e6295320e5de7
parent44af79f9524c29d6850591cc972f2667a27234d4
IB/mthca: Return actual capacity from create_srq

Have mthca's create_srq method return the actual capacity of the SRQ
that gets created.  Also update comments in <rdma/ib_verbs.h> to
clarify that this is what is expected from ib_create_srq().

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_srq.c
include/rdma/ib_verbs.h