svn commit: r357051 - head/sys/dev/bge

Ryan Stone rysto32 at gmail.com
Fri Jan 24 01:18:05 UTC 2020


On Thu, Jan 23, 2020 at 6:05 PM Gleb Smirnoff <glebius at freebsd.org> wrote:
>
> On Thu, Jan 23, 2020 at 02:17:33PM -0500, Ryan Stone wrote:
> R> What is a driver's responsibility now for entering/leaving the net epoch now?
>
> For drivers that are 'special', entering the net epoch is necessary. Special
> usually means running if_input outside network interrupt context.
>
> However, there is plan to generalize entering/exiting epoch for taskqueues
> and callouts.

Why on earth is it done that way rather than putting the network epoch
enter/exit in ether_input?  I'm with Ian; this sounds like a huge
layering violation.


More information about the svn-src-all mailing list