From owner-freebsd-current@FreeBSD.ORG Sun Jun 13 11:26:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D8DB16A4CE; Sun, 13 Jun 2004 11:26:15 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id D964043D39; Sun, 13 Jun 2004 11:26:14 +0000 (GMT) (envelope-from max@love2party.net) 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 Date: Sun, 13 Jun 2004 06:53:30 +0200 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 cc: pf4freebsd@freelists.org cc: net@freebsd.org Subject: HEADSUP: About to link ALTQ to the build (ABI break) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2004 11:26:15 -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--