IB/srp: destroy and recreate QP and CQs when reconnecting
authorIshai Rabinovitz <ishai@mellanox.co.il>
Mon, 26 Nov 2012 10:44:53 +0000 (11:44 +0100)
committerRoland Dreier <roland@purestorage.com>
Sat, 1 Dec 2012 01:40:32 +0000 (17:40 -0800)
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 <ishai@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
[ updated to current code from OFED, cleaned up commit message ]

Signed-off-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found