* [PATCH] be2net: increase POST timeout for EEH recovery
@ 2010-05-26 7:00 Sathya Perla
2010-05-26 7:33 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sathya Perla @ 2010-05-26 7:00 UTC (permalink / raw)
To: netdev
Sometimes BE requires longer time for POST completion after an EEH reset.
Increasing the timeout value accordingly.
Signed-off-by: Sathya Perla <sathyap@serverengines.com>
---
drivers/net/benet/be_cmds.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index c911bfb..9d11dbf 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -294,7 +294,7 @@ int be_cmd_POST(struct be_adapter *adapter)
} else {
return 0;
}
- } while (timeout < 20);
+ } while (timeout < 40);
dev_err(&adapter->pdev->dev, "POST timeout; stage=0x%x\n", stage);
return -1;
--
1.6.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] be2net: increase POST timeout for EEH recovery
2010-05-26 7:00 [PATCH] be2net: increase POST timeout for EEH recovery Sathya Perla
@ 2010-05-26 7:33 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-05-26 7:33 UTC (permalink / raw)
To: sathyap; +Cc: netdev
From: Sathya Perla <sathyap@serverengines.com>
Date: Wed, 26 May 2010 12:30:48 +0530
> Sometimes BE requires longer time for POST completion after an EEH reset.
> Increasing the timeout value accordingly.
>
> Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-26 7:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26 7:00 [PATCH] be2net: increase POST timeout for EEH recovery Sathya Perla
2010-05-26 7:33 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).