mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
faec2f7b96
The IB SA tracks multicast join/leave requests on a per port basis and does not do any reference counting: if two users of the same port join the same group, and one leaves that group, then the SA will remove the port from the group even though there is one user who wants to stay a member left. Therefore, in order to support multiple users of the same multicast group from the same port, we need to perform reference counting locally. To do this, add an multicast submodule to ib_sa to perform reference counting of multicast join/leave operations. Modify ib_ipoib (the only in-kernel user of multicast) to use the new interface. Signed-off-by: Roland Dreier <rolandd@cisco.com>
33 lines
761 B
Makefile
33 lines
761 B
Makefile
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_sa.o \
|
|
ib_cm.o iw_cm.o $(infiniband-y)
|
|
obj-$(CONFIG_INFINIBAND_USER_MAD) += ib_umad.o
|
|
obj-$(CONFIG_INFINIBAND_USER_ACCESS) += ib_uverbs.o ib_ucm.o \
|
|
$(user_access-y)
|
|
|
|
ib_core-y := packer.o ud_header.o verbs.o sysfs.o \
|
|
device.o fmr_pool.o cache.o
|
|
|
|
ib_mad-y := mad.o smi.o agent.o mad_rmpp.o
|
|
|
|
ib_sa-y := sa_query.o multicast.o
|
|
|
|
ib_cm-y := cm.o
|
|
|
|
iw_cm-y := iwcm.o
|
|
|
|
rdma_cm-y := cma.o
|
|
|
|
rdma_ucm-y := ucma.o
|
|
|
|
ib_addr-y := addr.o
|
|
|
|
ib_umad-y := user_mad.o
|
|
|
|
ib_ucm-y := ucm.o
|
|
|
|
ib_uverbs-y := uverbs_main.o uverbs_cmd.o uverbs_mem.o \
|
|
uverbs_marshall.o
|