Skip to content

Vhost-vdpa Shadow Virtqueue Offloads support

Hawkins Jiawei qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 3 repliesIn review
  2. v36 patches 10 repliesSuperseded
  3. v26 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches9 repliesSuperseded

Changes in v4 from the cover letter

- refactor the commit message suggested by Eugenio in patch#4
"virtio-net: expose virtio_net_supported_guest_offloads()"
- fix the wrong "cpu_to_le64()" pointed out by Eugenio in patch$5
"vdpa: Add vhost_vdpa_net_load_offloads()"
- refactor the comment in patch#5
"vdpa: Add vhost_vdpa_net_load_offloads()"

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6include/hw/virtio: make some VirtIODevice constinclude/hw/virtio/virtio.h+1 -10 replies
2/6vdpa: reuse virtio_vdev_has_feature()net/vhost-vdpa.c+2 -40 replies
3/6hw/net/virtio-net: make some VirtIONet consthw/net/virtio-net.c+1 -10 replies
4/6virtio-net: expose virtio_net_supported_guest_offloads()hw/net/virtio-net.c include/hw/virtio/virtio-net.h+2 -10 replies
5/6vdpa: Add vhost_vdpa_net_load_offloads()net/vhost-vdpa.c+42 -00 replies
6/6vdpa: Allow VIRTIO_NET_F_CTRL_GUEST_OFFLOADS in SVQnet/vhost-vdpa.c+1 -00 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEugenio PérezJason WangLei Yang
SeriesR-b T-b T-b
1/6R-b
2/6A-b
3/6R-b
4/6
5/6
6/6A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/6] Vhost-vdpa Shadow Virtqueue Offloads support

This series enables shadowed CVQ to intercept Offloads commands through shadowed CVQ, update the virtio NIC device model so qemu send it in a migration, and the restore of that Offloads state in the destination.

Changelog
=========
v4:
- refactor the commit message suggested by Eugenio in patch#4
"virtio-net: expose virtio_net_supported_guest_offloads()"
- fix the wrong "cpu_to_le64()" pointed out by Eugenio in patch$5
"vdpa: Add vhost_vdpa_net_load_offloads()"
- refactor the comment in patch#5
"vdpa: Add vhost_vdpa_net_load_offloads()"

v3: https://lists.nongnu.org/archive/html/qemu-devel/2023-06/msg00206.html

v2: https://lists.nongnu.org/archive/html/qemu-devel/2023-06/msg00044.html

v1: https://lists.nongnu.org/archive/html/qemu-devel/2023-05/msg07198.html

Hawkins Jiawei (6):
include/hw/virtio: make some VirtIODevice const
vdpa: reuse virtio_vdev_has_feature() hw/net/virtio-net: make some VirtIONet const
virtio-net: expose virtio_net_supported_guest_offloads()
vdpa: Add vhost_vdpa_net_load_offloads()
vdpa: Allow VIRTIO_NET_F_CTRL_GUEST_OFFLOADS in SVQ

 hw/net/virtio-net.c            |  2 +-
 include/hw/virtio/virtio-net.h |  1 +
 include/hw/virtio/virtio.h     |  2 +-
 net/vhost-vdpa.c               | 49 +++++++++++++++++++++++++++++++---
 4 files changed, 48 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1