Re: detaching ethernet interfaces..
Re: detaching ethernet interfaces..
- Subject: Re: detaching ethernet interfaces..
- From: "Justin C. Walker" <email@hidden>
- Date: Fri, 25 Jan 2002 14:52:09 -0800
On Friday, January 25, 2002, at 02:26 PM, Andrew Gallatin wrote:
Justin C. Walker writes:
On Friday, January 25, 2002, at 12:53 PM, Andrew Gallatin wrote:
You mean "un-unloadable", right?
Ooops, yes. My mother always told me to avoid double negatives.. ;)
Yeah; best don't not use them...
OK. Darn. Well, ifnet is not so big & I'd be happy to leak it. I'm
not using any IOKit Network* stuff, so I'm in control & I can leak it
if I need to..
Boy, everyone ought to have your attitude. Apple could sell a lot of
the bigger-memory systems that way :-}.
While I've got your attention:
Do you have any plans to accommodate jumbo frames? It looks like I'm
going to have to somehow override ether_inet_prmod_ioctl() to allow
setting a 9000 byte mtu on my device. For now, I'm just resetting
if_mtu after calling ether_ifattach(), but it would be nice to allow
the user to change the mtu..
Me? Well, it's been discussed. Don't know what Apple's plans are. One
thing I've wanted to see for a long time (Jim) is a better "mbuf
cluster" implementation (Jim) that allows for variable-sized clusters.
This would make support for jumbo frames (and things like FDDI/TR) more
efficient (Jim). It'll have to wait until priorities adjust themselves,
though (Jim).
As for the MTU limit, I wonder if that's worth removing. I've always
been a fan of letting the user punch as many holes in his various feet
as he wishes. The lower layers ought to allow you to experiment without
arbitrarily limiting you. For the nonce, you'll have to do as you
suggest (override).
Regards,
Justin
--
/~\ The ASCII Justin C. Walker, Curmudgeon-at-Large
\ / Ribbon Campaign
X Help cure HTML Email
/ \