xref: /freebsd/contrib/ofed/opensm/config.h (revision 0957b409)
1 /* $FreeBSD$ */
2 
3 /* Define as 1 if you want Dual Sided RMPP Support */
4 #define DUAL_SIDED_RMPP 1
5 
6 /* Define as 1 if you want to enable a loopback console */
7 #define ENABLE_OSM_CONSOLE_LOOPBACK 1
8 
9 /* Define as 1 if you want to enable a console on a socket connection */
10 /* #undef ENABLE_OSM_CONSOLE_SOCKET */
11 
12 /* Define as 1 if you want to enable the event plugin */
13 /* #undef ENABLE_OSM_DEFAULT_EVENT_PLUGIN */
14 
15 /* Define as 1 if you want to enable the performance manager */
16 #define ENABLE_OSM_PERF_MGR 1
17 
18 /* Define as 1 if you want to enable the performance manager profiling code */
19 /* #undef ENABLE_OSM_PERF_MGR_PROFILE */
20 
21 /* Define to 1 if the compiler supports __builtin_expect. */
22 #define HAVE_BUILTIN_EXPECT 1
23 
24 /* Define a default node name map file */
25 #define HAVE_DEFAULT_NODENAME_MAP "/etc/opensm/ib-node-name-map"
26 
27 /* Define a default OpenSM config file */
28 #define HAVE_DEFAULT_OPENSM_CONFIG_FILE "/etc/opensm/opensm.conf"
29 
30 /* Define a Partition config file */
31 #define HAVE_DEFAULT_PARTITION_CONFIG_FILE "/etc/opensm/partitions.conf"
32 
33 /* Define a Per Module Logging config file */
34 #define HAVE_DEFAULT_PER_MOD_LOGGING_FILE "/etc/opensm/per-module-logging.conf"
35 
36 /* Define a Prefix Routes config file */
37 #define HAVE_DEFAULT_PREFIX_ROUTES_FILE "/etc/opensm/prefix-routes.conf"
38 
39 /* Define a QOS policy config file */
40 #define HAVE_DEFAULT_QOS_POLICY_FILE "/etc/opensm/qos-policy.conf"
41 
42 /* Define to 1 if you have the <dlfcn.h> header file. */
43 #define HAVE_DLFCN_H 1
44 
45 /* Define to 1 if you have the <inttypes.h> header file. */
46 #define HAVE_INTTYPES_H 1
47 
48 /* Define to 1 if you have the `ibumad' library (-libumad). */
49 #define HAVE_LIBIBUMAD 1
50 
51 /* Define to 1 if you have the `pthread' library (-lpthread). */
52 #define HAVE_LIBPTHREAD 1
53 
54 /* Define to 1 if you have the `vapi' library (-lvapi). */
55 /* #undef HAVE_LIBVAPI */
56 
57 /* Define to 1 if you have the `wrap' library (-lwrap). */
58 #define HAVE_LIBWRAP 1
59 
60 /* Define to 1 if you have the <memory.h> header file. */
61 #define HAVE_MEMORY_H 1
62 
63 /* Define to 1 if you have the <stdint.h> header file. */
64 #define HAVE_STDINT_H 1
65 
66 /* Define to 1 if you have the <stdlib.h> header file. */
67 #define HAVE_STDLIB_H 1
68 
69 /* Define to 1 if you have the <strings.h> header file. */
70 #define HAVE_STRINGS_H 1
71 
72 /* Define to 1 if you have the <string.h> header file. */
73 #define HAVE_STRING_H 1
74 
75 /* Define to 1 if you have the <sys/stat.h> header file. */
76 #define HAVE_SYS_STAT_H 1
77 
78 /* Define to 1 if you have the <sys/types.h> header file. */
79 #define HAVE_SYS_TYPES_H 1
80 
81 /* Define to 1 if you have the <unistd.h> header file. */
82 #define HAVE_UNISTD_H 1
83 
84 /* Define OpenSM config directory */
85 #define OPENSM_CONFIG_DIR "/etc/opensm"
86 
87 /* define 1 if OpenSM build is in a debug mode */
88 /* #undef OSM_DEBUG */
89 
90 /* Define as 1 for vapi vendor */
91 /* #undef OSM_VENDOR_INTF_MTL */
92 
93 /* Define as 1 for OpenIB vendor */
94 #define OSM_VENDOR_INTF_OPENIB 1
95 
96 /* Define as 1 for sim vendor */
97 /* #undef OSM_VENDOR_INTF_SIM */
98 
99 /* Define as 1 for ts vendor */
100 /* #undef OSM_VENDOR_INTF_TS */
101 
102 /* Name of package */
103 #define PACKAGE "opensm"
104 
105 /* Define to the address where bug reports for this package should be sent. */
106 #define PACKAGE_BUGREPORT "linux-rdma@vger.kernel.org"
107 
108 /* Define to the full name of this package. */
109 #define PACKAGE_NAME "opensm"
110 
111 /* Define to the full name and version of this package. */
112 #define PACKAGE_STRING "opensm 3.3.20"
113 
114 /* Define to the one symbol short name of this package. */
115 #define PACKAGE_TARNAME "opensm"
116 
117 /* Define to the home page for this package. */
118 #define PACKAGE_URL ""
119 
120 /* Define to the version of this package. */
121 #define PACKAGE_VERSION "3.3.20"
122 
123 /* Define to 1 if you have the ANSI C header files. */
124 #define STDC_HEADERS 1
125 
126 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
127 #define TIME_WITH_SYS_TIME 1
128 
129 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
130 /* #undef TM_IN_SYS_TIME */
131 
132 /* Define as 1 if you want Vendor RMPP Support */
133 #define VENDOR_RMPP_SUPPORT 1
134 
135 /* Version number of package */
136 #define VERSION "3.3.20"
137 
138 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
139    `char[]'. */
140 #define YYTEXT_POINTER 1
141 
142 /* define 1 if OpenSM build is in a debug mode */
143 /* #undef _DEBUG_ */
144 
145 /* mark config.h inclusion */
146 #define _OSM_CONFIG_H_ 1
147 
148 /* Define to empty if `const' does not conform to ANSI C. */
149 /* #undef const */
150 
151 /* Define to `__inline__' or `__inline' if that's what the C compiler
152    calls it, or to nothing if 'inline' is not supported under any name.  */
153 #ifndef __cplusplus
154 /* #undef inline */
155 #endif
156 
157 /* Define to `int' if <sys/types.h> does not define. */
158 /* #undef pid_t */
159 
160 /* Define to `unsigned int' if <sys/types.h> does not define. */
161 /* #undef size_t */
162 
163 /* Define to empty if the keyword `volatile' does not work. Warning: valid
164    code using `volatile' can become incorrect without. Disable with care. */
165 /* #undef volatile */
166