All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] vhost_vdpa: better PACKED support
@ 2023-04-24 22:50 Shannon Nelson via Virtualization
  2023-04-24 22:50 ` [PATCH v2 1/3] vhost_vdpa: tell vqs about the negotiated Shannon Nelson via Virtualization
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Shannon Nelson via Virtualization @ 2023-04-24 22:50 UTC (permalink / raw)
  To: jasowang, mst, virtualization; +Cc: drivers

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(-)

-- 
2.17.1

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-06-05  8:17 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 22:50 [PATCH v2 0/3] vhost_vdpa: better PACKED support Shannon Nelson via Virtualization
2023-04-24 22:50 ` [PATCH v2 1/3] vhost_vdpa: tell vqs about the negotiated Shannon Nelson via Virtualization
2023-04-24 22:50 ` [PATCH v2 2/3] vhost: support PACKED when setting-getting vring_base Shannon Nelson via Virtualization
2023-04-25  6:01   ` Jason Wang
2023-05-09  8:46   ` Stefano Garzarella
2023-05-15 20:41     ` Shannon Nelson via Virtualization
2023-05-16  7:49       ` Stefano Garzarella
2023-05-16 18:26         ` Shannon Nelson via Virtualization
2023-05-17  5:26           ` Jason Wang
2023-05-17  7:00             ` Stefano Garzarella
2023-05-18  5:23               ` Jason Wang
2023-05-18  7:34                 ` Stefano Garzarella
2023-05-18  7:52                   ` Jason Wang
2023-05-18  8:38                     ` Michael S. Tsirkin
2023-05-18  8:59                       ` Jason Wang
2023-05-18  9:42                         ` Michael S. Tsirkin
2023-06-02 11:36                   ` Michael S. Tsirkin
2023-06-05  8:17                     ` Stefano Garzarella
2023-04-24 22:50 ` [PATCH v2 3/3] vhost_vdpa: " Shannon Nelson via Virtualization
2023-04-25  6:02   ` Jason Wang
2023-04-25  6:08 ` [PATCH v2 0/3] vhost_vdpa: better PACKED support Michael S. Tsirkin
2023-04-25 16:21   ` Shannon Nelson via Virtualization

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.