15115240jeff/* include/opensm/osm_config.h.  Generated from osm_config.h.in by configure.  */
25115240jeff/* include/osm_config.h.in
35115240jeff *
45115240jeff * Defines various OpenSM configuration parameters to be used by various
55115240jeff * plugins and third party tools.
65115240jeff *
75115240jeff * NOTE: Defines used in header files MUST be included here to ensure plugin
85115240jeff * compatibility.
95115240jeff */
105115240jeff
115115240jeff#ifndef _OSM_CONFIG_H_
125115240jeff#define _OSM_CONFIG_H_ 1
135115240jeff
145115240jeff/* define 1 if OpenSM build is in a debug mode */
155115240jeff/* #undef OSM_DEBUG */
16c187222hselasky/* #undef _DEBUG_ */
175115240jeff
185115240jeff/* Define as 1 if you want Dual Sided RMPP Support */
195115240jeff#define DUAL_SIDED_RMPP 1
205115240jeff
215115240jeff/* Define as 1 if you want to enable a console on a socket connection */
225115240jeff/* #undef ENABLE_OSM_CONSOLE_SOCKET */
235115240jeff
245115240jeff/* Define as 1 if you want to enable the event plugin */
255115240jeff/* #undef ENABLE_OSM_DEFAULT_EVENT_PLUGIN */
265115240jeff
275115240jeff/* Define as 1 if you want to enable the performance manager */
28c187222hselasky#define ENABLE_OSM_PERF_MGR 1
295115240jeff
305115240jeff/* Define as 1 if you want to enable the performance manager profiling code */
315115240jeff/* #undef ENABLE_OSM_PERF_MGR_PROFILE */
325115240jeff
335115240jeff/* Define a default node name map file */
34c187222hselasky#define HAVE_DEFAULT_NODENAME_MAP "/etc/opensm/ib-node-name-map"
355115240jeff
365115240jeff/* Define a default OpenSM config file */
37c187222hselasky#define HAVE_DEFAULT_OPENSM_CONFIG_FILE "/etc/opensm/opensm.conf"
385115240jeff
395115240jeff/* Define a Partition config file */
40c187222hselasky#define HAVE_DEFAULT_PARTITION_CONFIG_FILE "/etc/opensm/partitions.conf"
415115240jeff
425115240jeff/* Define a Prefix Routes config file */
43c187222hselasky#define HAVE_DEFAULT_PREFIX_ROUTES_FILE "/etc/opensm/prefix-routes.conf"
445115240jeff
455115240jeff/* Define a QOS policy config file */
46c187222hselasky#define HAVE_DEFAULT_QOS_POLICY_FILE "/etc/opensm/qos-policy.conf"
475115240jeff
485115240jeff/* Define OpenSM config directory */
49c187222hselasky#define OPENSM_CONFIG_DIR "/etc/opensm"
505115240jeff
515115240jeff/* Define as 1 for vapi vendor */
525115240jeff/* #undef OSM_VENDOR_INTF_MTL */
535115240jeff
545115240jeff/* Define as 1 for OpenIB vendor */
555115240jeff#define OSM_VENDOR_INTF_OPENIB 1
565115240jeff
575115240jeff/* Define as 1 for sim vendor */
585115240jeff/* #undef OSM_VENDOR_INTF_SIM */
595115240jeff
605115240jeff/* Define as 1 for ts vendor */
615115240jeff/* #undef OSM_VENDOR_INTF_TS */
625115240jeff
635115240jeff/* Define as 1 if you want Vendor RMPP Support */
645115240jeff#define VENDOR_RMPP_SUPPORT 1
655115240jeff
66c187222hselasky/* Define to 1 if you have the `pthread' library (-lpthread). */
67c187222hselasky#define HAVE_LIBPTHREAD 1
68c187222hselasky
695115240jeff#endif /* _OSM_CONFIG_H_ */
70