1 /* include/opensm/osm_config.h. Generated from osm_config.h.in by configure. */
2 /* include/osm_config.h.in
4 * Defines various OpenSM configuration parameters to be used by various
5 * plugins and third party tools.
7 * NOTE: Defines used in header files MUST be included here to ensure plugin
11 #ifndef _OSM_CONFIG_H_
12 #define _OSM_CONFIG_H_ 1
14 /* define 1 if OpenSM build is in a debug mode */
15 /* #undef OSM_DEBUG */
17 /* Define as 1 if you want Dual Sided RMPP Support */
18 #define DUAL_SIDED_RMPP 1
20 /* Define as 1 if you want to enable a console on a socket connection */
21 /* #undef ENABLE_OSM_CONSOLE_SOCKET */
23 /* Define as 1 if you want to enable the event plugin */
24 /* #undef ENABLE_OSM_DEFAULT_EVENT_PLUGIN */
26 /* Define as 1 if you want to enable the performance manager */
27 /* #undef ENABLE_OSM_PERF_MGR */
29 /* Define as 1 if you want to enable the performance manager profiling code */
30 /* #undef ENABLE_OSM_PERF_MGR_PROFILE */
32 /* Define a default node name map file */
33 #define HAVE_DEFAULT_NODENAME_MAP "/usr/local/etc/opensm/ib-node-name-map"
35 /* Define a default OpenSM config file */
36 #define HAVE_DEFAULT_OPENSM_CONFIG_FILE "/usr/local/etc/opensm/opensm.conf"
38 /* Define a Partition config file */
39 #define HAVE_DEFAULT_PARTITION_CONFIG_FILE "/usr/local/etc/opensm/partitions.conf"
41 /* Define a Prefix Routes config file */
42 #define HAVE_DEFAULT_PREFIX_ROUTES_FILE "/usr/local/etc/opensm/prefix-routes.conf"
44 /* Define a QOS policy config file */
45 #define HAVE_DEFAULT_QOS_POLICY_FILE "/usr/local/etc/opensm/qos-policy.conf"
47 /* Define OpenSM config directory */
48 #define OPENSM_CONFIG_DIR "/usr/local/etc/opensm"
50 /* Define as 1 for vapi vendor */
51 /* #undef OSM_VENDOR_INTF_MTL */
53 /* Define as 1 for OpenIB vendor */
54 #define OSM_VENDOR_INTF_OPENIB 1
56 /* Define as 1 for sim vendor */
57 /* #undef OSM_VENDOR_INTF_SIM */
59 /* Define as 1 for ts vendor */
60 /* #undef OSM_VENDOR_INTF_TS */
62 /* Define as 1 if you want Vendor RMPP Support */
63 #define VENDOR_RMPP_SUPPORT 1
65 #endif /* _OSM_CONFIG_H_ */