virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Shannon Nelson <shannon.nelson@amd.com>
Cc: drivers@pensando.io, virtualization@lists.linux-foundation.org
Subject: Re: [PATCH v2 0/3] vhost_vdpa: better PACKED support
Date: Tue, 25 Apr 2023 02:08:50 -0400	[thread overview]
Message-ID: <20230425020807-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20230424225031.18947-1-shannon.nelson@amd.com>

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.

> 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

  parent reply	other threads:[~2023-04-25  6:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Michael S. Tsirkin [this message]
2023-04-25 16:21   ` [PATCH v2 0/3] vhost_vdpa: better PACKED support Shannon Nelson via Virtualization

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230425020807-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=drivers@pensando.io \
    --cc=shannon.nelson@amd.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).