From 46081ff1c26bba66fd5d09eac6407666a515b8fc Mon Sep 17 00:00:00 2001 From: leonidk Date: Sun, 13 Apr 2008 18:48:49 +0000 Subject: [PATCH] added new work completion code for ConnectX HCAs git-svn-id: svn://openib.tc.cornell.edu/gen1@1051 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/core/al/ib_statustext.c | 1 + trunk/inc/iba/ib_types.h | 30 ++++++++++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/trunk/core/al/ib_statustext.c b/trunk/core/al/ib_statustext.c index 5740dffa..8a46ec38 100644 --- a/trunk/core/al/ib_statustext.c +++ b/trunk/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/trunk/inc/iba/ib_types.h b/trunk/inc/iba/ib_types.h index 1f75219b..68eb44aa 100644 --- a/trunk/inc/iba/ib_types.h +++ b/trunk/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 -- 2.41.0