From f8b6940322e76baa13be227c3937a182662cc5f5 Mon Sep 17 00:00:00 2001 From: ftillier Date: Fri, 24 Mar 2006 22:57:09 +0000 Subject: [PATCH] [IBAL] Add WC status codes to support MTHCA driver. git-svn-id: svn://openib.tc.cornell.edu/gen1@251 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/core/al/ib_statustext.c | 3 +++ trunk/inc/iba/ib_types.h | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/trunk/core/al/ib_statustext.c b/trunk/core/al/ib_statustext.c index 78f07854..d10dd9b6 100644 --- a/trunk/core/al/ib_statustext.c +++ b/trunk/core/al/ib_statustext.c @@ -163,6 +163,9 @@ static const char* const __ib_wc_status_str[] = "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_UNMATCHED_RESPONSE", /* InfiniBand Access Layer */ "IB_WCS_CANCELED", /* InfiniBand Access Layer */ "IB_WCS_UNKNOWN" diff --git a/trunk/inc/iba/ib_types.h b/trunk/inc/iba/ib_types.h index 1d6b4560..461010ff 100644 --- a/trunk/inc/iba/ib_types.h +++ b/trunk/inc/iba/ib_types.h @@ -8764,6 +8764,9 @@ 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_UNMATCHED_RESPONSE, /* InfiniBand Access Layer */ IB_WCS_CANCELED, /* InfiniBand Access Layer */ IB_WCS_UNKNOWN /* Must be last. */ @@ -8827,6 +8830,15 @@ 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_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 @@ -8834,6 +8846,10 @@ typedef enum _ib_wc_status_t * * IB_WCS_CANCELED * The completed work request was canceled by the user. + * + * IB_WCS_GENERAL_ERR, + * Any other error + * *****/ -- 2.41.0