1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2001-2020 Intel Corporation
5 #ifndef _I40E_STATUS_H_
6 #define _I40E_STATUS_H_
9 enum i40e_status_code {
12 I40E_ERR_NVM_CHECKSUM = -2,
16 I40E_ERR_MAC_TYPE = -6,
17 I40E_ERR_UNKNOWN_PHY = -7,
18 I40E_ERR_LINK_SETUP = -8,
19 I40E_ERR_ADAPTER_STOPPED = -9,
20 I40E_ERR_INVALID_MAC_ADDR = -10,
21 I40E_ERR_DEVICE_NOT_SUPPORTED = -11,
22 I40E_ERR_MASTER_REQUESTS_PENDING = -12,
23 I40E_ERR_INVALID_LINK_SETTINGS = -13,
24 I40E_ERR_AUTONEG_NOT_COMPLETE = -14,
25 I40E_ERR_RESET_FAILED = -15,
26 I40E_ERR_SWFW_SYNC = -16,
27 I40E_ERR_NO_AVAILABLE_VSI = -17,
28 I40E_ERR_NO_MEMORY = -18,
29 I40E_ERR_BAD_PTR = -19,
30 I40E_ERR_RING_FULL = -20,
31 I40E_ERR_INVALID_PD_ID = -21,
32 I40E_ERR_INVALID_QP_ID = -22,
33 I40E_ERR_INVALID_CQ_ID = -23,
34 I40E_ERR_INVALID_CEQ_ID = -24,
35 I40E_ERR_INVALID_AEQ_ID = -25,
36 I40E_ERR_INVALID_SIZE = -26,
37 I40E_ERR_INVALID_ARP_INDEX = -27,
38 I40E_ERR_INVALID_FPM_FUNC_ID = -28,
39 I40E_ERR_QP_INVALID_MSG_SIZE = -29,
40 I40E_ERR_QP_TOOMANY_WRS_POSTED = -30,
41 I40E_ERR_INVALID_FRAG_COUNT = -31,
42 I40E_ERR_QUEUE_EMPTY = -32,
43 I40E_ERR_INVALID_ALIGNMENT = -33,
44 I40E_ERR_FLUSHED_QUEUE = -34,
45 I40E_ERR_INVALID_PUSH_PAGE_INDEX = -35,
46 I40E_ERR_INVALID_IMM_DATA_SIZE = -36,
47 I40E_ERR_TIMEOUT = -37,
48 I40E_ERR_OPCODE_MISMATCH = -38,
49 I40E_ERR_CQP_COMPL_ERROR = -39,
50 I40E_ERR_INVALID_VF_ID = -40,
51 I40E_ERR_INVALID_HMCFN_ID = -41,
52 I40E_ERR_BACKING_PAGE_ERROR = -42,
53 I40E_ERR_NO_PBLCHUNKS_AVAILABLE = -43,
54 I40E_ERR_INVALID_PBLE_INDEX = -44,
55 I40E_ERR_INVALID_SD_INDEX = -45,
56 I40E_ERR_INVALID_PAGE_DESC_INDEX = -46,
57 I40E_ERR_INVALID_SD_TYPE = -47,
58 I40E_ERR_MEMCPY_FAILED = -48,
59 I40E_ERR_INVALID_HMC_OBJ_INDEX = -49,
60 I40E_ERR_INVALID_HMC_OBJ_COUNT = -50,
61 I40E_ERR_INVALID_SRQ_ARM_LIMIT = -51,
62 I40E_ERR_SRQ_ENABLED = -52,
63 I40E_ERR_ADMIN_QUEUE_ERROR = -53,
64 I40E_ERR_ADMIN_QUEUE_TIMEOUT = -54,
65 I40E_ERR_BUF_TOO_SHORT = -55,
66 I40E_ERR_ADMIN_QUEUE_FULL = -56,
67 I40E_ERR_ADMIN_QUEUE_NO_WORK = -57,
68 I40E_ERR_BAD_IWARP_CQE = -58,
69 I40E_ERR_NVM_BLANK_MODE = -59,
70 I40E_ERR_NOT_IMPLEMENTED = -60,
71 I40E_ERR_PE_DOORBELL_NOT_ENABLED = -61,
72 I40E_ERR_DIAG_TEST_FAILED = -62,
73 I40E_ERR_NOT_READY = -63,
74 I40E_NOT_SUPPORTED = -64,
75 I40E_ERR_FIRMWARE_API_VERSION = -65,
76 I40E_ERR_ADMIN_QUEUE_CRITICAL_ERROR = -66,
79 #endif /* _I40E_STATUS_H_ */