Skip to content

Commit

Permalink
IB/sa: Track multicast join/leave requests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
shefty authored and Roland Dreier committed Feb 16, 2007
1 parent 8a2e65f commit faec2f7
Show file tree
Hide file tree
Showing 7 changed files with 1,065 additions and 229 deletions.
2 changes: 1 addition & 1 deletion drivers/infiniband/core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ib_core-y := packer.o ud_header.o verbs.o sysfs.o \

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

ib_sa-y := sa_query.o
ib_sa-y := sa_query.o multicast.o

ib_cm-y := cm.o

Expand Down
Loading

0 comments on commit faec2f7

Please sign in to comment.