Re: [PATCH net] net: keep the NAPI_DISABLE flag while napi is disabled

From: Jakub Kicinski

Date: Sun Sep 27 2026 - 18:41:56 EST


On Sat, 26 Sep 2026 21:47:13 +0200 Maxime Chevallier wrote:
> This seems to be more general than stmmac though, there are lots of
> drivers that create the napi instances in .probe(), so they still live
> outside of .open()/.close(). It was verified by running the following on
> an mvneta board :

Not sure this works, you assume ownership if DISABLE is set but we set
it to start the shutdown, not once we stopped the poller.

We've been tempted to "fix" this multiple times. I'd prefer to fix
drivers.