dc496974cd
Clarify Intel copyright and update the date to 2020. Fixes: f3202a097f12 ("net/ice/base: add ACL module") Fixes: a90fae1d0755 ("net/ice/base: add admin queue structures and commands") Fixes: 2d2bdc026737 ("net/ice/base: add various headers") Fixes: c9e37832c95f ("net/ice/base: rework on bit ops") Fixes: 453d087ccaff ("net/ice/base: add common functions") Fixes: 6c1f26be50a2 ("net/ice/base: add control queue information") Fixes: 1082f786547e ("net/ice/base: support DCB") Fixes: 6aa406714a65 ("net/ice/base: add device IDs for Intel E800 Series NICs") Fixes: bd984f155f49 ("net/ice/base: support FDIR") Fixes: 51d04e4933e3 ("net/ice/base: add flexible pipeline module") Fixes: 2d2bdc026737 ("net/ice/base: add various headers") Fixes: aa1cd410fa64 ("net/ice/base: add flow module") Fixes: 51c7f09f3f81 ("net/ice/base: add registers for Intel E800 Series NIC") Fixes: 64e9587d5629 ("net/ice/base: add structures for Rx/Tx queues") Fixes: 557fa75bcf55 ("net/ice/base: add code to work with the NVM") Fixes: b06499a43394 ("net/ice/base: update Boot Configuration Section read of NVM") Fixes: 04b8ec1ea807 ("net/ice/base: add protocol structures and defines") Fixes: 2a27e0a16d29 ("net/ice/base: add sideband queue info") Fixes: 93e84b1bfc92 ("net/ice/base: add basic Tx scheduler") Fixes: c7dd15931183 ("net/ice/base: add virtual switch code") Fixes: a240ff50505b ("net/ice/base: add basic structures") Cc: stable@dpdk.org Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
49 lines
1.2 KiB
C
49 lines
1.2 KiB
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2001-2020 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _ICE_STATUS_H_
|
|
#define _ICE_STATUS_H_
|
|
|
|
/* Error Codes */
|
|
enum ice_status {
|
|
ICE_SUCCESS = 0,
|
|
|
|
/* Generic codes : Range -1..-49 */
|
|
ICE_ERR_PARAM = -1,
|
|
ICE_ERR_NOT_IMPL = -2,
|
|
ICE_ERR_NOT_READY = -3,
|
|
ICE_ERR_NOT_SUPPORTED = -4,
|
|
ICE_ERR_BAD_PTR = -5,
|
|
ICE_ERR_INVAL_SIZE = -6,
|
|
ICE_ERR_DEVICE_NOT_SUPPORTED = -8,
|
|
ICE_ERR_RESET_FAILED = -9,
|
|
ICE_ERR_FW_API_VER = -10,
|
|
ICE_ERR_NO_MEMORY = -11,
|
|
ICE_ERR_CFG = -12,
|
|
ICE_ERR_OUT_OF_RANGE = -13,
|
|
ICE_ERR_ALREADY_EXISTS = -14,
|
|
ICE_ERR_DOES_NOT_EXIST = -15,
|
|
ICE_ERR_IN_USE = -16,
|
|
ICE_ERR_MAX_LIMIT = -17,
|
|
ICE_ERR_RESET_ONGOING = -18,
|
|
ICE_ERR_HW_TABLE = -19,
|
|
ICE_ERR_FW_DDP_MISMATCH = -20,
|
|
|
|
/* NVM specific error codes: Range -50..-59 */
|
|
ICE_ERR_NVM = -50,
|
|
ICE_ERR_NVM_CHECKSUM = -51,
|
|
ICE_ERR_BUF_TOO_SHORT = -52,
|
|
ICE_ERR_NVM_BLANK_MODE = -53,
|
|
|
|
/* ARQ/ASQ specific error codes. Range -100..-109 */
|
|
ICE_ERR_AQ_ERROR = -100,
|
|
ICE_ERR_AQ_TIMEOUT = -101,
|
|
ICE_ERR_AQ_FULL = -102,
|
|
ICE_ERR_AQ_NO_WORK = -103,
|
|
ICE_ERR_AQ_EMPTY = -104,
|
|
ICE_ERR_AQ_FW_CRITICAL = -105,
|
|
};
|
|
|
|
#endif /* _ICE_STATUS_H_ */
|