]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/rdma/ib_mad.h
block: fix warning on compile with CONFIG_BLOCK
[linux-2.6-omap-h63xx.git] / include / rdma / ib_mad.h
index 30712ddd8a5e6b6cc1add751f95948e9a3382bbd..7228c056b9e9b3d9f78d05da24ed0b34d1a74e82 100644 (file)
@@ -39,6 +39,8 @@
 #if !defined( IB_MAD_H )
 #define IB_MAD_H
 
+#include <linux/list.h>
+
 #include <rdma/ib_verbs.h>
 
 /* Management base version */
@@ -228,7 +230,9 @@ struct ib_class_port_info
  * @seg_count: The number of RMPP segments allocated for this send.
  * @seg_size: Size of each RMPP segment.
  * @timeout_ms: Time to wait for a response.
- * @retries: Number of times to retry a request for a response.
+ * @retries: Number of times to retry a request for a response.  For MADs
+ *   using RMPP, this applies per window.  On completion, returns the number
+ *   of retries needed to complete the transfer.
  *
  * Users are responsible for initializing the MAD buffer itself, with the
  * exception of any RMPP header.  Additional segment buffer space allocated