Hi, I first encountered this issue on Linux 6.18.58 during a multi-threaded TCP receive workload with virtio-net in KVM guests, and then investigated the NAPI/virtqueue completion ordering.
The observed symptom was a persistent RX stall: the RX virtqueue had unconsumed used entries, but notifications were disabled, NAPI had no owner and its watchdog timer was inactive. The receiving TCP threads remained blocked waiting for data. A deterministic KUnit fault-injection test also reproduced the notification-loss ordering using the production NAPI completion APIs and watchdog. The test deliberately delays the old caller until a successor poll has rearmed callbacks and completed. The proposed fix passes the same test. The original bug report describes the symptoms and completion race: https://lore.kernel.org/netdev/[email protected]/ Thanks, Congjie Zhou
