From: Hariprasad S Date: Wed, 17 Dec 2014 08:41:03 +0000 (+0530) Subject: RDMA/cxgb4: Don't hang threads forever waiting on WR replies X-Git-Tag: fixes-v4.0-rc1~31^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fc8190dd66e280cfba8944506fe883a3ed86e57;p=pandora-kernel.git RDMA/cxgb4: Don't hang threads forever waiting on WR replies In c4iw_wait_for_reply(), if a FW6_MSG WR reply is not received after C4IW_WR_TO seconds, fail the WR operation and mark the device as fatally dead. Further, if the device is marked fatally dead, then fail the WR wait immediately. Also change the timeout to 60 seconds. Signed-off-by: Steve Wise Signed-off-by: Hariprasad Shenai Signed-off-by: Roland Dreier --- Reading git-diff-tree failed