From: Eli Cohen Date: Tue, 15 Jul 2008 06:48:50 +0000 (-0700) Subject: IPoIB: Only set Q_Key once: after joining broadcast group X-Git-Tag: v2.6.27-rc1~1090^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0de13622d5ac658efe7c51521dbdbe0752aa3dd;p=pandora-kernel.git IPoIB: Only set Q_Key once: after joining broadcast group The current code will set the Q_Key for any join of a non-sendonly multicast group. The operation involves a modify QP operation, which is fairly heavyweight, and is only really required after the join of the broadcast group. Fix this by adding a parameter to ipoib_mcast_attach() to control when the Q_Key is set. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier --- Reading git-diff-tree failed