From owner-freebsd-net@FreeBSD.ORG Sat Sep 15 19:30:24 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6B6B16A419 for ; Sat, 15 Sep 2007 19:30:24 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outS.internet-mail-service.net (outS.internet-mail-service.net [216.240.47.242]) by mx1.freebsd.org (Postfix) with ESMTP id 8153313C46C for ; Sat, 15 Sep 2007 19:30:24 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sat, 15 Sep 2007 12:30:20 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 940A51263C4; Sat, 15 Sep 2007 12:30:19 -0700 (PDT) Message-ID: <46EC32CB.2030202@elischer.org> Date: Sat, 15 Sep 2007 12:30:19 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: karels@karels.net References: <200709151850.l8FIo0na042120@redrock.karels.net> In-Reply-To: <200709151850.l8FIo0na042120@redrock.karels.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Net , David Christensen , Jack Vogel Subject: Re: BCE on FreeBSD and oversized packet acceptance. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2007 19:30:24 -0000 Mike Karels wrote: >>> Secure Computing (my employer) has a modification that seems reasonable >>> to me (well, I guess I wouldn't have done it otherwise). We adopted the >>> existing but unused JUMBO_MTU capability flag, and, if enabled, instructs >>> the driver to receive jumbo frames according to the hardware limits. With >>> that flag, the MTU may be 1500, but the driver is still instructed to >>> receive jumbo frames even without sending them. The reason for this >>> is the lack of a way to negotiate the use of jumbo frames per host >>> (as far as I know; such a thing would certainly be useful, though). > >> certainly the adoption of that flag is reasonable. >> is it settable from ifconfig? >> it's probably better than saying "enable jumbo reception >> if mtu is greater than 1600 bytes" or whatever.. > > Yes, the flag is settable with ifconfig. It expands the "accept > what is convenient" to "and also accept whatever is reasonable > for jumbo" (for this NIC). > > Mike It would be interesting to get patches to look at.... Does it require changing all the drivers? I assume that if so, you'd only patch those you are interested in.