From: Ishai Rabinovitz Date: Mon, 26 Nov 2012 10:44:53 +0000 (+0100) Subject: IB/srp: destroy and recreate QP and CQs when reconnecting X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~23^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73aa89ed9e2bebf0c3fff4504e6dff1421b5c819;p=pandora-kernel.git IB/srp: destroy and recreate QP and CQs when reconnecting HW QP FATAL errors persist over a reset operation, but we can recover from that by recreating the QP and associated CQs for each connection. Creating a new QP/CQ also completely forecloses any possibility of getting stale completions or packets on the new connection. Signed-off-by: Ishai Rabinovitz Signed-off-by: Michael S. Tsirkin [ updated to current code from OFED, cleaned up commit message ] Signed-off-by: David Dillow Signed-off-by: Bart Van Assche Signed-off-by: Roland Dreier --- Reading git-diff-tree failed