Subject: Re: MTU
To: None <bouyer@antioche.lip6.fr>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-pmax
Date: 12/07/2000 22:38:27
In <20001207134410.A17531@antioche.lip6.fr>
bouyer@antioche.lip6.fr wrote:

> On Thu, Dec 07, 2000 at 08:53:41PM +0900, Izumi Tsutsui wrote:
> > sys/dev/ic/lance.c does not handle SIOCSIFMTU ioctl.
> > I guess it is easy to add it. (not tested)
> > Many other drivers do not support the ioctl because
> > it might be used by few people, I think :-)
> 
> Isn't this the kind of code that should be in if_ethersubr.c ?

Hmm, sys/net/if.c:ifioctl() has an entry for SIOCSIFMTU
and it calls (*ifp->if_ioctl)(). It seems some device
might have some quirks for it, but not sure.
Should they be handled in MI ifioctl()?

(IIRC, SIOC[GS]IFMTU ioctls were originally added on FreeBSD.)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp