From owner-freebsd-net Sun Jan 31 22:42:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA01130 for freebsd-net-outgoing; Sun, 31 Jan 1999 22:42:33 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA01125 for ; Sun, 31 Jan 1999 22:42:32 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id WAA20617; Sun, 31 Jan 1999 22:42:28 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma020615; Sun, 31 Jan 99 22:42:04 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id WAA25830; Sun, 31 Jan 1999 22:42:04 -0800 (PST) From: Archie Cobbs Message-Id: <199902010642.WAA25830@bubba.whistle.com> Subject: Re: drop packets? In-Reply-To: <36B53717.2D4B7C8F@research.nokia.com> from Shi Yu at "Feb 1, 99 01:09:43 pm" To: yu.shi@research.nokia.com Date: Sun, 31 Jan 1999 22:42:04 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Shi Yu writes: > When the IF output queue is full, the if_output simply drop the > packet!?? What else are you going to do with it? :-) > If the IF output queue is often full, why ip stack does not get feedback > from the driver and buffer the packets so that less packets are dropped > ? I think ip_output() will return ENOBUFS, if anybody's listening. Anyway, the flow control problem was explicitly left *out* of the specification of IP packet delivery. IP packet delivery is only "best effort".. and that's exactly what you get. Higher layer protocols are supposed to deal with flow control themselves. For example, TCP. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message