2  * Copyright (c) 2005 Ammasso, Inc. All rights reserved.
 
   3  * Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved.
 
   5  * This software is available to you under a choice of one of two
 
   6  * licenses.  You may choose to be licensed under the terms of the GNU
 
   7  * General Public License (GPL) Version 2, available from the file
 
   8  * COPYING in the main directory of this source tree, or the
 
   9  * OpenIB.org BSD license below:
 
  11  *     Redistribution and use in source and binary forms, with or
 
  12  *     without modification, are permitted provided that the following
 
  15  *      - Redistributions of source code must retain the above
 
  16  *        copyright notice, this list of conditions and the following
 
  19  *      - Redistributions in binary form must reproduce the above
 
  20  *        copyright notice, this list of conditions and the following
 
  21  *        disclaimer in the documentation and/or other materials
 
  22  *        provided with the distribution.
 
  24  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
  25  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
  26  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
  27  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 
  28  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 
  29  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 
  30  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 
  37  * WARNING: If you change this file, also bump C2_IVN_BASE
 
  38  * in common/include/clustercore/c2_ivn.h.
 
  42  * Asynchronous Event Identifiers
 
  44  * These start at 0x80 only so it's obvious from inspection that
 
  45  * they are not work-request statuses.  This isn't critical.
 
  47  * NOTE: these event id's must fit in eight bits.
 
  50         CCAE_REMOTE_SHUTDOWN = 0x80,
 
  51         CCAE_ACTIVE_CONNECT_RESULTS,
 
  52         CCAE_CONNECTION_REQUEST,
 
  53         CCAE_LLP_CLOSE_COMPLETE,
 
  54         CCAE_TERMINATE_MESSAGE_RECEIVED,
 
  55         CCAE_LLP_CONNECTION_RESET,
 
  56         CCAE_LLP_CONNECTION_LOST,
 
  57         CCAE_LLP_SEGMENT_SIZE_INVALID,
 
  60         CCAE_INVALID_DDP_VERSION,
 
  61         CCAE_INVALID_RDMA_VERSION,
 
  62         CCAE_UNEXPECTED_OPCODE,
 
  63         CCAE_INVALID_DDP_QUEUE_NUMBER,
 
  64         CCAE_RDMA_READ_NOT_ENABLED,
 
  65         CCAE_RDMA_WRITE_NOT_ENABLED,
 
  66         CCAE_RDMA_READ_TOO_SMALL,
 
  68         CCAE_TAGGED_INVALID_STAG,
 
  69         CCAE_TAGGED_BASE_BOUNDS_VIOLATION,
 
  70         CCAE_TAGGED_ACCESS_RIGHTS_VIOLATION,
 
  71         CCAE_TAGGED_INVALID_PD,
 
  75         CCAE_INVALID_MSN_RANGE,
 
  80         CCAE_IRRQ_INVALID_STAG,
 
  81         CCAE_IRRQ_BASE_BOUNDS_VIOLATION,
 
  82         CCAE_IRRQ_ACCESS_RIGHTS_VIOLATION,
 
  85         CCAE_CQ_SQ_COMPLETION_OVERFLOW,
 
  86         CCAE_CQ_RQ_COMPLETION_ERROR,
 
  87         CCAE_QP_SRQ_WQE_ERROR,
 
  88         CCAE_QP_LOCAL_CATASTROPHIC_ERROR,
 
  90         CCAE_CQ_OPERATION_ERROR,
 
  91         CCAE_SRQ_LIMIT_REACHED,
 
  92         CCAE_QP_RQ_LIMIT_REACHED,
 
  93         CCAE_SRQ_CATASTROPHIC_ERROR,
 
  94         CCAE_RNIC_CATASTROPHIC_ERROR
 
  95 /* WARNING If you add more id's, make sure their values fit in eight bits. */
 
  99  * Resource Indicators and Identifiers
 
 101 enum c2_resource_indicator {
 
 108 #endif /* _C2_AE_H_ */