From: leonidk Date: Sun, 13 Apr 2008 18:48:49 +0000 (+0000) Subject: added new work completion code for ConnectX HCAs X-Git-Url: http://git.etherboot.org/mirror/winof/.git/commitdiff_plain/b2be0af8567b0ee8c1a90a053a17f1391719658a added new work completion code for ConnectX HCAs git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1051 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/core/al/ib_statustext.c b/core/al/ib_statustext.c index 5740dffa..8a46ec38 100644 --- a/core/al/ib_statustext.c +++ b/core/al/ib_statustext.c @@ -171,6 +171,7 @@ static const char* const __ib_wc_status_str[] = "IB_WCS_GENERAL_ERR", "IB_WCS_UNMATCHED_RESPONSE", /* InfiniBand Access Layer */ "IB_WCS_CANCELED", /* InfiniBand Access Layer */ + "IB_WCS_REM_ABORT_ERR", "IB_WCS_UNKNOWN" }; diff --git a/inc/iba/ib_types.h b/inc/iba/ib_types.h index 1f75219b..68eb44aa 100644 --- a/inc/iba/ib_types.h +++ b/inc/iba/ib_types.h @@ -10415,14 +10415,16 @@ typedef enum _ib_wc_status_t IB_WCS_RNR_RETRY_ERR, IB_WCS_TIMEOUT_RETRY_ERR, IB_WCS_REM_INVALID_REQ_ERR, - IB_WCS_BAD_RESP_ERR, - IB_WCS_LOCAL_ACCESS_ERR, - IB_WCS_GENERAL_ERR, + IB_WCS_BAD_RESP_ERR, + IB_WCS_LOCAL_ACCESS_ERR, + IB_WCS_GENERAL_ERR, IB_WCS_UNMATCHED_RESPONSE, /* InfiniBand Access Layer */ IB_WCS_CANCELED, /* InfiniBand Access Layer */ + IB_WCS_REM_ABORT_ERR, IB_WCS_UNKNOWN /* Must be last. */ } ib_wc_status_t; + /* * VALUES * IB_WCS_SUCCESS @@ -10481,15 +10483,19 @@ typedef enum _ib_wc_status_t * - There was insufficient buffers to receive a new atomic operation. * - An RDMA request was larger than 2^31 bytes. * - * IB_WCS_BAD_RESP_ERR, - * An unexpected transport layer opcode was returned - * by the responder. - * - * IB_WCS_LOCAL_ACCESS_ERR, - * A protection error occurred on a local data buffer - * during the processing of a RDMA Write with Immediate Data - * operation sent from the remote node. - * +* IB_WCS_BAD_RESP_ERR, +* An unexpected transport layer opcode was returned +* by the responder. +* +* IB_WCS_LOCAL_ACCESS_ERR, +* A protection error occurred on a local data buffer +* during the processing of a RDMA Write with Immediate Data +* operation sent from the remote node. +* +* IB_WCS_REM_ABORT_ERR, +* The operation was aborted (e.g., For UD QPs associated with an SRQ, +* the responder aborted the operation). +* * IB_WCS_UNMATCHED_RESPONSE * A response MAD was received for which there was no matching send. The * send operation may have been canceled by the user or may have timed