Whamcloud - gitweb
land b_eq on HEAD
[fs/lustre-release.git] / lnet / include / lnet / errno.h
1 #ifndef _P30_ERRNO_H_
2 #define _P30_ERRNO_H_
3
4 /*
5  * include/portals/errno.h
6  *
7  * Shared error number lists
8  */
9
10 /* If you change these, you must update the string table in api-errno.c */
11 typedef enum {
12         PTL_OK              = 0,
13         PTL_SEGV            = 1,
14
15         PTL_NOSPACE         = 2,
16         PTL_INUSE           = 3,
17         PTL_VAL_FAILED      = 4,
18
19         PTL_NAL_FAILED      = 5,
20         PTL_NOINIT          = 6,
21         PTL_INIT_DUP        = 7,
22         PTL_INIT_INV        = 8,
23         PTL_AC_INV_INDEX    = 9,
24
25         PTL_INV_ASIZE       = 10,
26         PTL_INV_HANDLE      = 11,
27         PTL_INV_MD          = 12,
28         PTL_INV_ME          = 13,
29         PTL_INV_NI          = 14,
30 /* If you change these, you must update the string table in api-errno.c */
31         PTL_ILL_MD          = 15,
32         PTL_INV_PROC        = 16,
33         PTL_INV_PSIZE       = 17,
34         PTL_INV_PTINDEX     = 18,
35         PTL_INV_REG         = 19,
36
37         PTL_INV_SR_INDX     = 20,
38         PTL_ML_TOOLONG      = 21,
39         PTL_ADDR_UNKNOWN    = 22,
40         PTL_INV_EQ          = 23,
41         PTL_EQ_DROPPED      = 24,
42
43         PTL_EQ_EMPTY        = 25,
44         PTL_NOUPDATE        = 26,
45         PTL_FAIL            = 27,
46         PTL_NOT_IMPLEMENTED = 28,
47         PTL_NO_ACK          = 29,
48
49         PTL_IOV_TOO_MANY    = 30,
50         PTL_IOV_TOO_SMALL   = 31,
51
52         PTL_EQ_INUSE        = 32,
53
54         PTL_MAX_ERRNO       = 32
55 } ptl_err_t;
56 /* If you change these, you must update the string table in api-errno.c */
57
58 extern const char *ptl_err_str[];
59
60 #endif