Date: Fri, 31 Aug 2012 13:17:22 +0100 From: Marcel Moolenaar <marcel@xcllnt.net> To: PseudoCylon <moonlightakkiy@yahoo.ca> Cc: freebsd-net@freebsd.org, Anuranjan Shukla <anshukla@juniper.net> Subject: Re: Proposal for changes to network device drivers and network stack (RFC) Message-ID: <8B6CCAD8-AFC8-46A3-A719-DDCDF5123984@xcllnt.net> In-Reply-To: <CAFZ_MYJFK0-OC1HR=C4NePeTfDVJz1VnJi=Cj2buxbDw_FinCg@mail.gmail.com> References: <CAFZ_MYJFK0-OC1HR=C4NePeTfDVJz1VnJi=Cj2buxbDw_FinCg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 28, 2012, at 10:24 AM, PseudoCylon <moonlightakkiy@yahoo.ca> wrote: > Wouldn't using prepossessor macro or hooking be more flexible? (Could > support multiple functionality.) Macros make it impossible to treat ifnet as an opaque type. As such, it won't be possible to havr a single pre-compiled driver that can work with different network stacks. It's definitely been on our minds to make it possible to use macros for performance reasons when ABI stability is not a concern, but wanted to focus on ABI stability first. FYI, -- Marcel Moolenaar marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B6CCAD8-AFC8-46A3-A719-DDCDF5123984>