svn commit: r345151 - head/sys/net

Kyle Evans kevans at freebsd.org
Fri Mar 15 17:11:30 UTC 2019


On Fri, Mar 15, 2019 at 12:04 PM Rodney W. Grimes
<freebsd at gndrsh.dnsmgr.net> wrote:
>
> > On 14 Mar 2019, at 19:48, Kyle Evans wrote:
> >
> > > Author: kevans
> > > Date: Thu Mar 14 19:48:43 2019
> > > New Revision: 345151
> > > URL: https://svnweb.freebsd.org/changeset/base/345151
> > >
> > > Log:
> > >   ether_fakeaddr: Use 'b' 's' 'd' for the prefix
> > >
> > >   This has the advantage of being obvious to sniff out the designated
> > > prefix
> > >   by eye and it has all the right bits set. Comment stolen from ffec.
> > >
> > >   I've removed bryanv@'s pending question of using the FreeBSD OUI
> > > range --
> > >   no one has followed up on this with a definitive action, and there's
> > > no
> > >   particular reason to shoot for it and the administrative overhead
> > > that comes
> > >   with deciding exactly how to use it.
> >
> > Yay.  iflib_gen_mac() has already thought kind-of similar and just took
> > the entire(?) FreeBSD space for doing the same.  That code should be
> > merged as well.
> >
> > Bhyve is using a good chunk from the FreeBSD allocation; see
> > sys/net/ieee_oui.h also for allocation guidelines (if I don?t
> > misremember).
> >
> > The fact that it might need figuring out should not prevent us from
> > doing it right .. the third time .. maybe .. this time?
> >
> > epair(4) is yet another one of the cloned interfaces which does magic
> > for the ethernet addresses, not sure what else.
>
> Yes yes yes please!  Can we get the OUI assigning code collapsed to
> one place, though it well need to come in dependent on a complex set
> of options, or perhaps just INET and/or INET6 should drag it in.
>

For you and anyone else that wants to participate, I opened up
https://reviews.freebsd.org/D19587 for this effort last night-ish to
hash out the details.

Thanks,

Kyle Evans


More information about the svn-src-head mailing list