]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/drivers/net/ice/base/ice_status.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / drivers / net / ice / base / ice_status.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2001-2019
3 */
4
5 #ifndef _ICE_STATUS_H_
6 #define _ICE_STATUS_H_
7
8 /* Error Codes */
9 enum ice_status {
10 ICE_SUCCESS = 0,
11
12 /* Generic codes : Range -1..-49 */
13 ICE_ERR_PARAM = -1,
14 ICE_ERR_NOT_IMPL = -2,
15 ICE_ERR_NOT_READY = -3,
16 ICE_ERR_NOT_SUPPORTED = -4,
17 ICE_ERR_BAD_PTR = -5,
18 ICE_ERR_INVAL_SIZE = -6,
19 ICE_ERR_DEVICE_NOT_SUPPORTED = -8,
20 ICE_ERR_RESET_FAILED = -9,
21 ICE_ERR_FW_API_VER = -10,
22 ICE_ERR_NO_MEMORY = -11,
23 ICE_ERR_CFG = -12,
24 ICE_ERR_OUT_OF_RANGE = -13,
25 ICE_ERR_ALREADY_EXISTS = -14,
26 ICE_ERR_DOES_NOT_EXIST = -15,
27 ICE_ERR_IN_USE = -16,
28 ICE_ERR_MAX_LIMIT = -17,
29 ICE_ERR_RESET_ONGOING = -18,
30 ICE_ERR_HW_TABLE = -19,
31
32 /* NVM specific error codes: Range -50..-59 */
33 ICE_ERR_NVM = -50,
34 ICE_ERR_NVM_CHECKSUM = -51,
35 ICE_ERR_BUF_TOO_SHORT = -52,
36 ICE_ERR_NVM_BLANK_MODE = -53,
37
38 /* ARQ/ASQ specific error codes. Range -100..-109 */
39 ICE_ERR_AQ_ERROR = -100,
40 ICE_ERR_AQ_TIMEOUT = -101,
41 ICE_ERR_AQ_FULL = -102,
42 ICE_ERR_AQ_NO_WORK = -103,
43 ICE_ERR_AQ_EMPTY = -104,
44 };
45
46 #endif /* _ICE_STATUS_H_ */