diff options
author | Dotan Barak <dotanb@mellanox.co.il> | 2006-02-23 15:36:18 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 13:08:16 -0500 |
commit | ea88fd16d6e85f4bc71b6053180b64f04be1ff14 (patch) | |
tree | ea0f02aca9bb83f636e60002a9f98f9dab6d57e0 /include/rdma/ib_user_verbs.h | |
parent | abb6e9ba17eb133ab385d0f9017fa8afa809d52a (diff) |
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>
Diffstat (limited to 'include/rdma/ib_user_verbs.h')
-rw-r--r-- | include/rdma/ib_user_verbs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rdma/ib_user_verbs.h b/include/rdma/ib_user_verbs.h index 3bf4402f466a..338ed4333063 100644 --- a/include/rdma/ib_user_verbs.h +++ b/include/rdma/ib_user_verbs.h | |||
@@ -44,7 +44,7 @@ | |||
44 | * Increment this value if any changes that break userspace ABI | 44 | * Increment this value if any changes that break userspace ABI |
45 | * compatibility are made. | 45 | * compatibility are made. |
46 | */ | 46 | */ |
47 | #define IB_USER_VERBS_ABI_VERSION 5 | 47 | #define IB_USER_VERBS_ABI_VERSION 6 |
48 | 48 | ||
49 | enum { | 49 | enum { |
50 | IB_USER_VERBS_CMD_GET_CONTEXT, | 50 | IB_USER_VERBS_CMD_GET_CONTEXT, |
@@ -605,6 +605,9 @@ struct ib_uverbs_create_srq { | |||
605 | 605 | ||
606 | struct ib_uverbs_create_srq_resp { | 606 | struct ib_uverbs_create_srq_resp { |
607 | __u32 srq_handle; | 607 | __u32 srq_handle; |
608 | __u32 max_wr; | ||
609 | __u32 max_sge; | ||
610 | __u32 reserved; | ||
608 | }; | 611 | }; |
609 | 612 | ||
610 | struct ib_uverbs_modify_srq { | 613 | struct ib_uverbs_modify_srq { |