From: Michael S. Tsirkin Date: Mon, 14 May 2007 04:26:51 +0000 (+0300) Subject: IB/mthca: Fix RESET to ERROR transition X-Git-Tag: v2.6.22-rc3~108^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18aad7150c85cc86a66be8a1c744b63b41b36e0;p=pandora-kernel.git IB/mthca: Fix RESET to ERROR transition According to the IB spec, a QP can be moved from RESET to the ERROR state, but mthca firmware does not support this and returns an error if we try. Work around this FW limitation by moving the QP from RESET to INIT with dummy parameters and then transitioning from INIT to ERROR. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed