[openib-general] Re: [PATCH 6/6 v2] IB: userspace support for RDMA connection manager
Roland Dreier
rdreier at cisco.com
Tue Mar 21 17:44:51 PST 2006
Does it make sense to check this in to the svn tree?
- R.
--- infiniband/Kconfig (revision 5941)
+++ infiniband/Kconfig (working copy)
@@ -28,6 +28,11 @@ config INFINIBAND_USER_ACCESS
libibverbs, libibcm and a hardware driver library from
<http://www.openib.org>.
+config INFINIBAND_ADDR_TRANS
+ bool
+ depends on INFINIBAND && INET
+ default y
+
source "drivers/infiniband/hw/ipath/Kconfig"
source "drivers/infiniband/hw/mthca/Kconfig"
--- infiniband/core/Makefile (revision 5941)
+++ infiniband/core/Makefile (working copy)
@@ -1,10 +1,13 @@
EXTRA_CFLAGS += -Idrivers/infiniband/include -Idrivers/infiniband/ulp/ipoib
+infiniband-$(CONFIG_INFINIBAND_ADDR_TRANS) := ib_addr.o rdma_cm.o
+user_access-$(CONFIG_INFINIBAND_ADDR_TRANS) := rdma_ucm.o
+
obj-$(CONFIG_INFINIBAND) += ib_core.o ib_mad.o ib_ping.o ib_cm.o \
- ib_sa.o ib_at.o ib_addr.o rdma_cm.o \
+ ib_sa.o ib_at.o $(infiniband-y) \
ib_local_sa.o findex.o
obj-$(CONFIG_INFINIBAND_USER_MAD) += ib_umad.o
-obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o ib_ucm.o ib_uat.o rdma_ucm.o
+obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o ib_ucm.o ib_uat.o $(user_access-y)
findex-y := index.o
More information about the general
mailing list