Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2001 07:56:24 +1000
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        Jonathan Lemon <jlemon@flugsvamp.com>
Cc:        Yar Tikhiy <yar@FreeBSD.ORG>, audit@FreeBSD.ORG, net@FreeBSD.ORG
Subject:   Re: Long ether frames & MTU
Message-ID:  <20010626075624.D95583@gsmx07.alcatel.com.au>
In-Reply-To: <20010625142542.Z33375@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Mon, Jun 25, 2001 at 02:25:42PM -0500
References:  <20010625230255.A11496@comp.chem.msu.su> <20010625142542.Z33375@prism.flugsvamp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2001-Jun-25 14:25:42 -0500, Jonathan Lemon <jlemon@flugsvamp.com> wrote:
>On Mon, Jun 25, 2001 at 11:02:55PM +0400, Yar Tikhiy wrote:
>> Hi there,
>> 
>> While more and more Ethernet NIC drivers start supporting long
>> frames (>1518 bytes), the user/admin still cannot raise MTU on an
>> Ethernet interface above the 1500 byte limit due to outdated code
>> in net/if_ethersubr.c
[patch removed]

>I'm not at all sure how this change will help anything, unless each
>driver alters if_hdrlen.

One benefit is for 802.1Q VLAN support - the existence of lots of
hard-wired values that restrict frames to 1518 bytes makes configuring
VLAN's a pain.  It would be nice if attaching a vlan(4) to a driver that
handled 1522 byte frames resulted in a 1500 byte MTU on the vlan.

>  Drivers which actually are able
>to handle a larger mtu (e.g: 9000 byte Jumbograms) already have to do
>their own checks, and thus don't call this function.

IMHO, it would be nicer if more of the checking was centralised, rather
than each driver repeating the same checks.

Peter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010626075624.D95583>