From owner-freebsd-net Tue Mar 26 23: 0: 9 2002 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id E3CA637B41A for ; Tue, 26 Mar 2002 23:00:02 -0800 (PST) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id WAA52062; Tue, 26 Mar 2002 22:48:55 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g2R6mXl39332; Tue, 26 Mar 2002 22:48:33 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200203270648.g2R6mXl39332@arch20m.dellroad.org> Subject: Re: ip_output and ENOBUFS In-Reply-To: <20020326223947.B16450@iguana.icir.org> "from Luigi Rizzo at Mar 26, 2002 10:39:48 pm" To: Luigi Rizzo Date: Tue, 26 Mar 2002 22:48:33 -0800 (PST) Cc: freebsd-net@freebsd.org X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Luigi Rizzo writes: > As a matter of fact, i even implemented a similar thing in dummynet, > and if device drivers call if_tx_rdy() when they complete a > transmission, then the tx interrupt can be used to clock > packets out of the dummynet pipes. A patch for if_tun.c is below, So if_tx_rdy() sounds like my if_get_next().. guess you already did that :-) Is if_tx_rdy() something that can be used generally or does it only work with dummynet ? -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message