1/* include/opensm/osm_config.h. Generated from osm_config.h.in by configure. */ 2/* include/osm_config.h.in 3 * 4 * Defines various OpenSM configuration parameters to be used by various 5 * plugins and third party tools. 6 * 7 * NOTE: Defines used in header files MUST be included here to ensure plugin 8 * compatibility. 9 */ 10 11#ifndef _OSM_CONFIG_H_ 12#define _OSM_CONFIG_H_ 1 13 14/* define 1 if OpenSM build is in a debug mode */ 15/* #undef OSM_DEBUG */ 16/* #undef _DEBUG_ */ 17 18/* Define as 1 if you want Dual Sided RMPP Support */ 19#define DUAL_SIDED_RMPP 1 20 21/* Define as 1 if you want to enable a console on a socket connection */ 22/* #undef ENABLE_OSM_CONSOLE_SOCKET */ 23 24/* Define as 1 if you want to enable the event plugin */ 25/* #undef ENABLE_OSM_DEFAULT_EVENT_PLUGIN */ 26 27/* Define as 1 if you want to enable the performance manager */ 28#define ENABLE_OSM_PERF_MGR 1 29 30/* Define as 1 if you want to enable the performance manager profiling code */ 31/* #undef ENABLE_OSM_PERF_MGR_PROFILE */ 32 33/* Define a default node name map file */ 34#define HAVE_DEFAULT_NODENAME_MAP "/etc/opensm/ib-node-name-map" 35 36/* Define a default OpenSM config file */ 37#define HAVE_DEFAULT_OPENSM_CONFIG_FILE "/etc/opensm/opensm.conf" 38 39/* Define a Partition config file */ 40#define HAVE_DEFAULT_PARTITION_CONFIG_FILE "/etc/opensm/partitions.conf" 41 42/* Define a Prefix Routes config file */ 43#define HAVE_DEFAULT_PREFIX_ROUTES_FILE "/etc/opensm/prefix-routes.conf" 44 45/* Define a QOS policy config file */ 46#define HAVE_DEFAULT_QOS_POLICY_FILE "/etc/opensm/qos-policy.conf" 47 48/* Define OpenSM config directory */ 49#define OPENSM_CONFIG_DIR "/etc/opensm" 50 51/* Define as 1 for vapi vendor */ 52/* #undef OSM_VENDOR_INTF_MTL */ 53 54/* Define as 1 for OpenIB vendor */ 55#define OSM_VENDOR_INTF_OPENIB 1 56 57/* Define as 1 for sim vendor */ 58/* #undef OSM_VENDOR_INTF_SIM */ 59 60/* Define as 1 for ts vendor */ 61/* #undef OSM_VENDOR_INTF_TS */ 62 63/* Define as 1 if you want Vendor RMPP Support */ 64#define VENDOR_RMPP_SUPPORT 1 65 66/* Define to 1 if you have the `pthread' library (-lpthread). */ 67#define HAVE_LIBPTHREAD 1 68 69#endif /* _OSM_CONFIG_H_ */ 70