> Should it include a Fixes tag for the post-completion
> virtqueue_disable_cb() call?
>
>   Fixes: fdaa767aefc1 ("virtio_net: Disable interrupts if napi_complete_done 
> rescheduled napi")

Thanks for the review.

fdaa767aefc1 introduced the post-completion virtqueue_disable_cb()
call. However, before 6f8b12d661d0, the false-return paths in
napi_complete_done() did not clear NAPI_STATE_SCHED.

6f8b12d661d0 added the hard IRQ deferral path that can clear SCHED,
arm the watchdog and return false. This allows a successor poll to
rearm callbacks before the old caller disables them.

For the watchdog-driven interleaving reported here, I believe the
appropriate attribution is:

Fixes: 6f8b12d661d0 ("net: napi: add hard irqs deferral feature")

I plan to include this tag in the next revision. The proposed code
changes will remain the same.

Thanks,
Congjie Zhou

Reply via email to