diff mbox

IB/core: clarify the documentation of ib_post_send()

Message ID 200911242051.33106.bart.vanassche@gmail.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Bart Van Assche Nov. 24, 2009, 7:51 p.m. UTC
None
diff mbox

Patch

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index c179318..b5c894f 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -1425,6 +1425,11 @@  int ib_destroy_qp(struct ib_qp *qp);
  * @send_wr: A list of work requests to post on the send queue.
  * @bad_send_wr: On an immediate failure, this parameter will reference
  *   the work request that failed to be posted on the QP.
+ *
+ * Note: while IBTA Vol1 section 11.4.1.1 specifies that if an immediate
+ * error is returned that the QP state shall not be affected, implementations
+ * of ib_post_send() may return an immediate error after already having
+ * processed one or more work requests.
  */
 static inline int ib_post_send(struct ib_qp *qp,
 			       struct ib_send_wr *send_wr,