[PATCH] Add 40g media types

John Baldwin jhb at freebsd.org
Mon Apr 9 16:34:50 UTC 2012


On Thursday, April 05, 2012 5:47:11 pm Bjoern A. Zeeb wrote:
> On 5. Apr 2012, at 18:47 , John Baldwin wrote:
> 
> Hi,
> 
> > The patch below adds 40G media types for what I think are the "common" media 
> > types we would see on FreeBSD (could be wrong).   One caveat though, we are 
> > running awfully low on bits now, and we don't have enough room for the 100G 
> > media types after this.  Not sure what we want to do about that. :(
> 
> Can't you also see a bright future for FDDI and Token Ring and the bling of
> a Danish axe?  Yeah, seems another experiment has proven to be going better
> than expected a couple of decades ago.
> 
> At this point I'd hope someone would get out the right MIB and tell us here's
> the right thing to do...

I was hoping someone else would suggest that. :)  I pondered having an IFM_ETHER2,
but that would be fugly.  It is also convenient that the media word is stable
across major versions.  However, it seems to me if we want to reinvent this we
should actually convert this to a struct instead of packing everything into a
single word, and have the struct have various fields, and possibly split "speed"
from "cable type".

-- 
John Baldwin


More information about the freebsd-net mailing list