]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/ipoib: Make sendonly multicast joins create the mcast group
authorDoug Ledford <dledford@redhat.com>
Fri, 25 Sep 2015 18:35:01 +0000 (14:35 -0400)
committerDoug Ledford <dledford@redhat.com>
Fri, 25 Sep 2015 18:46:58 +0000 (14:46 -0400)
commitc3852ab0e606212de523c1fb1e15adbf9f431619
tree9eb87b54b04e94ba97123a2d5d490ecb557dca59
parentbd99b2e05c4df2a428e5c9dd338289089d0e26df
IB/ipoib: Make sendonly multicast joins create the mcast group

Since IPoIB should, as much as possible, emulate how multicast
sends work on Ethernet for regular TCP/IP apps, there should be
no requirement to subscribe to a multicast group before your
sends are properly sent.  However, due to the difference in how
multicast is handled on InfiniBand, we must join the appropriate
multicast group before we can send to it.  Previously we tried
not to trigger the auto-create feature of the subnet manager when
doing this because we didn't have tracking of these sendonly
groups and the auto-creation might never get undone.  The previous
patch added timing to these sendonly joins and allows us to
leave them after a reasonable idle expiration time.  So supply
all of the information needed to auto-create group.

Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c