From owner-freebsd-pf@FreeBSD.ORG Thu Sep 16 04:05:24 2004 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 674) id 400E816A4D4; Thu, 16 Sep 2004 04:05:24 +0000 (GMT) Delivered-To: mlaier@vampire.homelinux.org Received: (qmail 42370 invoked by alias); 13 Jun 2004 04:54:57 -0000 Delivered-To: max@vampire.homelinux.org Received: (qmail 42367 invoked from network); 13 Jun 2004 04:54:57 -0000 Received: from moutng.kundenserver.de (212.227.126.187) by p50839ddf.dip.t-dialin.net with SMTP; 13 Jun 2004 04:54:57 -0000 Received: from [212.227.126.148] (helo=mxng05.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BZN1N-0004g0-00 for max@vampire.homelinux.org; Sun, 13 Jun 2004 06:55:05 +0200 Received: from [206.53.239.180] (helo=turing.freelists.org) by mxng05.kundenserver.de with esmtp (Exim 3.35 #1) id 1BZN1M-0004kR-00 for max@love2party.net; Sun, 13 Jun 2004 06:55:05 +0200 Received: from localhost (localhost [127.0.0.1])ESMTP id 4072172C2F4; Sat, 12 Jun 2004 23:35:08 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25346-07; Sat, 12 Jun 2004 23:35:08 -0500 (EST) Received: from turing (localhost [127.0.0.1])ESMTP id ABBDF72C3B7; Sat, 12 Jun 2004 23:35:07 -0500 (EST) Received: with ECARTIS (v1.0.0; list pf4freebsd); Sat, 12 Jun 2004 23:34:51 -0500 (EST) X-Original-To: pf4freebsd@freelists.org Delivered-To: pf4freebsd@freelists.org Received: from localhost (localhost [127.0.0.1])ESMTP id 88CE172C2F4 for ; Sat, 12 Jun 2004 23:34:51 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26506-85 for ; Sat, 12 Jun 2004 23:34:51 -0500 (EST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171])ESMTP id EB0F172C2CC for ; Sat, 12 Jun 2004 23:34:50 -0500 (EST) Received: from [212.227.126.209] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BZMz4-00022G-00; Sun, 13 Jun 2004 06:52:42 +0200 Received: from [80.131.157.223] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1BZMz3-0004FE-00; Sun, 13 Jun 2004 06:52:42 +0200 From: Max Laier To: current@freebsd.org User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_T39yA0DijV64XFm"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200406130653.39527.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e28873fbe4dbe612ce62ab869898ff08 X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 323 X-ecartis-version: Ecartis v1.0.0 Sender: pf4freebsd-bounce@freelists.org Errors-To: pf4freebsd-bounce@freelists.org X-original-sender: max@love2party.net Precedence: normal X-list: pf4freebsd X-Virus-Scanned: by amavisd-new at freelists.org X-Provags-Forward: max@love2party.net -> max@vampire.homelinux.org X-UID: 439 X-Length: 5666 X-Mailman-Approved-At: Thu, 16 Sep 2004 04:06:09 +0000 cc: pf4freebsd@freelists.org cc: net@freebsd.org Subject: [pf4freebsd] HEADSUP: About to link ALTQ to the build (ABI break) X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.1 Reply-To: pf4freebsd@freelists.org List-Id: Technical discussion and general questions about packet filter (pf) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 16 Sep 2004 04:05:24 -0000 X-Original-Date: Sun, 13 Jun 2004 06:53:30 +0200 X-List-Received-Date: Thu, 16 Sep 2004 04:05:24 -0000 --Boundary-02=_T39yA0DijV64XFm Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline All, as some might know, I recently imported the ALTQ framework with the=20 perspective to replace the existing queueing with this advanced system. Whi= le=20 ALTQ is designed in a fashion to be API compatible with the old "struct=20 ifqueue" it does break the ABI by chaning the size of ifnet.if_snd! I am now ready to commit this change. During the first commit I will not=20 change the queueing at all. It will only change the if_snd member of struct= =20 ifnet and bring in new macros and some build glue. In a next step I will convert the various if_output routines (in if_*subr.c= )=20 to use the new ENQUEUE/HANDOFF operations. The final step then is to convert the network drivers to use the new DEQUEU= E=20 operations and to flip the per-driver flag that indicates that the driver i= s=20 ready for ATLQ. The new DEQUEUE operation also bring along some extra candy in terms of=20 reducing locking overhead: It will now be possible to do "bulk dequeues" i.= e.=20 transfering more than one packet from the system to the driver with only on= e=20 lock operation. The amount of packets transfered at once is tuneable.=20 Enabling ALTQ on a device will disable bulk dequeue to avoid irritations wi= th=20 the timing, though. The patch is at: http://people.freebsd.org/~mlaier/altq.patch I plan to commit this Sunday night(CEST) provided that no problems occure w= ith=20 the newly merged socket locking et al. =2D-=20 Best regards, | mlaier@freebsd.org Max Laier | ICQ #67774661 http://pf4freebsd.love2party.net/ | mlaier@EFnet --Boundary-02=_T39yA0DijV64XFm Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAy93TXyyEoT62BG0RAmc1AJ4uAFXap5L+YQRT837vwz09jwyL5wCdEs/I QIpAkX/2yjEiexOQELuVHSE= =C+rD -----END PGP SIGNATURE----- --Boundary-02=_T39yA0DijV64XFm--