[JNPR] Network stack as a module (RFC)
stevek at juniper.net
Mon Nov 18 22:01:56 UTC 2013
On Mon, 18 Nov 2013 12:23:41 -0800
Adrian Chadd <adrian at freebsd.org> wrote:
> On 18 November 2013 11:20, Steve Kiernan <stevek at juniper.net> wrote:
> > Sure, that's fine with me. I had been considering back and forth about
> > whether or not to add NETSTACK to the NIC drivers and the like.
> > I went with adding it in for completeness sake, but I'm good with not
> > having to add it for drivers.
> ok. let's do that.
> So ideally (!), the aim is to make it so it's both selectable as
> buildable _and_ loadable as a module, right?
> The drivers will ideally treat the if/ifnet stuff as opaque as
> possible and use methods/macros to access things.
> (if they use methods, then we can turn some of them into macros for
> source builds, but have an option to turn them into actual methods
> that can be indirected easily enough for what you need.)
> How's that sound?
Sounds like a good plan to me.
Stephen J. Kiernan
Juniper Networks, Inc.
More information about the freebsd-net