Skip to content

forcedeth: several proposed updates for testing

Jeff Garzik lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5forcedeth: make NAPI unconditionaldrivers/net/Kconfig drivers/net/forcedeth.c+4 -1620 replies
2/5forcedeth: interrupt handling cleanupdrivers/net/forcedeth.c+77 -2485 replies
3/5forcedeth: process TX completions using NAPIdrivers/net/forcedeth.c+83 -601 reply
4/5forcedeth: internal simplification and cleanupsdrivers/net/forcedeth.c+84 -1440 replies
5/5forcedeth: timer overhauldrivers/net/forcedeth.c+75 -1190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] forcedeth: several proposed updates for testing

The 'fe-lock' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git fe-lock

contains the following changes that I would like to get tested:

[netdrvr] forcedeth: make NAPI unconditional [netdrvr] forcedeth: interrupt handling cleanup [netdrvr] forcedeth: process TX completions using NAPI [netdrvr] forcedeth: internal simplification and cleanups [netdrvr] forcedeth: timer overhaul

These are intended for feedback and testing, NOT for merging.

The goals of these changes are:
* move the driver towards a more sane, simple, easy to verify locking setup -- irq handler would often acquire/release the lock twice for each interrupt -- and hopefully

* to eliminate a rarely used, apparently fragile locking scheme that includes heavy use of disable_irq(). this tool is most often employed during NIC reset/reconfiguration, so satisfying this goal implies changing the way NIC reset and config are accomplished.

Miscellaneous notes:
* using the new napi_struct stuff in net-2.6.24, the TX completion process has been moved to a -separate- NAPI polling channel. thus there are now two napi_structs, one for RX and one for TX, independent of each other.

* I feel TX NAPI is a useful tool, because it provides an independent TX process control point and system load feedback point.
Thus I felt this was slightly superior to tasklets.

* But who knows if this is a good idea? :) I am interested in feedback and criticism on this issue.