@@ -70,9 +70,6 @@ AC_CHECK_HEADER(valgrind/memcheck.h, [],
fi
fi
-AC_CHECK_HEADER(infiniband/acm.h,
- AC_DEFINE([USE_IB_ACM], 1, [setting IBACM support]), [])
-
dnl Checks close on exec support
AC_CHECK_HEADERS([fcntl.h sys/socket.h])
@@ -45,7 +45,6 @@
#include <infiniband/ib.h>
#include <infiniband/sa.h>
-#ifdef USE_IB_ACM
#define ACM_VERSION 1
#define ACM_OP_RESOLVE 0x01
@@ -453,5 +452,3 @@ void ucma_ib_resolve(struct rdma_addrinfo **rai, struct rdma_addrinfo *hints)
if (af_ib_support && !(hints->ai_flags & RAI_ROUTEONLY) && (*rai)->ai_route_len)
ucma_resolve_af_ib(rai);
}
-
-#endif /* USE_IB_ACM */
@@ -162,15 +162,9 @@ extern int af_ib_support;
#define RAI_ROUTEONLY 0x01000000
-#ifdef USE_IB_ACM
void ucma_ib_init();
void ucma_ib_cleanup();
void ucma_ib_resolve(struct rdma_addrinfo **rai, struct rdma_addrinfo *hints);
-#else
-#define ucma_ib_init()
-#define ucma_ib_cleanup()
-#define ucma_ib_resolve(x, y)
-#endif
/* Define path record definition if using older version of libibverbs */
#ifdef DEFINE_PATH_RECORD