-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.h
79 lines (59 loc) · 2.23 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#ifndef CONFIG_H_IN
#define CONFIG_H_IN
#define HAVE_STATEMENT_EXPR 1
#define HAVE_BUILTIN_TYPES_COMPATIBLE_P 1
#define HAVE_TYPEOF 1
#define HAVE_ISBLANK 1
#define HAVE_BUILTIN_CLZ 1
#define HAVE_BUILTIN_CLZL 1
#define PACKAGE_VERSION "35.0"
// FIXME: Remove this, The cmake version hard-requires new style CLOEXEC support
#define STREAM_CLOEXEC "e"
#define RDMA_CDEV_DIR "/dev/infiniband"
#define IBV_CONFIG_DIR "/etc/libibverbs.d"
#define RS_CONF_DIR "/etc/rdma/rsocket"
#define IWPM_CONFIG_FILE "/etc/iwpmd.conf"
#define SRP_DAEMON_CONFIG_FILE "/etc/srp_daemon.conf"
#define SRP_DAEMON_LOCK_PREFIX "/usr/local/var/run/srp_daemon"
#define ACM_CONF_DIR "/etc/rdma"
#define IBACM_LIB_PATH "/usr/lib64/ibacm"
#define IBACM_BIN_PATH "/usr/bin"
#define IBACM_PID_FILE "/usr/local/var/run/ibacm.pid"
#define IBACM_PORT_BASE "ibacm-tcp.port"
#define IBACM_IBACME_PORT_FILE "/usr/local/var/run/" IBACM_PORT_BASE
#define IBACM_PORT_FILE "/usr/local/var/run/ibacm.port"
#define IBACM_LOG_FILE "/var/log/ibacm.log"
#define IBACM_SERVER_BASE "ibacm-unix.sock"
#define IBACM_IBACME_SERVER_PATH "/usr/local/var/run/" IBACM_SERVER_BASE
#define IBACM_SERVER_PATH "/usr/local/var/run/ibacm.sock"
#define IBDIAG_CONFIG_PATH "/etc/infiniband-diags"
#define IBDIAG_NODENAME_MAP_PATH "/etc/rdma/ib-node-name-map"
#define VERBS_PROVIDER_DIR "/usr/lib64/libibverbs"
#define VERBS_PROVIDER_SUFFIX "-rdmav34.so"
#define IBVERBS_PABI_VERSION 34
// FIXME This has been supported in compilers forever, we should just fail to build on such old systems.
#define HAVE_FUNC_ATTRIBUTE_ALWAYS_INLINE 1
#define HAVE_FUNC_ATTRIBUTE_IFUNC 1
#define HAVE_FUNC_ATTRIBUTE_SYMVER 1
#define HAVE_WORKING_IF_H 1
// Operating mode for symbol versions
#define HAVE_FULL_SYMBOL_VERSIONS 1
/* #undef HAVE_LIMITED_SYMBOL_VERSIONS */
#define SIZEOF_LONG 8
#if 3 == 1
# define VERBS_IOCTL_ONLY 1
# define VERBS_WRITE_ONLY 0
#elif 3 == 2
# define VERBS_IOCTL_ONLY 0
# define VERBS_WRITE_ONLY 1
#elif 3 == 3
# define VERBS_IOCTL_ONLY 0
# define VERBS_WRITE_ONLY 0
#endif
// Configuration defaults
#define IBACM_SERVER_MODE_UNIX 0
#define IBACM_SERVER_MODE_LOOP 1
#define IBACM_SERVER_MODE_OPEN 2
#define IBACM_SERVER_MODE_DEFAULT IBACM_SERVER_MODE_UNIX
#define IBACM_ACME_PLUS_KERNEL_ONLY_DEFAULT 0
#endif