From: Ron Livne Date: Tue, 15 Jul 2008 06:48:48 +0000 (-0700) Subject: IB/core: Add support for multicast loopback blocking X-Git-Tag: v2.6.27-rc1~1090^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47ee1b9f2e7bf73950602efe0b74fa1a8481f222;p=pandora-kernel.git IB/core: Add support for multicast loopback blocking This patch also adds a creation flag for QPs, IB_QP_CREATE_MULTICAST_BLOCK_LOOPBACK, which when set means that multicast sends from the QP to a group that the QP is attached to will not be looped back to the QP's receive queue. This can be used to save receive resources when a consumer does not want a local copy of multicast traffic; for example IPoIB must waste CPU time throwing away such local copies of multicast traffic. This patch also adds a device capability flag that shows whether a device supports this feature or not. Signed-off-by: Ron Livne Signed-off-by: Roland Dreier --- Reading git-diff-tree failed