]> asedeno.scripts.mit.edu Git - linux.git/blob - drivers/net/ethernet/intel/ice/ice_status.h
mac80211: probe unexercised mesh links
[linux.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_SUCCESS                             = 0,
10
11         /* Generic codes : Range -1..-49 */
12         ICE_ERR_PARAM                           = -1,
13         ICE_ERR_NOT_IMPL                        = -2,
14         ICE_ERR_NOT_READY                       = -3,
15         ICE_ERR_BAD_PTR                         = -5,
16         ICE_ERR_INVAL_SIZE                      = -6,
17         ICE_ERR_DEVICE_NOT_SUPPORTED            = -8,
18         ICE_ERR_RESET_FAILED                    = -9,
19         ICE_ERR_FW_API_VER                      = -10,
20         ICE_ERR_NO_MEMORY                       = -11,
21         ICE_ERR_CFG                             = -12,
22         ICE_ERR_OUT_OF_RANGE                    = -13,
23         ICE_ERR_ALREADY_EXISTS                  = -14,
24         ICE_ERR_DOES_NOT_EXIST                  = -15,
25         ICE_ERR_IN_USE                          = -16,
26         ICE_ERR_MAX_LIMIT                       = -17,
27         ICE_ERR_RESET_ONGOING                   = -18,
28         ICE_ERR_BUF_TOO_SHORT                   = -52,
29         ICE_ERR_NVM_BLANK_MODE                  = -53,
30         ICE_ERR_AQ_ERROR                        = -100,
31         ICE_ERR_AQ_TIMEOUT                      = -101,
32         ICE_ERR_AQ_FULL                         = -102,
33         ICE_ERR_AQ_NO_WORK                      = -103,
34         ICE_ERR_AQ_EMPTY                        = -104,
35 };
36
37 #endif /* _ICE_STATUS_H_ */