diff options
author | Don Fry <brazilnut@us.ibm.com> | 2006-09-13 19:16:53 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-13 19:23:52 +0200 |
commit | 7de745e56244156233e5cdd62b462e52e638d408 (patch) | |
tree | fbc0a3e546de813a5276c0c8a5454d46b1329fbc /drivers/net/Kconfig | |
parent | [PATCH] pcnet32: break receive routine into two pieces. (diff) | |
download | linux-7de745e56244156233e5cdd62b462e52e638d408.tar.xz linux-7de745e56244156233e5cdd62b462e52e638d408.zip |
[PATCH] 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.
Signed-off-by: Len Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: Don Fry <brazilnut@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index de4f9e1f2ca5..a36fc60bd889 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -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 |