be2net: stop issuing FW cmds if any cmd times out
authorSathya Perla <sathya.perla@emulex.com>
Thu, 10 Nov 2011 19:18:00 +0000 (19:18 +0000)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:24:49 +0000 (13:24 -0700)
commit2ab87da317ff6b0f9418aa0754c4f95590a9e7e8
treeef8712f510f2112dfb1c8193f196ba9d3e6c046a
parentfd2f35d780749102982349b0dc620f8c6bba9bae
be2net: stop issuing FW cmds if any cmd times out

BugLink: http://bugs.launchpad.net/bugs/921793

A FW cmd timeout (with a sufficiently large timeout value in the
order of tens of seconds) indicates an unresponsive FW. In this state
issuing further cmds and waiting for a completion will only stall the process.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c