Skip to content

virtio-pci: msix masking optimizations

Michael S. Tsirkin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8virtio: don't waste irqfds on control vqshw/vhost.c hw/virtio-pci.c hw/virtio-pci.h +1 more+23 -91 reply
2/8msix: add api to access msix messagehw/pci/msix.c hw/pci/msix.h+2 -10 replies
3/8kvm: add stub for update msi routekvm-stub.c+5 -00 replies
4/8virtio-pci: cache msix messageshw/virtio-pci.c hw/virtio-pci.h+100 -200 replies
5/8virtio: backend virtqueue notifier maskinghw/virtio-pci.c hw/virtio.h+83 -90 replies
6/8virtio-net: set/clear vhost_started in reverse orderhw/virtio-net.c+2 -20 replies
7/8vhost: set started flag while start is in progresshw/vhost.c+5 -20 replies
8/8vhost: backend masking supporthw/vhost.c hw/vhost.h hw/vhost_net.c +2 more+137 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] virtio-pci: msix masking optimizations

This patchset implements two msix masking optimizations. It works fine for me but I did not have the time to do performance testing yet so I do not know whether it helps and which workloads.
Sending out now as I'll be on vacation for a week. Please review and comment.

Thanks!

Michael S. Tsirkin (8):
virtio: don't waste irqfds on control vqs
msix: add api to access msix message
kvm: add stub for update msi route
virtio-pci: cache msix messages
virtio: backend virtqueue notifier masking
virtio-net: set/clear vhost_started in reverse order
vhost: set started flag while start is in progress
vhost: backend masking support

 hw/pci/msix.c   |   2 +-
 hw/pci/msix.h   |   1 +
 hw/vhost.c      | 112 ++++++++++++++++++++++++++-----
 hw/vhost.h      |  10 +++
 hw/vhost_net.c  |  27 +++++++-
 hw/vhost_net.h  |   3 +
 hw/virtio-net.c |  22 +++++-
 hw/virtio-pci.c | 203 ++++++++++++++++++++++++++++++++++++++++++++++++--------
 hw/virtio-pci.h |   2 +
 hw/virtio.h     |  15 ++++-
 kvm-stub.c      |   5 ++
 11 files changed, 350 insertions(+), 52 deletions(-)
Signature · 1 line
MST