cvs commit: src/sys/net netisr.c
Robert Watson
rwatson at FreeBSD.org
Fri Oct 3 11:27:25 PDT 2003
rwatson 2003/10/03 11:27:25 PDT
FreeBSD src repository
Modified files:
sys/net netisr.c
Log:
When direct dispatching an netisr (net.isr.enable=1), if there are already
any queued packets for the isr, process those packets before the newly
submitted packet, maintaining ordering of all packets being delivered
to the netisr. Remove the bypass counter since we don't bypass anymore.
Leave the comment about possible problems and options since later
performance optimization may change the strategy for addressing ordering
problems here.
Specifically, this maintains the strong isr ordering guarantee; additional
parallelism and lower latency may be possible by moving to weaker
guarantees (per-interface, for example). We will probably at some point
also want to remove the one instance netisr dispatch limit currently
enforced by a mutex, but it's not clear that's 100% safe yet, even in
the netperf branch.
Reviewed by: sam, others
Revision Changes Path
1.7 +21 -13 src/sys/net/netisr.c
More information about the cvs-src
mailing list