[PATCH v4 0/6] Vhost-vdpa Shadow Virtqueue multiqueue support.

Eugenio Pérez posted 6 patches 1 year, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220906150719.1134955-1-eperezma@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>
hw/net/virtio-net.c |  17 +++----
net/vhost-vdpa.c    | 119 ++++++++++++++++++++++++++++++++------------
2 files changed, 93 insertions(+), 43 deletions(-)
[PATCH v4 0/6] Vhost-vdpa Shadow Virtqueue multiqueue support.
Posted by Eugenio Pérez 1 year, 7 months ago
This series enables shadowed CVQ to intercept multiqueue commands through
shadowed CVQ, update the virtio NIC device model so qemu send it in a
migration, and the restore of that MQ state in the destination.

v3:
* Accept ctrl class and cmd in vhost_vdpa_net_load_cmd, so it's in charge of
  building the whole buffer
* Rename cvq_cmd_in_buffer to status.

v2:
* Add vhost_vdpa_net_load_cmd helper to avoid out buffers castings.
* Make cvq_cmd_in_buffer virtio_net_ctrl_ack type.

Eugenio Pérez (6):
  vdpa: Make VhostVDPAState cvq_cmd_in_buffer control ack type
  vdpa: extract vhost_vdpa_net_load_mac from vhost_vdpa_net_load
  vdpa: Add vhost_vdpa_net_load_mq
  vdpa: validate MQ CVQ commands
  virtio-net: Update virtio-net curr_queue_pairs in vdpa backends
  vdpa: Allow MQ feature in SVQ

 hw/net/virtio-net.c |  17 +++----
 net/vhost-vdpa.c    | 119 ++++++++++++++++++++++++++++++++------------
 2 files changed, 93 insertions(+), 43 deletions(-)

--
2.31.1

Re: [PATCH v4 0/6] Vhost-vdpa Shadow Virtqueue multiqueue support.
Posted by Jason Wang 1 year, 7 months ago
On Tue, Sep 6, 2022 at 11:07 PM Eugenio Pérez <eperezma@redhat.com> wrote:
>
> This series enables shadowed CVQ to intercept multiqueue commands through
> shadowed CVQ, update the virtio NIC device model so qemu send it in a
> migration, and the restore of that MQ state in the destination.
>
> v3:
> * Accept ctrl class and cmd in vhost_vdpa_net_load_cmd, so it's in charge of
>   building the whole buffer
> * Rename cvq_cmd_in_buffer to status.
>
> v2:
> * Add vhost_vdpa_net_load_cmd helper to avoid out buffers castings.
> * Make cvq_cmd_in_buffer virtio_net_ctrl_ack type.
>
> Eugenio Pérez (6):
>   vdpa: Make VhostVDPAState cvq_cmd_in_buffer control ack type
>   vdpa: extract vhost_vdpa_net_load_mac from vhost_vdpa_net_load
>   vdpa: Add vhost_vdpa_net_load_mq
>   vdpa: validate MQ CVQ commands
>   virtio-net: Update virtio-net curr_queue_pairs in vdpa backends
>   vdpa: Allow MQ feature in SVQ
>
>  hw/net/virtio-net.c |  17 +++----
>  net/vhost-vdpa.c    | 119 ++++++++++++++++++++++++++++++++------------
>  2 files changed, 93 insertions(+), 43 deletions(-)

Applied.

Thanks

>
> --
> 2.31.1
>
>