pcnet32: NAPI implementation
Subsystems (2)
PATCH 1/2 pcnet32: NAPI implementation
Implement NAPI changes to pcnet32 driver. Compile default is off. Listed as experimental.
Len and Don both worked on a NAPI implementation and have both tested these changes.
An e1000 blasting short packets to the pcnet32 will lockup Don's system until the receive storm stops. Without NAPI Len's system watchdog would expire causing the system to reboot. With NAPI the system will stay operational.
Tested ia32 and ppc64. Tested '970A, '971, '972, '973, '975, '976, and '978.
The Kconfig changes came from Len. Don is to blame for all the others.
drivers/net/Kconfig renamed from drivers/net/orig.Kconfig +17 -0
@@ -1300,6 +1300,23 @@ config PCNET32 <file:Documentation/networking/net-modules.txt>. The module will be called pcnet32. +config PCNET32_NAPI + bool "Use RX polling (NAPI) (EXPERIMENTAL)" + depends on PCNET32 && EXPERIMENTAL + help + NAPI is a new driver API designed to reduce CPU and interrupt load + when the driver is receiving lots of packets from the card. It is + still somewhat experimental and thus not yet enabled by default. + + If your estimated Rx load is 10kpps or more, or if the card will be + deployed on potentially unfriendly networks (e.g. in a firewall), + then say Y here. + + See <file:Documentation/networking/NAPI_HOWTO.txt> for more + information. + + If in doubt, say N. + config AMD8111_ETH tristate "AMD 8111 (new PCI lance) support" depends on NET_PCI && PCI
drivers/net/pcnet32.c renamed from drivers/net/pcnet32.c.orig +347 -293
727 lines not on this page · raw message
Signature · 2 lines
Don Fry [email protected]
Quoted 11 lines · Don Fry
Implement NAPI changes to pcnet32 driver. Compile default is off. Listed as experimental.
Len and Don both worked on a NAPI implementation and have both tested these changes.
An e1000 blasting short packets to the pcnet32 will lockup Don's system until the receive storm stops. Without NAPI Len's system watchdog would expire causing the system to reboot. With NAPI the system will stay operational.
Quoted 7 lines
Tested ia32 and ppc64. Tested '970A, '971, '972, '973, '975, '976, and '978.
The
Kconfigchanges came from Len. Don is to blame for all the others.Signed-off-by Len Sorensen <[email protected]>Signed-off-by Don Fry <[email protected]>
Please break this up into two patches: one patch breaks code out into separate functions, but does not functionality at all. second patch implements NAPI.
otherwise OK
Jeff