Re: [PATCH net-next v5 3/4] virtio-net: Map NAPIs to queues
From: Jakub Kicinski
Date: Wed Mar 05 2025 - 21:21:35 EST
On Wed, 5 Mar 2025 17:42:35 -0800 Joe Damato wrote:
> Two spots that come to mind are:
> - in virtnet_probe where all the other netdev ops are plumbed
> through, or
> - above virtnet_disable_queue_pair which I assume a future queue
> API implementor would need to call for ndo_queue_stop
I'd put it next to some call which will have to be inspected.
Normally we change napi_disable() to napi_disable_locked()
for drivers using the instance lock, so maybe on the napi_disable()
line in the refill?