IB/uverbs: Return actual capacity from create SRQ operation
authorDotan Barak <dotanb@mellanox.co.il>
Thu, 23 Feb 2006 20:36:18 +0000 (12:36 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:16 +0000 (10:08 -0800)
commitea88fd16d6e85f4bc71b6053180b64f04be1ff14
treeea0f02aca9bb83f636e60002a9f98f9dab6d57e0
parentabb6e9ba17eb133ab385d0f9017fa8afa809d52a
IB/uverbs: Return actual capacity from create SRQ operation

Pass actual capacity of created SRQ back to userspace, so that
userspace can report accurate capacities.  This requires an ABI bump,
to change struct ib_uverbs_create_srq_resp.

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/uverbs_cmd.c
include/rdma/ib_user_verbs.h