On Thu, Apr 20, 2017 at 10:03 AM, Willem de Bruijn <willemdebruijn.kernel@xxxxxxxxx> wrote: >>> - if (!use_napi) >>> + if (use_napi) { >>> + if (kick) >>> + virtqueue_enable_cb_delayed(sq->vq); >>> + else >>> + virtqueue_disable_cb(sq->vq); >> >> >> Since virtqueue_disable_cb() do nothing for event idx. I wonder whether or >> not just calling enable_cb_dealyed() is ok here. > > Good point. > >> Btw, it does not disable interrupt at all, I propose a patch in the past >> which can do more than this: >> >> https://patchwork.kernel.org/patch/6472601/ > > Interesting. Yes, let me evaluate that variant. In initial tests I don't see a significant change, but we can look into this more closely as a follow-on patch. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization