Skip to contentSkip to conversation

IB/core: clarify the documentation of ib_post_send()

PATCH In review Bart Van Assche 2 participants 2 messages Nov 24, 2009 – Dec 9, 2009 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/core: clarify the documentation of ib_post_send()

Clarify the documentation of ib_post_send().

CC Roland Dreier <[email protected]>
CC Sean Hefty <[email protected]>
CC Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
include/rdma/ib_verbs.h +5 -0
index c179318..b5c894f 100644
@@ -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,

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 200911242051.33106.bart.vanassche-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org