Imported Upstream version 16.11
[deb_dpdk.git] / drivers / net / qede / base / ecore_status.h
1 /*
2  * Copyright (c) 2016 QLogic Corporation.
3  * All rights reserved.
4  * www.qlogic.com
5  *
6  * See LICENSE.qede_pmd for copyright and licensing details.
7  */
8
9 #ifndef __ECORE_STATUS_H__
10 #define __ECORE_STATUS_H__
11
12 enum _ecore_status_t {
13         ECORE_UNKNOWN_ERROR  = -12,
14         ECORE_NORESOURCES        = -11,
15         ECORE_NODEV   = -10,
16         ECORE_ABORTED = -9,
17         ECORE_AGAIN   = -8,
18         ECORE_NOTIMPL = -7,
19         ECORE_EXISTS  = -6,
20         ECORE_IO      = -5,
21         ECORE_TIMEOUT = -4,
22         ECORE_INVAL   = -3,
23         ECORE_BUSY    = -2,
24         ECORE_NOMEM   = -1,
25         ECORE_SUCCESS = 0,
26         /* PENDING is not an error and should be positive */
27         ECORE_PENDING = 1,
28 };
29
30 #endif /* __ECORE_STATUS_H__ */