From: David Dillow Date: Fri, 8 Oct 2010 18:40:47 +0000 (-0400) Subject: IB/srp: Implement SRP_CRED_REQ and SRP_AER_REQ X-Git-Tag: v2.6.37-rc1~95^2^12~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb12588a38e6db85e01dceadff7bc161fc92e7d2;p=pandora-kernel.git IB/srp: Implement SRP_CRED_REQ and SRP_AER_REQ This patch adds support for SRP_CRED_REQ to avoid a lockup by targets that use that mechanism to return credits to the initiator. This prevents a lockup observed in the field where we would never add the credits from the SRP_CRED_REQ to our current count, and would therefore never send another command to the target. Minimal support for SRP_AER_REQ is also added, as these messages can also be used to convey additional credits to the initiator. Based upon extensive debugging and code by Bart Van Assche and a bug report by Chris Worley. Signed-off-by: David Dillow Signed-off-by: Roland Dreier --- Reading git-diff-tree failed