Whamcloud - gitweb
* Landed b_cray_portals_merge.
[fs/lustre-release.git] / lustre / portals / portals / api-errno.c
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  * api/api-errno.c
5  * Instantiate the string table of errors
6  *
7  *   This file is part of Lustre, http://www.sf.net/projects/lustre/
8  */
9
10 /* If you change these, you must update the number table in portals/errno.h */
11 const char *ptl_err_str[] = {
12         "PTL_OK",
13         "PTL_SEGV",
14
15         "PTL_NO_SPACE",
16         "PTL_ME_IN_USE",
17         "PTL_VAL_FAILED",
18
19         "PTL_NAL_FAILED",
20         "PTL_NO_INIT",
21         "PTL_IFACE_DUP",
22         "PTL_IFACE_INVALID",
23
24         "PTL_HANDLE_INVALID",
25         "PTL_MD_INVALID",
26         "PTL_ME_INVALID",
27 /* If you change these, you must update the number table in portals/errno.h */
28         "PTL_PROCESS_INVALID",
29         "PTL_PT_INDEX_INVALID",
30
31         "PTL_SR_INDEX_INVALID",
32         "PTL_EQ_INVALID",
33         "PTL_EQ_DROPPED",
34
35         "PTL_EQ_EMPTY",
36         "PTL_MD_NO_UPDATE",
37         "PTL_FAIL",
38
39         "PTL_IOV_INVALID",
40
41         "PTL_EQ_IN_USE",
42
43         "PTL_MAX_ERRNO"
44 };
45 /* If you change these, you must update the number table in portals/errno.h */