Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2010 23:02:46 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r202423 - user/luigi/ipfw3-head/sys/netinet/ipfw
Message-ID:  <201001152302.o0FN2kOW015723@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001152302.o0FN2kOW015723>