diff options
Diffstat (limited to 'drivers/infiniband/include/ib_mad.h')
-rw-r--r-- | drivers/infiniband/include/ib_mad.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/infiniband/include/ib_mad.h b/drivers/infiniband/include/ib_mad.h index e8a122122cba..c5f3170c59ef 100644 --- a/drivers/infiniband/include/ib_mad.h +++ b/drivers/infiniband/include/ib_mad.h | |||
@@ -385,8 +385,18 @@ void ib_free_recv_mad(struct ib_mad_recv_wc *mad_recv_wc); | |||
385 | * MADs will be returned to the user through the corresponding | 385 | * MADs will be returned to the user through the corresponding |
386 | * ib_mad_send_handler. | 386 | * ib_mad_send_handler. |
387 | */ | 387 | */ |
388 | void ib_cancel_mad(struct ib_mad_agent *mad_agent, | 388 | void ib_cancel_mad(struct ib_mad_agent *mad_agent, u64 wr_id); |
389 | u64 wr_id); | 389 | |
390 | /** | ||
391 | * ib_modify_mad - Modifies an outstanding send MAD operation. | ||
392 | * @mad_agent: Specifies the registration associated with sent MAD. | ||
393 | * @wr_id: Indicates the work request identifier of the MAD to modify. | ||
394 | * @timeout_ms: New timeout value for sent MAD. | ||
395 | * | ||
396 | * This call will reset the timeout value for a sent MAD to the specified | ||
397 | * value. | ||
398 | */ | ||
399 | int ib_modify_mad(struct ib_mad_agent *mad_agent, u64 wr_id, u32 timeout_ms); | ||
390 | 400 | ||
391 | /** | 401 | /** |
392 | * ib_redirect_mad_qp - Registers a QP for MAD services. | 402 | * ib_redirect_mad_qp - Registers a QP for MAD services. |