diff options
author | Hal Rosenstock <halr@voltaire.com> | 2005-07-27 14:45:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-27 19:26:09 -0400 |
commit | b82cab6b331b51d82f90d2207f3bbfdf09361ac9 (patch) | |
tree | 5aad260a806939b2ea5b2d5a029b38b77a4fcd07 /drivers/infiniband/include | |
parent | c183a4c33528d17cde0dcb093ae4248d8cb8f649 (diff) |
[PATCH] IB: Update MAD client API
Automatically allocate a MR when registering a MAD agent.
MAD clients are modified to use this updated API.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Hal Rosenstock <halr@voltaire.com>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband/include')
-rw-r--r-- | drivers/infiniband/include/ib_mad.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/include/ib_mad.h b/drivers/infiniband/include/ib_mad.h index 4a6bf6763a97..60378c1a9ccf 100644 --- a/drivers/infiniband/include/ib_mad.h +++ b/drivers/infiniband/include/ib_mad.h | |||
@@ -180,6 +180,7 @@ typedef void (*ib_mad_recv_handler)(struct ib_mad_agent *mad_agent, | |||
180 | struct ib_mad_agent { | 180 | struct ib_mad_agent { |
181 | struct ib_device *device; | 181 | struct ib_device *device; |
182 | struct ib_qp *qp; | 182 | struct ib_qp *qp; |
183 | struct ib_mr *mr; | ||
183 | ib_mad_recv_handler recv_handler; | 184 | ib_mad_recv_handler recv_handler; |
184 | ib_mad_send_handler send_handler; | 185 | ib_mad_send_handler send_handler; |
185 | ib_mad_snoop_handler snoop_handler; | 186 | ib_mad_snoop_handler snoop_handler; |