From owner-svn-src-head@FreeBSD.ORG Tue Mar 2 18:52:05 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97D12106566C; Tue, 2 Mar 2010 18:52:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 1B54A8FC18; Tue, 2 Mar 2010 18:52:04 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o22IpUYT018288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Mar 2010 20:51:30 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o22IpUCa036971; Tue, 2 Mar 2010 20:51:30 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o22IpUx7036970; Tue, 2 Mar 2010 20:51:30 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 2 Mar 2010 20:51:30 +0200 From: Kostik Belousov To: Luigi Rizzo Message-ID: <20100302185130.GC2489@deviant.kiev.zoral.com.ua> References: <201003021740.o22HemPA096942@svn.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tauoZ0QFNrdllat7" Content-Disposition: inline In-Reply-To: <201003021740.o22HemPA096942@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r204591 - in head: sbin/ipfw sys/conf sys/net sys/netinet sys/netinet/ipfw sys/netinet/ipfw/test X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 18:52:05 -0000 --tauoZ0QFNrdllat7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 02, 2010 at 05:40:48PM +0000, Luigi Rizzo wrote: > Author: luigi > Date: Tue Mar 2 17:40:48 2010 > New Revision: 204591 > URL: http://svn.freebsd.org/changeset/base/204591 >=20 > Log: > 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. > =20 > 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. > =20 > 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. > =20 > Some test code is also present (in sys/netinet/ipfw/test) that > lets you build and test schedulers in userland. > =20 > 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. > =20 > 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. > =20 > 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. >=20 > Added: > head/sys/netinet/ipfw/dn_heap.c (contents, props changed) > head/sys/netinet/ipfw/dn_heap.h (contents, props changed) > head/sys/netinet/ipfw/dn_sched.h (contents, props changed) > head/sys/netinet/ipfw/dn_sched_fifo.c (contents, props changed) > head/sys/netinet/ipfw/dn_sched_qfq.c (contents, props changed) > head/sys/netinet/ipfw/dn_sched_rr.c (contents, props changed) > head/sys/netinet/ipfw/dn_sched_wf2q.c (contents, props changed) > head/sys/netinet/ipfw/dummynet.txt (contents, props changed) > head/sys/netinet/ipfw/ip_dn_glue.c (contents, props changed) > head/sys/netinet/ipfw/ip_dn_io.c (contents, props changed) > head/sys/netinet/ipfw/ip_dn_private.h (contents, props changed) > head/sys/netinet/ipfw/test/ > head/sys/netinet/ipfw/test/Makefile (contents, props changed) > head/sys/netinet/ipfw/test/dn_test.h (contents, props changed) > head/sys/netinet/ipfw/test/main.c (contents, props changed) > head/sys/netinet/ipfw/test/mylist.h (contents, props changed) > head/sys/netinet/ipfw/test/test_dn_heap.c (contents, props changed) > head/sys/netinet/ipfw/test/test_dn_sched.c (contents, props changed) > Modified: > head/sbin/ipfw/Makefile > head/sbin/ipfw/altq.c > head/sbin/ipfw/dummynet.c > head/sbin/ipfw/ipfw.8 > head/sbin/ipfw/ipfw2.c > head/sbin/ipfw/ipfw2.h > head/sbin/ipfw/main.c > head/sys/conf/files > head/sys/net/if_bridge.c > head/sys/net/if_ethersubr.c > head/sys/netinet/ip_dummynet.h > head/sys/netinet/ip_fw.h > head/sys/netinet/ipfw/ip_dummynet.c > head/sys/netinet/ipfw/ip_fw2.c > head/sys/netinet/ipfw/ip_fw_dynamic.c > head/sys/netinet/ipfw/ip_fw_log.c > head/sys/netinet/ipfw/ip_fw_pfil.c > head/sys/netinet/ipfw/ip_fw_private.h > head/sys/netinet/ipfw/ip_fw_sockopt.c > head/sys/netinet/ipfw/ip_fw_table.c >=20 > Modified: head/sbin/ipfw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sbin/ipfw/Makefile Tue Mar 2 17:34:11 2010 (r204590) > +++ head/sbin/ipfw/Makefile Tue Mar 2 17:40:48 2010 (r204591) > @@ -3,7 +3,6 @@ > PROG=3D ipfw > SRCS=3D ipfw2.c dummynet.c ipv6.c main.c nat.c altq.c > WARNS?=3D 2 > -DPADD=3D ${LIBUTIL} > LDADD=3D -lutil > MAN=3D ipfw.8 Removal of DPADD is most likely regression ? --tauoZ0QFNrdllat7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkuNXjEACgkQC3+MBN1Mb4jZBgCgp7m5KaRtYu6D1GlkAHvafS/o QvAAnjgQjzC8b4RO3IMtaY5THVLfIaYC =Xz78 -----END PGP SIGNATURE----- --tauoZ0QFNrdllat7--