From owner-cvs-src Mon Mar 24 21:48:19 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2D2137B407 for ; Mon, 24 Mar 2003 21:48:14 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id B993F43F93 for ; Mon, 24 Mar 2003 21:48:12 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 20675 invoked from network); 25 Mar 2003 05:48:11 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 25 Mar 2003 05:48:11 -0000 X-pair-Authenticated: 209.68.2.70 Date: Mon, 24 Mar 2003 23:44:45 -0600 (CST) From: Mike Silbersack To: Mike Silbersack Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options src/sys/netinet ip_output.c In-Reply-To: <200303250545.h2P5j5PM008552@repoman.freebsd.org> Message-ID: <20030324234234.T6129@odysseus.silby.com> References: <200303250545.h2P5j5PM008552@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-26.1 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG FWIW, the two drivers I tested this with (if_xl and if_sis) both flunk. if_xl tries to fix the situation, but fails, and if_sis goes totally weird, eating mbufs and rendering the interface unuseable. I'll test more interfaces once I have these two fixed. Mike "Silby" Silbersack On Mon, 24 Mar 2003, Mike Silbersack wrote: > silby 2003/03/24 21:45:05 PST > > FreeBSD src repository > > Modified files: > sys/conf options > sys/netinet ip_output.c > Log: > Add the MBUF_FRAG_TEST option. When compiled in, this option > allows you to tell ip_output to fragment all outgoing packets > into mbuf fragments of size net.inet.ip.mbuf_frag_size bytes. > This is an excellent way to test if network drivers can properly > handle long mbuf chains being passed to them. > > net.inet.ip.mbuf_frag_size defaults to 0 (no fragmentation) > so that you can at least boot before your network driver dies. :) > > Revision Changes Path > 1.383 +1 -0 src/sys/conf/options > 1.179 +30 -0 src/sys/netinet/ip_output.c > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message