From owner-freebsd-net Thu Feb 8 19: 0:59 2001 Delivered-To: freebsd-net@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 5F5E337B491 for ; Thu, 8 Feb 2001 19:00:42 -0800 (PST) Received: from [207.76.207.169] (PBG3.whistle.com [207.76.207.169]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id SAA93475; Thu, 8 Feb 2001 18:58:08 -0800 (PST) Mime-Version: 1.0 X-Sender: mark@207.76.206.1 Message-Id: In-Reply-To: <200102090209.VAA60712@khavrinen.lcs.mit.edu> References: <200102090102.f19125x06386@iguana.aciri.org> <200102090209.VAA60712@khavrinen.lcs.mit.edu> Date: Thu, 8 Feb 2001 18:58:11 -0800 To: Garrett Wollman From: Mark Peek Subject: Re: potential infinite loop in network device drivers Cc: net@FreeBSD.ORG, Luigi Rizzo Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 9:09 PM -0500 2/8/01, Garrett Wollman wrote: >One possible right way to deal with this is to get rid of the >two-level interrupt scheme (for fast interfaces at least) and push the >packets all the way through the network stack. This will ensure that >if packets are arriving faster than we can handle them, they will be >dropped by the network interface with an ``insufficient resources'' >error. > >Another possible right way to deal with this is to move all network >processing into the lower level, and poll round-robin for packets >(with network interrupts disabled) until all network interfaces are >finished (or we need to give the user a time slice). > >Both techniques were described in a paper by Jeff Mogul (then at DEC >in Palo Alto) about five years ago; I have a physical copy of the >paper buried somewhere in my office. Is this the paper you were referring to? Mark --------- Mark Peek Director of Internet Technology IBM Global Small Business/Whistle Communications Work: (650) 577-7052 Email: mark@whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message