]> git.baikalelectronics.ru Git - kernel.git/commit
forcedeth: new backoff implementation
authorAyaz Abdulla <aabdulla@nvidia.com>
Fri, 18 Apr 2008 20:50:43 +0000 (13:50 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 06:08:53 +0000 (02:08 -0400)
commit9406d3781dbeefa58b149228724130076fa9af70
tree12758a3ec0d74f0048beac2cbaf292b7c6e6eaca
parentbe042013f7298821d7ca5ac5fc96d0127bd3fdce
forcedeth: new backoff implementation

This patch adds support for a new backoff algorithm for half duplex supported
in newer hardware.  The old method is will be designated as legacy mode.

Re-seeding random values for the backoff algorithms are performed when a
transmit has failed due to a maximum retry count (1 to 15, where max is
considered the wraparound case of 0).

Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/forcedeth.c