Skip to content

Commit faec2f7

Browse files
Sean HeftyRoland Dreier
authored andcommitted
IB/sa: Track multicast join/leave requests
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>
1 parent 8a2e65f commit faec2f7

File tree

7 files changed

+1065
-229
lines changed

7 files changed

+1065
-229
lines changed

drivers/infiniband/core/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ib_core-y := packer.o ud_header.o verbs.o sysfs.o \
1212

1313
ib_mad-y := mad.o smi.o agent.o mad_rmpp.o
1414

15-
ib_sa-y := sa_query.o
15+
ib_sa-y := sa_query.o multicast.o
1616

1717
ib_cm-y := cm.o
1818

0 commit comments

Comments
 (0)