svn commit: r202423 - user/luigi/ipfw3-head/sys/netinet/ipfw
Luigi Rizzo
luigi at FreeBSD.org
Fri Jan 15 23:02:46 UTC 2010
Author: luigi
Date: Fri Jan 15 23:02:46 2010
New Revision: 202423
URL: http://svn.freebsd.org/changeset/base/202423
Log:
update docs
Modified:
user/luigi/ipfw3-head/sys/netinet/ipfw/dummynet.txt
Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/dummynet.txt
==============================================================================
--- user/luigi/ipfw3-head/sys/netinet/ipfw/dummynet.txt Fri Jan 15 23:02:19 2010 (r202422)
+++ user/luigi/ipfw3-head/sys/netinet/ipfw/dummynet.txt Fri Jan 15 23:02:46 2010 (r202423)
@@ -133,33 +133,22 @@ KERNEL REPRESENTATION
DELETE: manual, see new_sch_inst
- +--------------+
- +------------+ ptr_sched | fsk_list |
- | NEW_FSK |--------------->| NEW_SCHK |<----.
- | refcnt | | new_pipe | |
- | sch_chain | +--------------+ |
- +------------+ | hash table | |
- ^ | (m1) | |
- | +--------------+ |
- | | ..... \ |
- -----------+ ... v \ |
- | NEW_QUEUE |<-----| -------------- ` |
- +-----------+ | | | | |
- .... | | new_sch_inst | | |
- -----------+ | | | | |
- | NEW_QUEUE |<-----| -------------- | |
- +-----------+ | v |
- | .--------------. -------------- |
- | | hash table | | | |
- | | (m2) + |<-----| NEW_SCH_INST |_|
- | | new_sch_inst | | ql_head |
- | `--------------' --------------
- | ^
- | |
- `---------------------------------'
-
-Note that the hash table m2 is not mandatory, a scheduler instance
-can use its own struct to store its queues
+ fshash schedhash
+ +---------------+ sched +--------------+
+ | sched-------------------->| NEW_SCHK|
+ -<----*sch_chain |<-----------------*fsk_list |
+ |NEW_FSK |<----. | [new_pipe] |
+ +---------------+ | +--------------+
+ |qht (hash) | | | siht(hash) |
+ | [new_queue] | | | [new_si] |
+ | [new_queue] | | | [new_si] |
+ | ... | | | ... |
+ | +---------+ | | | +---------+ |
+ | |new_queue| | | | |new_si | |
+ | | fs *----------' | | | |
+ | | si *---------------------->| | |
+ | +---------+ | | +---------+ |
+ +---------------+ +--------------+
The following global data structures contain all
schedulers and flowsets.
More information about the svn-src-user
mailing list