linux/drivers/net/ethernet/emulex/benet
Kalesh AP d0e1b319bb be2net: refactor error detect/recovery function
Currently when an error is detected, the queue resources are being cleaned up
in the recovery routine. The resources are better cleaned up in the error
detection routine itself (similar to EEH code.)
So, this patch re-factors error processing logic to follow the following sequence:
	- check if there is an error in adapter
	- if error,
		- cleanup resources
		- attempt recovery

The patch renames lancer_recover_func() to be_err_recover() as this
routine will be used in the future for error recovery on Skyhawk too.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-23 15:08:32 -05:00
..
be_cmds.c be2net: refactor function initalization sequence into be_func_init() 2015-02-23 15:08:31 -05:00
be_cmds.h be2net: process port misconfig async event 2015-02-07 22:50:59 -08:00
be_ethtool.c be2net: fix failure case in setting flow control 2015-01-24 17:22:42 -08:00
be_hw.h be2net: avoid unncessary swapping of fields in eth_tx_wrb 2015-02-07 22:50:59 -08:00
be_main.c be2net: refactor error detect/recovery function 2015-02-23 15:08:32 -05:00
be_roce.c be2net: add blank line after declarations 2014-09-22 15:01:08 -04:00
be_roce.h be2net: Issue shutdown event to ocrdma driver 2014-08-01 15:07:36 -07:00
be.h be2net: use a wrapper to schedule and cancel error detection task 2015-02-23 15:08:31 -05:00
Kconfig be2net: fix build dependency on VxLAN 2014-04-01 16:25:51 -04:00
Makefile