diff options
author | Or Gerlitz <ogerlitz@voltaire.com> | 2006-09-22 18:22:54 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-22 18:22:54 -0400 |
commit | 951f7fc1372da3d826b1d975b3cc5e3db92af5d0 (patch) | |
tree | 21129949b4ad6fd3ad9da5bbd427db090d2cb3da | |
parent | b3b30f5e8a0c50db3d76b6f7c7cc50245aeb57fd (diff) |
RDMA/cma: Document rdma_accept() error handling
Document the reject sending and modifying QP to error done in rdma_accept().
Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r-- | include/rdma/rdma_cm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rdma/rdma_cm.h b/include/rdma/rdma_cm.h index 1566be568ab6..deb5a0a4cee5 100644 --- a/include/rdma/rdma_cm.h +++ b/include/rdma/rdma_cm.h | |||
@@ -245,6 +245,10 @@ int rdma_listen(struct rdma_cm_id *id, int backlog); | |||
245 | * Typically, this routine is only called by the listener to accept a connection | 245 | * Typically, this routine is only called by the listener to accept a connection |
246 | * request. It must also be called on the active side of a connection if the | 246 | * request. It must also be called on the active side of a connection if the |
247 | * user is performing their own QP transitions. | 247 | * user is performing their own QP transitions. |
248 | * | ||
249 | * In the case of error, a reject message is sent to the remote side and the | ||
250 | * state of the qp associated with the id is modified to error, such that any | ||
251 | * previously posted receive buffers would be flushed. | ||
248 | */ | 252 | */ |
249 | int rdma_accept(struct rdma_cm_id *id, struct rdma_conn_param *conn_param); | 253 | int rdma_accept(struct rdma_cm_id *id, struct rdma_conn_param *conn_param); |
250 | 254 | ||