linux/drivers/net/ethernet/broadcom
Michael Chan 23021c2105 cnic: Improve error recovery on bnx2x devices
When a bnx2x device encounters parity errors, it will not respond to all
SPQ messages.  As a result, the shutdown sequence before reset can take
a long time as the ulp drivers (bnx2i/bnx2fc) have to wait for timeout
of all such messages.

To improve this scenario, when bnx2x returns error on the SPQ, we'll send
an immediate response to the ulp drivers to avoid such lengthy timeouts.

Adjust the return code of relevant functions to return error only if
the message cannot be sent on the SPQ so that we'll generate an error
completion to the ulp drivers.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-01-05 14:01:21 -05:00
..
bnx2x ethtool: Define and apply a default policy for RX flow hash indirection 2011-12-16 13:53:18 -05:00
b44.c b44: Use dev_kfree_skb_irq() in b44_tx() 2011-11-23 16:40:31 -05:00
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bnx2_fw.h
bnx2.c bnx2: Update driver to use new mips firmware. 2011-12-19 15:46:28 -05:00
bnx2.h bnx2: switch to build_skb() infrastructure 2011-11-18 02:04:47 -05:00
cnic_defs.h cnic: Improve error recovery on bnx2x devices 2012-01-05 14:01:21 -05:00
cnic_if.h cnic: Improve error recovery on bnx2x devices 2012-01-05 14:01:21 -05:00
cnic.c cnic: Improve error recovery on bnx2x devices 2012-01-05 14:01:21 -05:00
cnic.h
Kconfig
Makefile
sb1250-mac.c net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
tg3.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
tg3.h tg3: Break out RSS indir table init and assignment 2011-12-15 13:09:11 -05:00