Skip to content

Commit 7521663

Browse files
Sean HeftyRoland Dreier
authored andcommitted
RDMA/cma: Export rdma cm interface to userspace
Export the rdma cm interfaces to userspace via a misc device. Signed-off-by: Sean Hefty <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
1 parent 628e5f6 commit 7521663

File tree

5 files changed

+1092
-4
lines changed

5 files changed

+1092
-4
lines changed

drivers/infiniband/core/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
infiniband-$(CONFIG_INFINIBAND_ADDR_TRANS) := ib_addr.o rdma_cm.o
2+
user_access-$(CONFIG_INFINIBAND_ADDR_TRANS) := rdma_ucm.o
23

34
obj-$(CONFIG_INFINIBAND) += ib_core.o ib_mad.o ib_sa.o \
45
ib_cm.o iw_cm.o $(infiniband-y)
56
obj-$(CONFIG_INFINIBAND_USER_MAD) += ib_umad.o
6-
obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o ib_ucm.o
7+
obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o ib_ucm.o \
8+
$(user_access-y)
79

810
ib_core-y := packer.o ud_header.o verbs.o sysfs.o \
911
device.o fmr_pool.o cache.o
@@ -18,6 +20,8 @@ iw_cm-y := iwcm.o
1820

1921
rdma_cm-y := cma.o
2022

23+
rdma_ucm-y := ucma.o
24+
2125
ib_addr-y := addr.o
2226

2327
ib_umad-y := user_mad.o

0 commit comments

Comments
 (0)