be2net: Add retry in case of error recovery failure
authorPadmanabh Ratnakar <padmanabh.ratnakar@broadcom.com>
Wed, 3 Feb 2016 04:19:22 +0000 (09:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 18:55:22 +0000 (13:55 -0500)
commit972f37b424e65f9ef1ce143b8658d9ed50db9f42
tree63058b8e5b7384c61a05a1a2aae829f3706cee06
parent1babbad46f4aba1c242e43e27c5b36a62311b2d4
be2net: Add retry in case of error recovery failure

Retry error recovery MAX_ERR_RECOVERY_RETRY_COUNT times in case of
failure during error recovery.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c