RDMA/cxgb4: Don't wakeup threads for MPAv2
authorVipul Pandya <vipul@chelsio.com>
Mon, 7 Jan 2013 13:11:58 +0000 (13:11 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 14 Feb 2013 23:51:57 +0000 (15:51 -0800)
commit7c0a33d61187a413f29f63d106b503b9c91680e8
treeefb14ae0f425ea51df5c62a8fd3bd34069df12a5
parentfe7e0a4dd0304745b57e08827fde13e1c2376e66
RDMA/cxgb4: Don't wakeup threads for MPAv2

Don't wakeup threads blocked in rdma_init/rdma_fini if we are on
MPAv2, and want to retry connection with MPAv1.

Stop ep-timer on getting MPA version mismatch, before doing the
abort_connection - in process_mpa_request.

Take care to stop ep-timer in error paths for process_mpa_request.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c