Ctrlq in polling mode may cause the virtual machine to hang and occupy additional CPU resources. Enabling the irq for ctrlq alleviates this problem and allows commands to be requested concurrently.
Changelog ========= v2->v3: - Use the completion for dim cmds. v1->v2: - Refactor the patch 1 and rephase the commit log. Heng Qi (4): virtio_net: passing control_buf explicitly virtio_net: enable irq for the control vq virtio_net: change the command token to completion virtio_net: improve dim command request efficiency drivers/net/virtio_net.c | 274 +++++++++++++++++++++++++++++++++------ 1 file changed, 232 insertions(+), 42 deletions(-) -- 2.32.0.3.g01195cf9f