1219820Sjeff/* include/opensm/osm_config.h.  Generated from osm_config.h.in by configure.  */
2219820Sjeff/* include/osm_config.h.in
3219820Sjeff *
4219820Sjeff * Defines various OpenSM configuration parameters to be used by various
5219820Sjeff * plugins and third party tools.
6219820Sjeff *
7219820Sjeff * NOTE: Defines used in header files MUST be included here to ensure plugin
8219820Sjeff * compatibility.
9219820Sjeff */
10219820Sjeff
11219820Sjeff#ifndef _OSM_CONFIG_H_
12219820Sjeff#define _OSM_CONFIG_H_ 1
13219820Sjeff
14219820Sjeff/* define 1 if OpenSM build is in a debug mode */
15219820Sjeff/* #undef OSM_DEBUG */
16219820Sjeff
17219820Sjeff/* Define as 1 if you want Dual Sided RMPP Support */
18219820Sjeff#define DUAL_SIDED_RMPP 1
19219820Sjeff
20219820Sjeff/* Define as 1 if you want to enable a console on a socket connection */
21219820Sjeff/* #undef ENABLE_OSM_CONSOLE_SOCKET */
22219820Sjeff
23219820Sjeff/* Define as 1 if you want to enable the event plugin */
24219820Sjeff/* #undef ENABLE_OSM_DEFAULT_EVENT_PLUGIN */
25219820Sjeff
26219820Sjeff/* Define as 1 if you want to enable the performance manager */
27219820Sjeff/* #undef ENABLE_OSM_PERF_MGR */
28219820Sjeff
29219820Sjeff/* Define as 1 if you want to enable the performance manager profiling code */
30219820Sjeff/* #undef ENABLE_OSM_PERF_MGR_PROFILE */
31219820Sjeff
32219820Sjeff/* Define a default node name map file */
33219820Sjeff#define HAVE_DEFAULT_NODENAME_MAP "/usr/local/etc/opensm/ib-node-name-map"
34219820Sjeff
35219820Sjeff/* Define a default OpenSM config file */
36219820Sjeff#define HAVE_DEFAULT_OPENSM_CONFIG_FILE "/usr/local/etc/opensm/opensm.conf"
37219820Sjeff
38219820Sjeff/* Define a Partition config file */
39219820Sjeff#define HAVE_DEFAULT_PARTITION_CONFIG_FILE "/usr/local/etc/opensm/partitions.conf"
40219820Sjeff
41219820Sjeff/* Define a Prefix Routes config file */
42219820Sjeff#define HAVE_DEFAULT_PREFIX_ROUTES_FILE "/usr/local/etc/opensm/prefix-routes.conf"
43219820Sjeff
44219820Sjeff/* Define a QOS policy config file */
45219820Sjeff#define HAVE_DEFAULT_QOS_POLICY_FILE "/usr/local/etc/opensm/qos-policy.conf"
46219820Sjeff
47219820Sjeff/* Define OpenSM config directory */
48219820Sjeff#define OPENSM_CONFIG_DIR "/usr/local/etc/opensm"
49219820Sjeff
50219820Sjeff/* Define as 1 for vapi vendor */
51219820Sjeff/* #undef OSM_VENDOR_INTF_MTL */
52219820Sjeff
53219820Sjeff/* Define as 1 for OpenIB vendor */
54219820Sjeff#define OSM_VENDOR_INTF_OPENIB 1
55219820Sjeff
56219820Sjeff/* Define as 1 for sim vendor */
57219820Sjeff/* #undef OSM_VENDOR_INTF_SIM */
58219820Sjeff
59219820Sjeff/* Define as 1 for ts vendor */
60219820Sjeff/* #undef OSM_VENDOR_INTF_TS */
61219820Sjeff
62219820Sjeff/* Define as 1 if you want Vendor RMPP Support */
63219820Sjeff#define VENDOR_RMPP_SUPPORT 1
64219820Sjeff
65219820Sjeff#endif /* _OSM_CONFIG_H_ */
66