]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
myri10ge: increase and fix handoff timeout
authorBrice Goglin <brice@myri.com>
Fri, 9 May 2008 00:17:16 +0000 (02:17 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:30:26 +0000 (01:30 -0400)
commitd93ca2a453f8e5734359267866ab4f3341aa8749
treee4c1128d1cc860fb2a0a2bd6f0eb51f315d99da5
parentd1ce3a0f1a07b48e16ebbc71886086779b52f630
myri10ge: increase and fix handoff timeout

Increase the handoff timeout to 512ms so as to give the aeluros based
NICs sufficient time to handoff without relying on the msleep() being
sloppy, and accidentally sleeping way longer than the 20ms we specified
in 20 separate 1ms sleeps.

Fix typo in the handoff sleep delay, which made it additive, not
exponential.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/myri10ge/myri10ge.c