1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 #ifndef I40IW_STATUS_H
36 #define I40IW_STATUS_H
37
38
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