diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-10-18 20:16:20 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-19 23:00:02 -0400 |
commit | bf45abeb1d917e92775b4523ba0ddcfd331464b4 (patch) | |
tree | 6ffb877a2d61abd38d7cc84708f4bfd3efa802f1 /drivers | |
parent | 5a46236d20faf1ec3712afb28203f7a1adb5d39d (diff) |
NAPI: kconfig prompt and deleted doc file
- make the kconfig NAPI option prompt consistent across all net drivers
(other than EXPERIMENTAL; can it now be removed also, or is the new
napi_struct implementation now EXPERIMENTAL ?)
- remove comment about the now-deleted NAPI_HOWTO.txt file
- clean up typos in Tulip NAPI & Interrupt Mitigation
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 37 | ||||
-rw-r--r-- | drivers/net/tulip/Kconfig | 14 |
2 files changed, 11 insertions, 40 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 83d52c8acab0..1a92dc6f927a 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1293,9 +1293,6 @@ config PCNET32_NAPI | |||
1293 | deployed on potentially unfriendly networks (e.g. in a firewall), | 1293 | deployed on potentially unfriendly networks (e.g. in a firewall), |
1294 | then say Y here. | 1294 | then say Y here. |
1295 | 1295 | ||
1296 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
1297 | information. | ||
1298 | |||
1299 | If in doubt, say N. | 1296 | If in doubt, say N. |
1300 | 1297 | ||
1301 | config AMD8111_ETH | 1298 | config AMD8111_ETH |
@@ -1313,7 +1310,7 @@ config AMD8111_ETH | |||
1313 | will be called amd8111e. | 1310 | will be called amd8111e. |
1314 | 1311 | ||
1315 | config AMD8111E_NAPI | 1312 | config AMD8111E_NAPI |
1316 | bool "Enable NAPI support" | 1313 | bool "Use RX polling (NAPI)" |
1317 | depends on AMD8111_ETH | 1314 | depends on AMD8111_ETH |
1318 | help | 1315 | help |
1319 | NAPI is a new driver API designed to reduce CPU and interrupt load | 1316 | NAPI is a new driver API designed to reduce CPU and interrupt load |
@@ -1324,9 +1321,6 @@ config AMD8111E_NAPI | |||
1324 | deployed on potentially unfriendly networks (e.g. in a firewall), | 1321 | deployed on potentially unfriendly networks (e.g. in a firewall), |
1325 | then say Y here. | 1322 | then say Y here. |
1326 | 1323 | ||
1327 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
1328 | information. | ||
1329 | |||
1330 | If in doubt, say N. | 1324 | If in doubt, say N. |
1331 | 1325 | ||
1332 | config ADAPTEC_STARFIRE | 1326 | config ADAPTEC_STARFIRE |
@@ -1355,9 +1349,6 @@ config ADAPTEC_STARFIRE_NAPI | |||
1355 | deployed on potentially unfriendly networks (e.g. in a firewall), | 1349 | deployed on potentially unfriendly networks (e.g. in a firewall), |
1356 | then say Y here. | 1350 | then say Y here. |
1357 | 1351 | ||
1358 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
1359 | information. | ||
1360 | |||
1361 | If in doubt, say N. | 1352 | If in doubt, say N. |
1362 | 1353 | ||
1363 | config AC3200 | 1354 | config AC3200 |
@@ -1431,7 +1422,7 @@ config FORCEDETH | |||
1431 | called forcedeth. | 1422 | called forcedeth. |
1432 | 1423 | ||
1433 | config FORCEDETH_NAPI | 1424 | config FORCEDETH_NAPI |
1434 | bool "Use Rx and Tx Polling (NAPI) (EXPERIMENTAL)" | 1425 | bool "Use Rx Polling (NAPI) (EXPERIMENTAL)" |
1435 | depends on FORCEDETH && EXPERIMENTAL | 1426 | depends on FORCEDETH && EXPERIMENTAL |
1436 | help | 1427 | help |
1437 | NAPI is a new driver API designed to reduce CPU and interrupt load | 1428 | NAPI is a new driver API designed to reduce CPU and interrupt load |
@@ -1442,9 +1433,6 @@ config FORCEDETH_NAPI | |||
1442 | deployed on potentially unfriendly networks (e.g. in a firewall), | 1433 | deployed on potentially unfriendly networks (e.g. in a firewall), |
1443 | then say Y here. | 1434 | then say Y here. |
1444 | 1435 | ||
1445 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
1446 | information. | ||
1447 | |||
1448 | If in doubt, say N. | 1436 | If in doubt, say N. |
1449 | 1437 | ||
1450 | config CS89x0 | 1438 | config CS89x0 |
@@ -1756,9 +1744,6 @@ config VIA_RHINE_NAPI | |||
1756 | deployed on potentially unfriendly networks (e.g. in a firewall), | 1744 | deployed on potentially unfriendly networks (e.g. in a firewall), |
1757 | then say Y here. | 1745 | then say Y here. |
1758 | 1746 | ||
1759 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
1760 | information. | ||
1761 | |||
1762 | config LAN_SAA9730 | 1747 | config LAN_SAA9730 |
1763 | bool "Philips SAA9730 Ethernet support" | 1748 | bool "Philips SAA9730 Ethernet support" |
1764 | depends on NET_PCI && PCI && MIPS_ATLAS | 1749 | depends on NET_PCI && PCI && MIPS_ATLAS |
@@ -2003,9 +1988,6 @@ config E1000_NAPI | |||
2003 | deployed on potentially unfriendly networks (e.g. in a firewall), | 1988 | deployed on potentially unfriendly networks (e.g. in a firewall), |
2004 | then say Y here. | 1989 | then say Y here. |
2005 | 1990 | ||
2006 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
2007 | information. | ||
2008 | |||
2009 | If in doubt, say N. | 1991 | If in doubt, say N. |
2010 | 1992 | ||
2011 | config E1000_DISABLE_PACKET_SPLIT | 1993 | config E1000_DISABLE_PACKET_SPLIT |
@@ -2099,7 +2081,7 @@ config R8169 | |||
2099 | will be called r8169. This is recommended. | 2081 | will be called r8169. This is recommended. |
2100 | 2082 | ||
2101 | config R8169_NAPI | 2083 | config R8169_NAPI |
2102 | bool "Use Rx and Tx Polling (NAPI) (EXPERIMENTAL)" | 2084 | bool "Use Rx Polling (NAPI) (EXPERIMENTAL)" |
2103 | depends on R8169 && EXPERIMENTAL | 2085 | depends on R8169 && EXPERIMENTAL |
2104 | help | 2086 | help |
2105 | NAPI is a new driver API designed to reduce CPU and interrupt load | 2087 | NAPI is a new driver API designed to reduce CPU and interrupt load |
@@ -2110,9 +2092,6 @@ config R8169_NAPI | |||
2110 | deployed on potentially unfriendly networks (e.g. in a firewall), | 2092 | deployed on potentially unfriendly networks (e.g. in a firewall), |
2111 | then say Y here. | 2093 | then say Y here. |
2112 | 2094 | ||
2113 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
2114 | information. | ||
2115 | |||
2116 | If in doubt, say N. | 2095 | If in doubt, say N. |
2117 | 2096 | ||
2118 | config R8169_VLAN | 2097 | config R8169_VLAN |
@@ -2364,7 +2343,7 @@ config GIANFAR | |||
2364 | and MPC86xx family of chips, and the FEC on the 8540. | 2343 | and MPC86xx family of chips, and the FEC on the 8540. |
2365 | 2344 | ||
2366 | config GFAR_NAPI | 2345 | config GFAR_NAPI |
2367 | bool "NAPI Support" | 2346 | bool "Use Rx Polling (NAPI)" |
2368 | depends on GIANFAR | 2347 | depends on GIANFAR |
2369 | 2348 | ||
2370 | config UCC_GETH | 2349 | config UCC_GETH |
@@ -2376,7 +2355,7 @@ config UCC_GETH | |||
2376 | which is available on some Freescale SOCs. | 2355 | which is available on some Freescale SOCs. |
2377 | 2356 | ||
2378 | config UGETH_NAPI | 2357 | config UGETH_NAPI |
2379 | bool "NAPI Support" | 2358 | bool "Use Rx Polling (NAPI)" |
2380 | depends on UCC_GETH | 2359 | depends on UCC_GETH |
2381 | 2360 | ||
2382 | config UGETH_MAGIC_PACKET | 2361 | config UGETH_MAGIC_PACKET |
@@ -2559,9 +2538,6 @@ config IXGB_NAPI | |||
2559 | deployed on potentially unfriendly networks (e.g. in a firewall), | 2538 | deployed on potentially unfriendly networks (e.g. in a firewall), |
2560 | then say Y here. | 2539 | then say Y here. |
2561 | 2540 | ||
2562 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
2563 | information. | ||
2564 | |||
2565 | If in doubt, say N. | 2541 | If in doubt, say N. |
2566 | 2542 | ||
2567 | config S2IO | 2543 | config S2IO |
@@ -2584,9 +2560,6 @@ config S2IO_NAPI | |||
2584 | deployed on potentially unfriendly networks (e.g. in a firewall), | 2560 | deployed on potentially unfriendly networks (e.g. in a firewall), |
2585 | then say Y here. | 2561 | then say Y here. |
2586 | 2562 | ||
2587 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
2588 | information. | ||
2589 | |||
2590 | If in doubt, say N. | 2563 | If in doubt, say N. |
2591 | 2564 | ||
2592 | config MYRI10GE | 2565 | config MYRI10GE |
diff --git a/drivers/net/tulip/Kconfig b/drivers/net/tulip/Kconfig index 1c537d5a3062..49d7a290dbbc 100644 --- a/drivers/net/tulip/Kconfig +++ b/drivers/net/tulip/Kconfig | |||
@@ -67,7 +67,7 @@ config TULIP_MMIO | |||
67 | If in doubt, say N. | 67 | If in doubt, say N. |
68 | 68 | ||
69 | config TULIP_NAPI | 69 | config TULIP_NAPI |
70 | bool "Use NAPI RX polling " | 70 | bool "Use RX polling (NAPI)" |
71 | depends on TULIP | 71 | depends on TULIP |
72 | help | 72 | help |
73 | NAPI is a new driver API designed to reduce CPU and interrupt load | 73 | NAPI is a new driver API designed to reduce CPU and interrupt load |
@@ -78,18 +78,16 @@ config TULIP_NAPI | |||
78 | deployed on potentially unfriendly networks (e.g. in a firewall), | 78 | deployed on potentially unfriendly networks (e.g. in a firewall), |
79 | then say Y here. | 79 | then say Y here. |
80 | 80 | ||
81 | See <file:Documentation/networking/NAPI_HOWTO.txt> for more | ||
82 | information. | ||
83 | |||
84 | If in doubt, say N. | 81 | If in doubt, say N. |
85 | 82 | ||
86 | config TULIP_NAPI_HW_MITIGATION | 83 | config TULIP_NAPI_HW_MITIGATION |
87 | bool "Use Interrupt Mitigation " | 84 | bool "Use Interrupt Mitigation" |
88 | depends on TULIP_NAPI | 85 | depends on TULIP_NAPI |
89 | ---help--- | 86 | ---help--- |
90 | Use HW to reduce RX interrupts. Not strict necessary since NAPI reduces | 87 | Use HW to reduce RX interrupts. Not strictly necessary since NAPI |
91 | RX interrupts but itself. Although this reduces RX interrupts even at | 88 | reduces RX interrupts by itself. Interrupt mitigation reduces RX |
92 | low levels traffic at the cost of a small latency. | 89 | interrupts even at low levels of traffic at the cost of a small |
90 | latency. | ||
93 | 91 | ||
94 | If in doubt, say Y. | 92 | If in doubt, say Y. |
95 | 93 | ||