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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/24/23 11:08 PM, Michael S. Tsirkin wrote:

On Mon, Apr 24, 2023 at 03:50:28PM -0700, Shannon Nelson wrote:
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.

This missed the merge window most likely, unless there's
a reason to send a second pull towards the end of it. We'll see.

Understood - we'll keep our fingers crossed for good luck :-)
Thanks for the help.

sln



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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux