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.


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

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


Virtualization mailing list

[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