Skip to contentSkip to conversation

NAPI support for forcedeth

RFC In review Stephen Hemminger 2 participants 2 messages Jul 17, 2006 – Jul 18, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC 1/1 NAPI support for forcedeth

Experimental version of NAPI for forcedeth.
Untested, but others may want to help with comments and testing.

---

 drivers/net/Kconfig     |   16 +++++++++
 drivers/net/forcedeth.c |   85 +++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 86 insertions(+), 15 deletions(-)

318a6a7531f8becf89c42b54b73b1268ff88253f

drivers/net/Kconfig +16 -0
index 3918990..9507013 100644
@@ -1411,6 +1411,22 @@ config FORCEDETH
 	  <file:Documentation/networking/net-modules.txt>.  The module will be
 	  called forcedeth.
 
+config FORCEDETH_NAPI
+	bool "Use Rx and Tx Polling (NAPI) (EXPERIMENTAL)"
+	depends on FORCEDETH && 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 CS89x0
 	tristate "CS89x0 support"
drivers/net/forcedeth.c +70 -15

145 lines not on this page · raw message

Signature · 1 line
1.1.3
#1 lore raw

Hi Stephen,

Quoted 2 lines · Stephen Hemminger

Experimental version of NAPI for forcedeth.
Untested, but others may want to help with comments and testing.

I tested this: it worked for about 2 minutes, then the connection dropped and I was unable to connect to anything.

I'll try and find some time to get you a more informative report.

Daniel