GNU Linux-libre 4.19.207-gnu1
[releases.git] / drivers / net / ethernet / intel / ice / ice_status.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2018, Intel Corporation. */
3
4 #ifndef _ICE_STATUS_H_
5 #define _ICE_STATUS_H_
6
7 /* Error Codes */
8 enum ice_status {
9         ICE_ERR_PARAM                           = -1,
10         ICE_ERR_NOT_IMPL                        = -2,
11         ICE_ERR_NOT_READY                       = -3,
12         ICE_ERR_BAD_PTR                         = -5,
13         ICE_ERR_INVAL_SIZE                      = -6,
14         ICE_ERR_DEVICE_NOT_SUPPORTED            = -8,
15         ICE_ERR_RESET_FAILED                    = -9,
16         ICE_ERR_FW_API_VER                      = -10,
17         ICE_ERR_NO_MEMORY                       = -11,
18         ICE_ERR_CFG                             = -12,
19         ICE_ERR_OUT_OF_RANGE                    = -13,
20         ICE_ERR_ALREADY_EXISTS                  = -14,
21         ICE_ERR_DOES_NOT_EXIST                  = -15,
22         ICE_ERR_MAX_LIMIT                       = -17,
23         ICE_ERR_RESET_ONGOING                   = -18,
24         ICE_ERR_BUF_TOO_SHORT                   = -52,
25         ICE_ERR_NVM_BLANK_MODE                  = -53,
26         ICE_ERR_AQ_ERROR                        = -100,
27         ICE_ERR_AQ_TIMEOUT                      = -101,
28         ICE_ERR_AQ_FULL                         = -102,
29         ICE_ERR_AQ_NO_WORK                      = -103,
30         ICE_ERR_AQ_EMPTY                        = -104,
31 };
32
33 #endif /* _ICE_STATUS_H_ */