added new work completion code for ConnectX HCAs
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 13 Apr 2008 18:48:49 +0000 (18:48 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 13 Apr 2008 18:48:49 +0000 (18:48 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1051 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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

index 5740dff..8a46ec3 100644 (file)
@@ -171,6 +171,7 @@ static const char* const __ib_wc_status_str[] =
        "IB_WCS_GENERAL_ERR",\r
        "IB_WCS_UNMATCHED_RESPONSE",                    /* InfiniBand Access Layer */\r
        "IB_WCS_CANCELED",                                              /* InfiniBand Access Layer */\r
+       "IB_WCS_REM_ABORT_ERR",\r
        "IB_WCS_UNKNOWN"\r
 };\r
 \r
index 1f75219..68eb44a 100644 (file)
@@ -10415,14 +10415,16 @@ 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_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_REM_ABORT_ERR,\r
        IB_WCS_UNKNOWN                                          /* Must be last. */\r
 \r
 }      ib_wc_status_t;\r
+       \r
 /*\r
 * VALUES\r
 *      IB_WCS_SUCCESS\r
@@ -10481,15 +10483,19 @@ 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_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_REM_ABORT_ERR,\r
+*              The operation was aborted (e.g., For UD QPs associated with an SRQ, \r
+*              the responder aborted the operation).\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