Skip to content

vhost_vdpa: better PACKED support

Shannon Nelson via Virtualization virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 18 repliesIn review
  2. v13 patches 5 repliesSuperseded

v1 from the cover letter

- included wrap counter in packing answers for VHOST_GET_VRING_BASE
- added comments to vhost_virtqueue fields last_avail_idx and last_used_idx

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vhost_vdpa: tell vqs about the negotiateddrivers/vhost/vdpa.c+13 -00 replies
2/3vhost: support PACKED when setting-getting vring_basedrivers/vhost/vhost.c drivers/vhost/vhost.h+19 -715 replies
3/3vhost_vdpa: support PACKED when setting-getting vring_basedrivers/vhost/vdpa.c+17 -41 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJason Wang
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] vhost_vdpa: better PACKED support

While testing our vDPA driver with QEMU we found that vhost_vdpa was missing some support for PACKED VQs. Adding these helped us get further in our testing. The first patch makes sure that the vhost_vdpa vqs are given the feature flags, as done in other vhost variants. The second and third patches use the feature flags to properly format and pass set/get_vq requests.

v1:
- included wrap counter in packing answers for VHOST_GET_VRING_BASE
- added comments to vhost_virtqueue fields last_avail_idx and last_used_idx

v0:
https://lists.linuxfoundation.org/pipermail/virtualization/2023-April/066253.html
- initial version

Shannon Nelson (3):
vhost_vdpa: tell vqs about the negotiated
vhost: support PACKED when setting-getting vring_base
vhost_vdpa: support PACKED when setting-getting vring_base

 drivers/vhost/vdpa.c  | 34 ++++++++++++++++++++++++++++++----
 drivers/vhost/vhost.c | 18 +++++++++++++-----
 drivers/vhost/vhost.h |  8 ++++++--
 3 files changed, 49 insertions(+), 11 deletions(-)
Signature · 6 lines
2.17.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization