Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 17:40:48 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/ipfw Makefile altq.c dummynet.c ipfw.8 ipfw2.c ipfw2.h main.c src/sys/conf files src/sys/net if_bridge.c if_ethersubr.c src/sys/netinet ip_dummynet.h ip_fw.h src/sys/netinet/ipfw dn_heap.c dn_heap.h dn_sched.h ...
Message-ID:  <201003030842.o238gQGb089831@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2010-03-02 17:40:48 UTC

  FreeBSD src repository

  Modified files:
    sbin/ipfw            Makefile altq.c dummynet.c ipfw.8 ipfw2.c 
                         ipfw2.h main.c 
    sys/conf             files 
    sys/net              if_bridge.c if_ethersubr.c 
    sys/netinet          ip_dummynet.h ip_fw.h 
    sys/netinet/ipfw     ip_dummynet.c ip_fw2.c ip_fw_dynamic.c 
                         ip_fw_log.c ip_fw_pfil.c ip_fw_private.h 
                         ip_fw_sockopt.c ip_fw_table.c 
  Added files:
    sys/netinet/ipfw     dn_heap.c dn_heap.h dn_sched.h 
                         dn_sched_fifo.c dn_sched_qfq.c 
                         dn_sched_rr.c dn_sched_wf2q.c 
                         dummynet.txt ip_dn_glue.c ip_dn_io.c 
                         ip_dn_private.h 
    sys/netinet/ipfw/test Makefile dn_test.h main.c mylist.h 
                          test_dn_heap.c test_dn_sched.c 
  Log:
  SVN rev 204591 on 2010-03-02 17:40:48Z by luigi
  
  Bring in the most recent version of ipfw and dummynet, developed
  and tested over the past two months in the ipfw3-head branch.  This
  also happens to be the same code available in the Linux and Windows
  ports of ipfw and dummynet.
  
  The major enhancement is a completely restructured version of
  dummynet, with support for different packet scheduling algorithms
  (loadable at runtime), faster queue/pipe lookup, and a much cleaner
  internal architecture and kernel/userland ABI which simplifies
  future extensions.
  
  In addition to the existing schedulers (FIFO and WF2Q+), we include
  a Deficit Round Robin (DRR or RR for brevity) scheduler, and a new,
  very fast version of WF2Q+ called QFQ.
  
  Some test code is also present (in sys/netinet/ipfw/test) that
  lets you build and test schedulers in userland.
  
  Also, we have added a compatibility layer that understands requests
  from the RELENG_7 and RELENG_8 versions of the /sbin/ipfw binaries,
  and replies correctly (at least, it does its best; sometimes you
  just cannot tell who sent the request and how to answer).
  The compatibility layer should make it possible to MFC this code in a
  relatively short time.
  
  Some minor glitches (e.g. handling of ipfw set enable/disable,
  and a workaround for a bug in RELENG_7's /sbin/ipfw) will be
  fixed with separate commits.
  
  CREDITS:
  This work has been partly supported by the ONELAB2 project, and
  mostly developed by Riccardo Panicucci and myself.
  The code for the qfq scheduler is mostly from Fabio Checconi,
  and Marta Carbone and Francesco Magno have helped with testing,
  debugging and some bug fixes.
  
  Revision  Changes      Path
  1.23      +0 -1        src/sbin/ipfw/Makefile
  1.3       +1 -0        src/sbin/ipfw/altq.c
  1.13      +514 -328    src/sbin/ipfw/dummynet.c
  1.235     +80 -62      src/sbin/ipfw/ipfw.8
  1.152     +161 -150    src/sbin/ipfw/ipfw2.c
  1.11      +21 -8       src/sbin/ipfw/ipfw2.h
  1.4       +103 -41     src/sbin/ipfw/main.c
  1.1503    +7 -0        src/sys/conf/files
  1.140     +4 -5        src/sys/net/if_bridge.c
  1.277     +5 -6        src/sys/net/if_ethersubr.c
  1.51      +184 -295    src/sys/netinet/ip_dummynet.h
  1.137     +12 -10      src/sys/netinet/ip_fw.h
  1.1       +550 -0      src/sys/netinet/ipfw/dn_heap.c (new)
  1.1       +191 -0      src/sys/netinet/ipfw/dn_heap.h (new)
  1.1       +170 -0      src/sys/netinet/ipfw/dn_sched.h (new)
  1.1       +120 -0      src/sys/netinet/ipfw/dn_sched_fifo.c (new)
  1.1       +864 -0      src/sys/netinet/ipfw/dn_sched_qfq.c (new)
  1.1       +307 -0      src/sys/netinet/ipfw/dn_sched_rr.c (new)
  1.1       +373 -0      src/sys/netinet/ipfw/dn_sched_wf2q.c (new)
  1.1       +860 -0      src/sys/netinet/ipfw/dummynet.txt (new)
  1.1       +843 -0      src/sys/netinet/ipfw/ip_dn_glue.c (new)
  1.1       +781 -0      src/sys/netinet/ipfw/ip_dn_io.c (new)
  1.1       +387 -0      src/sys/netinet/ipfw/ip_dn_private.h (new)
  1.21      +1807 -1947  src/sys/netinet/ipfw/ip_dummynet.c
  1.40      +52 -14      src/sys/netinet/ipfw/ip_fw2.c
  1.7       +14 -0       src/sys/netinet/ipfw/ip_fw_dynamic.c
  1.8       +2 -0        src/sys/netinet/ipfw/ip_fw_log.c
  1.16      +7 -1        src/sys/netinet/ipfw/ip_fw_pfil.c
  1.11      +27 -0       src/sys/netinet/ipfw/ip_fw_private.h
  1.12      +194 -2      src/sys/netinet/ipfw/ip_fw_sockopt.c
  1.7       +1 -0        src/sys/netinet/ipfw/ip_fw_table.c
  1.1       +50 -0       src/sys/netinet/ipfw/test/Makefile (new)
  1.1       +155 -0      src/sys/netinet/ipfw/test/dn_test.h (new)
  1.1       +636 -0      src/sys/netinet/ipfw/test/main.c (new)
  1.1       +49 -0       src/sys/netinet/ipfw/test/mylist.h (new)
  1.1       +162 -0      src/sys/netinet/ipfw/test/test_dn_heap.c (new)
  1.1       +76 -0       src/sys/netinet/ipfw/test/test_dn_sched.c (new)



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