xref: /freebsd/contrib/ofed/opensm/include/opensm/osm_file_ids.h (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1 /*
2  * Copyright (c) 2012 Mellanox Technologies LTD. All rights reserved.
3  *
4  * This software is available to you under a choice of one of two
5  * licenses.  You may choose to be licensed under the terms of the GNU
6  * General Public License (GPL) Version 2, available from the file
7  * COPYING in the main directory of this source tree, or the
8  * OpenIB.org BSD license below:
9  *
10  *     Redistribution and use in source and binary forms, with or
11  *     without modification, are permitted provided that the following
12  *     conditions are met:
13  *
14  *      - Redistributions of source code must retain the above
15  *        copyright notice, this list of conditions and the following
16  *        disclaimer.
17  *
18  *      - Redistributions in binary form must reproduce the above
19  *        copyright notice, this list of conditions and the following
20  *        disclaimer in the documentation and/or other materials
21  *        provided with the distribution.
22  *
23  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30  * SOFTWARE.
31  *
32  */
33 
34 /*
35  * Abstract:
36  * 	Declaration of osm_file_ids_enum.
37  *	This object is part of the OpenSM family of objects.
38  */
39 
40 #ifndef _OSM_FILE_ID_H_
41 #define _OSM_FILE_ID_H_
42 
43 #ifdef __cplusplus
44 #  define BEGIN_C_DECLS extern "C" {
45 #  define END_C_DECLS   }
46 #else				/* !__cplusplus */
47 #  define BEGIN_C_DECLS
48 #  define END_C_DECLS
49 #endif				/* __cplusplus */
50 
51 BEGIN_C_DECLS
52 
53 /****d* OpenSM: osm_file_ids_enum
54 * NAME
55 *	osm_file_ids_enum
56 *
57 * DESCRIPTION
58 *	Enumerates all FILE_IDs used for logging support.
59 *
60 * SYNOPSIS
61 */
62 typedef enum _osm_file_ids_enum {
63 	OSM_FILE_MAIN_C = 0,
64 	OSM_FILE_CONSOLE_C,
65 	OSM_FILE_CONSOLE_IO_C,
66 	OSM_FILE_DB_FILES_C,
67 	OSM_FILE_DB_PACK_C,
68 	OSM_FILE_DROP_MGR_C,
69 	OSM_FILE_DUMP_C,
70 	OSM_FILE_EVENT_PLUGIN_C,
71 	OSM_FILE_GUID_INFO_RCV_C,
72 	OSM_FILE_GUID_MGR_C,
73 	OSM_FILE_HELPER_C,
74 	OSM_FILE_INFORM_C,
75 	OSM_FILE_LID_MGR_C,
76 	OSM_FILE_LIN_FWD_RCV_C,
77 	OSM_FILE_LINK_MGR_C,
78 	OSM_FILE_LOG_C,
79 	OSM_FILE_MAD_POOL_C,
80 	OSM_FILE_MCAST_FWD_RCV_C,
81 	OSM_FILE_MCAST_MGR_C,
82 	OSM_FILE_MCAST_TBL_C,
83 	OSM_FILE_MCM_PORT_C,
84 	OSM_FILE_MESH_C,
85 	OSM_FILE_MLNX_EXT_PORT_INFO_RCV_C,
86 	OSM_FILE_MTREE_C,
87 	OSM_FILE_MULTICAST_C,
88 	OSM_FILE_NODE_C,
89 	OSM_FILE_NODE_DESC_RCV_C,
90 	OSM_FILE_NODE_INFO_RCV_C,
91 	OSM_FILE_OPENSM_C,
92 	OSM_FILE_PERFMGR_C,
93 	OSM_FILE_PERFMGR_DB_C,
94 	OSM_FILE_PKEY_C,
95 	OSM_FILE_PKEY_MGR_C,
96 	OSM_FILE_PKEY_RCV_C,
97 	OSM_FILE_PORT_C,
98 	OSM_FILE_PORT_INFO_RCV_C,
99 	OSM_FILE_PRTN_C,
100 	OSM_FILE_PRTN_CONFIG_C,
101 	OSM_FILE_QOS_C,
102 	OSM_FILE_QOS_PARSER_L_L,
103 	OSM_FILE_QOS_PARSER_Y_Y,
104 	OSM_FILE_QOS_POLICY_C,
105 	OSM_FILE_REMOTE_SM_C,
106 	OSM_FILE_REQ_C,
107 	OSM_FILE_RESP_C,
108 	OSM_FILE_ROUTER_C,
109 	OSM_FILE_SA_C,
110 	OSM_FILE_SA_CLASS_PORT_INFO_C,
111 	OSM_FILE_SA_GUIDINFO_RECORD_C,
112 	OSM_FILE_SA_INFORMINFO_C,
113 	OSM_FILE_SA_LFT_RECORD_C,
114 	OSM_FILE_SA_LINK_RECORD_C,
115 	OSM_FILE_SA_MAD_CTRL_C,
116 	OSM_FILE_SA_MCMEMBER_RECORD_C,
117 	OSM_FILE_SA_MFT_RECORD_C,
118 	OSM_FILE_SA_MULTIPATH_RECORD_C,
119 	OSM_FILE_SA_NODE_RECORD_C,
120 	OSM_FILE_SA_PATH_RECORD_C,
121 	OSM_FILE_SA_PKEY_RECORD_C,
122 	OSM_FILE_SA_PORTINFO_RECORD_C,
123 	OSM_FILE_SA_SERVICE_RECORD_C,
124 	OSM_FILE_SA_SLVL_RECORD_C,
125 	OSM_FILE_SA_SMINFO_RECORD_C,
126 	OSM_FILE_SA_SW_INFO_RECORD_C,
127 	OSM_FILE_SA_VLARB_RECORD_C,
128 	OSM_FILE_SERVICE_C,
129 	OSM_FILE_SLVL_MAP_RCV_C,
130 	OSM_FILE_SM_C,
131 	OSM_FILE_SMINFO_RCV_C,
132 	OSM_FILE_SM_MAD_CTRL_C,
133 	OSM_FILE_SM_STATE_MGR_C,
134 	OSM_FILE_STATE_MGR_C,
135 	OSM_FILE_SUBNET_C,
136 	OSM_FILE_SW_INFO_RCV_C,
137 	OSM_FILE_SWITCH_C,
138 	OSM_FILE_TORUS_C,
139 	OSM_FILE_TRAP_RCV_C,
140 	OSM_FILE_UCAST_CACHE_C,
141 	OSM_FILE_UCAST_DNUP_C,
142 	OSM_FILE_UCAST_FILE_C,
143 	OSM_FILE_UCAST_FTREE_C,
144 	OSM_FILE_UCAST_LASH_C,
145 	OSM_FILE_UCAST_MGR_C,
146 	OSM_FILE_UCAST_UPDN_C,
147 	OSM_FILE_VENDOR_IBUMAD_C,
148 	OSM_FILE_VL15INTF_C,
149 	OSM_FILE_VL_ARB_RCV_C,
150 	OSM_FILE_ST_C,
151 	OSM_FILE_UCAST_DFSSSP_C,
152 	OSM_FILE_CONGESTION_CONTROL_C,
153 } osm_file_ids_enum;
154 /***********/
155 
156 END_C_DECLS
157 #endif				/* _OSM_FILE_ID_H_ */
158