From owner-freebsd-net@FreeBSD.ORG Sun Apr 11 09:18:14 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D00816A4CE; Sun, 11 Apr 2004 09:18:14 -0700 (PDT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5263143D45; Sun, 11 Apr 2004 09:18:13 -0700 (PDT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i3BGMnTQ081492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Apr 2004 19:22:51 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i3BGI9Cd039376; Sun, 11 Apr 2004 19:18:09 +0300 (EEST) (envelope-from ru) Date: Sun, 11 Apr 2004 19:18:09 +0300 From: Ruslan Ermilov To: Luigi Rizzo Message-ID: <20040411161809.GC38313@ip.net.ua> References: <20040409164724.GD2461@ip.net.ua> <20040409105503.A35357@xorpc.icir.org> <20040409183117.GA3431@ip.net.ua> <20040411091457.B10991@xorpc.icir.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hOcCNbCCxyk/YU74" Content-Disposition: inline In-Reply-To: <20040411091457.B10991@xorpc.icir.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: net@freebsd.org Subject: Re: polling(4) and rl(4) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 16:18:14 -0000 --hOcCNbCCxyk/YU74 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 11, 2004 at 09:14:57AM -0700, Luigi Rizzo wrote: > On Fri, Apr 09, 2004 at 09:31:17PM +0300, Ruslan Ermilov wrote: > ... > > Do you mean it would be okay if I just trimmed the polling support > > in rl(4) to the RX part only? I actually considered doing this, > > just wasn't sure if it is good. ;) >=20 > maybe it's a bit tricky. You'd have to disable rx interrupts, > but keep the tx ones... which makes the call to poll_register > check a few more conditions. >=20 Well, for what I need from rl(4), the per-interface polling(4) control is enough. ;) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --hOcCNbCCxyk/YU74 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAeW/BUkv4P6juNwoRArcCAJ0doHP3RJdDh7T7N6xdXa2A59CwWwCgiCB8 /BfXvIcHOzhKS5oBjXqP0Fo= =g3Wi -----END PGP SIGNATURE----- --hOcCNbCCxyk/YU74--