> If that notification is lost, the used ring is not drained, > buffers are never returned, the device runs out of descriptors and stops > publishing, so no further notification comes. The queue stays stuck.
I agree that a lost interrupt can stall the RX queue. The point is a basic one of logic: A -> B does not mean B -> A. Observing a stall does not establish that an interrupt was lost. At least in the earlier messages, I didn't see evidence that an interrupt was actually lost in production. You explained what would happen *if* the notification was lost, not how you determined that it was. > I looked at Michael's patch and my case does not match it: at the time > of the stall the callbacks were enabled, and IRQ deferral was not enabled > (napi_defer_hard_irqs = 0, gro_flush_timeout = 0). I appreciate the clarification. That addresses the IRQ deferral scenario I suggested. Adding a watchdog may only take a few lines of code, but once it's in, we have to account for it whenever the queue changes state, including when it is stopped, reset, or resized. That's a long-term maintenance cost.
