From: Steve Welch Date: Tue, 23 Oct 2007 22:06:10 +0000 (-0700) Subject: IB/mad: Enable loopback of DR SMP responses from userspace X-Git-Tag: v2.6.25-rc1~1234^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=727792da2bc22e2ce125faef84aeca3b3e2f4a90;p=pandora-kernel.git IB/mad: Enable loopback of DR SMP responses from userspace The local loopback of an outgoing DR SMP response is limited to those that originate at the driver specific SMA implementation during the driver specific process_mad() function. This patch enables a returning DR SMP originating in userspace (or elsewhere) to be delivered to the local managment stack. In this specific case the driver process_mad() function does not consume or process the MAD, so a reponse mad has not be created and the original MAD must manually be copied to the MAD buffer that is to be handed off to the local agent. Signed-off-by: Steve Welch Acked-by: Hal Rosenstock Signed-off-by: Roland Dreier --- Reading git-diff-tree failed