]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[IBAL] Add WC status codes to support MTHCA driver.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 24 Mar 2006 22:57:09 +0000 (22:57 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 24 Mar 2006 22:57:09 +0000 (22:57 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@251 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/core/al/ib_statustext.c
trunk/inc/iba/ib_types.h

index 78f078548eba448e33b90b00c9125ceb7c5b08b3..d10dd9b6541f4c0bf915fa530d1641bb08b87483 100644 (file)
@@ -163,6 +163,9 @@ static const char* const __ib_wc_status_str[] =
        "IB_WCS_RNR_RETRY_ERR",\r
        "IB_WCS_TIMEOUT_RETRY_ERR",\r
        "IB_WCS_REM_INVALID_REQ_ERR",\r
+       "IB_WCS_BAD_RESP_ERR",\r
+       "IB_WCS_LOCAL_ACCESS_ERR",\r
+       "IB_WCS_GENERAL_ERR",\r
        "IB_WCS_UNMATCHED_RESPONSE",                    /* InfiniBand Access Layer */\r
        "IB_WCS_CANCELED",                                              /* InfiniBand Access Layer */\r
        "IB_WCS_UNKNOWN"\r
index 1d6b4560f6dc631d29e91d376ecda927200bf34e..461010ffa0ba789a4ddddd9f52422da3ad824653 100644 (file)
@@ -8764,6 +8764,9 @@ typedef enum _ib_wc_status_t
        IB_WCS_RNR_RETRY_ERR,\r
        IB_WCS_TIMEOUT_RETRY_ERR,\r
        IB_WCS_REM_INVALID_REQ_ERR,\r
+       IB_WCS_BAD_RESP_ERR,\r
+       IB_WCS_LOCAL_ACCESS_ERR,\r
+       IB_WCS_GENERAL_ERR,\r
        IB_WCS_UNMATCHED_RESPONSE,                      /* InfiniBand Access Layer */\r
        IB_WCS_CANCELED,                                        /* InfiniBand Access Layer */\r
        IB_WCS_UNKNOWN                                          /* Must be last. */\r
@@ -8827,6 +8830,15 @@ typedef enum _ib_wc_status_t
 *                      - There was insufficient buffers to receive a new atomic operation.\r
 *                      - An RDMA request was larger than 2^31 bytes.\r
 *\r
+ *     IB_WCS_BAD_RESP_ERR,\r
+ *             An unexpected transport layer opcode was returned\r
+ *             by the responder.\r
+ *\r
+ *     IB_WCS_LOCAL_ACCESS_ERR,\r
+ *             A protection error occurred on a local data buffer\r
+ *             during the processing of a RDMA Write with Immediate Data \r
+ *             operation sent from the remote node.\r
+ *\r
 *      IB_WCS_UNMATCHED_RESPONSE\r
 *              A response MAD was received for which there was no matching send.  The\r
 *              send operation may have been canceled by the user or may have timed\r
@@ -8834,6 +8846,10 @@ typedef enum _ib_wc_status_t
 *\r
 *      IB_WCS_CANCELED\r
 *              The completed work request was canceled by the user.\r
+ *\r
+ *     IB_WCS_GENERAL_ERR,\r
+ *             Any other error\r
+ *\r
 *****/\r
 \r
 \r