From owner-freebsd-net@FreeBSD.ORG Sun Apr 11 09:14:58 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 0CC4B16A4CF; Sun, 11 Apr 2004 09:14:58 -0700 (PDT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCE2343D54; Sun, 11 Apr 2004 09:14:57 -0700 (PDT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i3BGEvgd012010; Sun, 11 Apr 2004 09:14:57 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i3BGEveV012009; Sun, 11 Apr 2004 09:14:57 -0700 (PDT) (envelope-from rizzo) Date: Sun, 11 Apr 2004 09:14:57 -0700 From: Luigi Rizzo To: Ruslan Ermilov Message-ID: <20040411091457.B10991@xorpc.icir.org> References: <20040409164724.GD2461@ip.net.ua> <20040409105503.A35357@xorpc.icir.org> <20040409183117.GA3431@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20040409183117.GA3431@ip.net.ua>; from ru@freebsd.org on Fri, Apr 09, 2004 at 09:31:17PM +0300 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:14:58 -0000 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. ;) 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. cheers luigi > > Cheers, > -- > Ruslan Ermilov > ru@FreeBSD.org > FreeBSD committer