cnic: set error flag when iSCSI connection fails
authorJeffrey Huang <huangjw@broadcom.com>
Wed, 8 Feb 2012 17:33:56 +0000 (17:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Feb 2012 19:03:50 +0000 (14:03 -0500)
commit0cb1f4b96092b9d91d4e50d5c77b424745cd1102
treece4bc01329bdb14726bdae6b1ac1f3d3085824ca
parenta584b7ae4ef01425f6827657abdc3e4db49b3578
cnic: set error flag when iSCSI connection fails

to speed up error recovery due to SPQ failures.  The error flag will
expedite the recovery process by skipping the timeouts.

Signed-off-by: Jeffrey Huang <huangjw@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c