Re: [PATCH v4 1/4] virtio-net: disable delayed refill when pausing rx

2025-04-20 Thread Jason Wang
On Thu, Apr 17, 2025 at 3:29 PM Bui Quang Minh wrote: > > When pausing rx (e.g. set up xdp, xsk pool, rx resize), we call > napi_disable() on the receive queue's napi. In delayed refill_work, it > also calls napi_disable() on the receive queue's napi. When > napi_disable() is called on an already

[PATCH v4 1/4] virtio-net: disable delayed refill when pausing rx

2025-04-17 Thread Bui Quang Minh
When pausing rx (e.g. set up xdp, xsk pool, rx resize), we call napi_disable() on the receive queue's napi. In delayed refill_work, it also calls napi_disable() on the receive queue's napi. When napi_disable() is called on an already disabled napi, it will sleep in napi_disable_locked while still