]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5e5f343b391c58f26a49fb207dee884b573d7b2
treeefb14ae0f425ea51df5c62a8fd3bd34069df12a5
parent0299da16e67decd52c272b1625f861ee9ed8454c
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