RDMA/cma: Use rate from IPoIB broadcast when joining IPoIB multicast groups
authorYossi Etigin <yosefe@Voltaire.COM>
Wed, 1 Apr 2009 20:55:32 +0000 (13:55 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 1 Apr 2009 20:55:32 +0000 (13:55 -0700)
commit84adeee9aaa0d81712de1e0ea74caed3398e4a1d
tree2493682afc1efb9053c60883e68a4e30ded2eb38
parent5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a
RDMA/cma: Use rate from IPoIB broadcast when joining IPoIB multicast groups

When joining an IPoIB multicast group, use the same rate as in the
broadcast group.  Otherwise, if the RDMA CM creates this group before
IPoIB does, it might get a different rate.  This will cause IPoIB to
fail joining to the same group later on, because IPoIB uses strict
rate selection.

Signed-off-by: Yossi Etigin <yosefe@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cma.c