Stephen Hemminger wrote:
Here is the 8139too version in net-drivers-2.5-exp modified for NAPI.
Also:
64k receive ring - has to handle wrap for that case;
the NoWrap flag does nothing if using this big ring.
assert() -> BUG_ON()
To deal with the races with tx_timeout, put back in the rx_lock from earlier
versions.
Applied with a "but"... This patch still contains some errors WRT 8139
hardware and the RX path. But I'm comfortable with nailing those
problems down during public testing of net-drivers-2.5-exp.
Hirofumi, Stephen, and others, please test, particularly packet floods
with (a) tiny packets and (b) huge packets. Ditto Jes, if you've still
got hardware, and are interested in DoS fixes in 8139too.
Jeff
|