Re: Modularizing the network stack with a driver API

From: Justin Hibbits <jhibbits_at_FreeBSD.org>
Date: Wed, 21 Dec 2022 15:05:00 UTC
On Wed, 21 Dec 2022 09:58:05 -0500
Ed Maste <emaste@freebsd.org> wrote:

> On Wed, 23 Nov 2022 at 14:34, Justin Hibbits <jhibbits@freebsd.org>
> wrote:
> >
> > Most of the work I've done in the recent port has been purely
> > mechanical and scripted, fixing build failures along the way.  The
> > current work in progress can be found in my personal repository at
> > https://github.com/chmeeedalf/freebsd/tree/drvapi .  The goal of
> > this first step is to get things started, address design feedback,
> > and move forward in main.  
> 
> Thanks for picking up this long-neglected effort.
> 
> One comment, let's make sure that documentation gets updated as we go
> - right now ifnet(9) documents struct ifnet's internals and makes no
> reference to any of the accessor functions. The man page likely needs
> significant work at some point as it's already quite long, but we
> should at least mention that direct access to ifnet internals is
> undesired, and list the accessors.

I'll be doing that once I finish the first round of driver updates, so
expect updates to that in early to mid January.  It'll be a significant
update, so will need time and probably lots of review.

- Justin