diff options
author | Don Fry <brazilnut@us.ibm.com> | 2006-09-13 13:16:53 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-13 13:23:52 -0400 |
commit | 7de745e56244156233e5cdd62b462e52e638d408 (patch) | |
tree | fbc0a3e546de813a5276c0c8a5454d46b1329fbc /drivers/net/Kconfig | |
parent | 3904c324148930bad5d9b97fdf66c63e7682b546 (diff) |
[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 | |||
1300 | <file:Documentation/networking/net-modules.txt>. The module | 1300 | <file:Documentation/networking/net-modules.txt>. The module |
1301 | will be called pcnet32. | 1301 | will be called pcnet32. |
1302 | 1302 | ||
1303 | config PCNET32_NAPI | ||
1304 | bool "Use RX polling (NAPI) (EXPERIMENTAL)" | ||
1305 | depends on PCNET32 && EXPERIMENTAL | ||
1306 | help | ||
1307 | NAPI is a new driver API designed to reduce CPU and interrupt load | ||
1308 | when the driver is receiving lots of packets from the card. It is | ||
1309 | still somewhat experimental and thus not yet enabled by default. | ||
1310 | |||
1311 | If your estimated Rx load is 10kpps or more, or if the card will be | ||
1312 | deployed on potentially unfriendly networks (e.g. in a firewall), | ||
1313 | then say Y here. | ||
1314 | |||
1315 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
1316 | information. | ||
1317 | |||
1318 | If in doubt, say N. | ||
1319 | |||
1303 | config AMD8111_ETH | 1320 | config AMD8111_ETH |
1304 | tristate "AMD 8111 (new PCI lance) support" | 1321 | tristate "AMD 8111 (new PCI lance) support" |
1305 | depends on NET_PCI && PCI | 1322 | depends on NET_PCI && PCI |