diff options
author | Hal Rosenstock <hal@dev.mellanox.co.il> | 2016-01-05 13:52:55 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-03 13:13:52 -0500 |
commit | 5a30247bf09eeffaa46c00d59a62359aeb7d0462 (patch) | |
tree | f88a5721c2d2fb054d49a5c1f985ebfb4650f19c | |
parent | aba25a3e96563083389fc7b9f7d35be6bdfe6579 (diff) |
IB/core: Documentation fix in the MAD header file
In ib_mad.h, ib_mad_snoop_handler uses send_buf rather than send_wr
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
-rw-r--r-- | include/rdma/ib_mad.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h index 0ff049bd9ad4..37dd534cbeab 100644 --- a/include/rdma/ib_mad.h +++ b/include/rdma/ib_mad.h | |||
@@ -424,11 +424,11 @@ typedef void (*ib_mad_send_handler)(struct ib_mad_agent *mad_agent, | |||
424 | /** | 424 | /** |
425 | * ib_mad_snoop_handler - Callback handler for snooping sent MADs. | 425 | * ib_mad_snoop_handler - Callback handler for snooping sent MADs. |
426 | * @mad_agent: MAD agent that snooped the MAD. | 426 | * @mad_agent: MAD agent that snooped the MAD. |
427 | * @send_wr: Work request information on the sent MAD. | 427 | * @send_buf: send MAD data buffer. |
428 | * @mad_send_wc: Work completion information on the sent MAD. Valid | 428 | * @mad_send_wc: Work completion information on the sent MAD. Valid |
429 | * only for snooping that occurs on a send completion. | 429 | * only for snooping that occurs on a send completion. |
430 | * | 430 | * |
431 | * Clients snooping MADs should not modify data referenced by the @send_wr | 431 | * Clients snooping MADs should not modify data referenced by the @send_buf |
432 | * or @mad_send_wc. | 432 | * or @mad_send_wc. |
433 | */ | 433 | */ |
434 | typedef void (*ib_mad_snoop_handler)(struct ib_mad_agent *mad_agent, | 434 | typedef void (*ib_mad_snoop_handler)(struct ib_mad_agent *mad_agent, |