summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorHariprasad S <hariprasad@chelsio.com>2014-12-17 14:11:03 +0530
committerRoland Dreier <roland@purestorage.com>2015-02-18 08:33:15 -0800
commit1fc8190dd66e280cfba8944506fe883a3ed86e57 (patch)
tree1fca0e4d6a3eaef75db04d09c6c22e6101b7c1d2 /drivers/infiniband/core
parentc62e68963106fb4d3f45e023e8ab21f1ad2d066e (diff)
downloadlinux-1fc8190dd66e280cfba8944506fe883a3ed86e57.tar.gz
linux-1fc8190dd66e280cfba8944506fe883a3ed86e57.tar.bz2
linux-1fc8190dd66e280cfba8944506fe883a3ed86e57.zip
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 <swise@opengridcomputing.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions