From owner-freebsd-stable Wed Jan 8 9:12:26 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1672A37B401 for ; Wed, 8 Jan 2003 09:12:25 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3835D43E4A for ; Wed, 8 Jan 2003 09:12:24 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h08HCF1e076083; Wed, 8 Jan 2003 10:12:16 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 08 Jan 2003 10:10:56 -0700 (MST) Message-Id: <20030108.101056.91094562.imp@bsdimp.com> To: gallatin@cs.duke.edu Cc: freebsd-stable@FreeBSD.ORG Subject: Re: wi0 and mtu setting [bad idea] From: "M. Warner Losh" In-Reply-To: <15900.23286.323707.772202@grasshopper.cs.duke.edu> References: <15897.56408.793022.131019@grasshopper.cs.duke.edu> <20030108.095214.36936663.imp@bsdimp.com> <15900.23286.323707.772202@grasshopper.cs.duke.edu> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <15900.23286.323707.772202@grasshopper.cs.duke.edu> Andrew Gallatin writes: : Yes, you just override SIOCSIFMTU in your driver's ioctl. See : sys/dev/bge/if_bge.c for an in-tree example. That's so obvious that I'd not even thought about doing that... :-( Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message