root/drivers/infiniband/hw/i40iw/i40iw_status.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*******************************************************************************
   2 *
   3 * Copyright (c) 2015-2016 Intel Corporation.  All rights reserved.
   4 *
   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 * OpenFabrics.org BSD license below:
  10 *
  11 *   Redistribution and use in source and binary forms, with or
  12 *   without modification, are permitted provided that the following
  13 *   conditions are met:
  14 *
  15 *    - Redistributions of source code must retain the above
  16 *       copyright notice, this list of conditions and the following
  17 *       disclaimer.
  18 *
  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.
  23 *
  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
  31 * SOFTWARE.
  32 *
  33 *******************************************************************************/
  34 
  35 #ifndef I40IW_STATUS_H
  36 #define I40IW_STATUS_H
  37 
  38 /* Error Codes */
  39 enum i40iw_status_code {
  40         I40IW_SUCCESS = 0,
  41         I40IW_ERR_NVM = -1,
  42         I40IW_ERR_NVM_CHECKSUM = -2,
  43         I40IW_ERR_CONFIG = -4,
  44         I40IW_ERR_PARAM = -5,
  45         I40IW_ERR_DEVICE_NOT_SUPPORTED = -6,
  46         I40IW_ERR_RESET_FAILED = -7,
  47         I40IW_ERR_SWFW_SYNC = -8,
  48         I40IW_ERR_NO_MEMORY = -9,
  49         I40IW_ERR_BAD_PTR = -10,
  50         I40IW_ERR_INVALID_PD_ID = -11,
  51         I40IW_ERR_INVALID_QP_ID = -12,
  52         I40IW_ERR_INVALID_CQ_ID = -13,
  53         I40IW_ERR_INVALID_CEQ_ID = -14,
  54         I40IW_ERR_INVALID_AEQ_ID = -15,
  55         I40IW_ERR_INVALID_SIZE = -16,
  56         I40IW_ERR_INVALID_ARP_INDEX = -17,
  57         I40IW_ERR_INVALID_FPM_FUNC_ID = -18,
  58         I40IW_ERR_QP_INVALID_MSG_SIZE = -19,
  59         I40IW_ERR_QP_TOOMANY_WRS_POSTED = -20,
  60         I40IW_ERR_INVALID_FRAG_COUNT = -21,
  61         I40IW_ERR_QUEUE_EMPTY = -22,
  62         I40IW_ERR_INVALID_ALIGNMENT = -23,
  63         I40IW_ERR_FLUSHED_QUEUE = -24,
  64         I40IW_ERR_INVALID_PUSH_PAGE_INDEX = -25,
  65         I40IW_ERR_INVALID_INLINE_DATA_SIZE = -26,
  66         I40IW_ERR_TIMEOUT = -27,
  67         I40IW_ERR_OPCODE_MISMATCH = -28,
  68         I40IW_ERR_CQP_COMPL_ERROR = -29,
  69         I40IW_ERR_INVALID_VF_ID = -30,
  70         I40IW_ERR_INVALID_HMCFN_ID = -31,
  71         I40IW_ERR_BACKING_PAGE_ERROR = -32,
  72         I40IW_ERR_NO_PBLCHUNKS_AVAILABLE = -33,
  73         I40IW_ERR_INVALID_PBLE_INDEX = -34,
  74         I40IW_ERR_INVALID_SD_INDEX = -35,
  75         I40IW_ERR_INVALID_PAGE_DESC_INDEX = -36,
  76         I40IW_ERR_INVALID_SD_TYPE = -37,
  77         I40IW_ERR_MEMCPY_FAILED = -38,
  78         I40IW_ERR_INVALID_HMC_OBJ_INDEX = -39,
  79         I40IW_ERR_INVALID_HMC_OBJ_COUNT = -40,
  80         I40IW_ERR_INVALID_SRQ_ARM_LIMIT = -41,
  81         I40IW_ERR_SRQ_ENABLED = -42,
  82         I40IW_ERR_BUF_TOO_SHORT = -43,
  83         I40IW_ERR_BAD_IWARP_CQE = -44,
  84         I40IW_ERR_NVM_BLANK_MODE = -45,
  85         I40IW_ERR_NOT_IMPLEMENTED = -46,
  86         I40IW_ERR_PE_DOORBELL_NOT_ENABLED = -47,
  87         I40IW_ERR_NOT_READY = -48,
  88         I40IW_NOT_SUPPORTED = -49,
  89         I40IW_ERR_FIRMWARE_API_VERSION = -50,
  90         I40IW_ERR_RING_FULL = -51,
  91         I40IW_ERR_MPA_CRC = -61,
  92         I40IW_ERR_NO_TXBUFS = -62,
  93         I40IW_ERR_SEQ_NUM = -63,
  94         I40IW_ERR_list_empty = -64,
  95         I40IW_ERR_INVALID_MAC_ADDR = -65,
  96         I40IW_ERR_BAD_STAG      = -66,
  97         I40IW_ERR_CQ_COMPL_ERROR = -67,
  98         I40IW_ERR_QUEUE_DESTROYED = -68
  99 
 100 };
 101 #endif

/* [<][>][^][v][top][bottom][index][help] */