[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210602021536.39525-1-jasowang@redhat.com>
Date: Wed, 2 Jun 2021 10:15:32 +0800
From: Jason Wang <jasowang@...hat.com>
To: mst@...hat.com, jasowang@...hat.com,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
netdev@...r.kernel.org
Cc: eli@...lanox.com
Subject: [PATCH V2 RESEND 0/4] Packed virtqueue state support for vDPA
Hi:
This series implements the packed virtqueue state support for
vDPA. This is done via extending the vdpa_vq_state to support packed
virtqueue.
For virtio-vDPA, an initial state required by the virtio spec is set.
For vhost-vDPA, the packed virtqueue support still needs to be done at
both vhost core and vhost-vDPA in the future.
Please review.
Tested with packed=on/off via virtio_vdpa driver.
Change since V1:
- unbreak mlx5_vdpa build
Thanks
Eli Cohen (1):
virtio/vdpa: clear the virtqueue state during probe
Jason Wang (3):
vdpa: support packed virtqueue for set/get_vq_state()
virtio-pci library: introduce vp_modern_get_driver_features()
vp_vdpa: allow set vq state to initial state after reset
drivers/vdpa/ifcvf/ifcvf_main.c | 4 +--
drivers/vdpa/mlx5/net/mlx5_vnet.c | 8 ++---
drivers/vdpa/vdpa_sim/vdpa_sim.c | 4 +--
drivers/vdpa/virtio_pci/vp_vdpa.c | 42 ++++++++++++++++++++++++--
drivers/vhost/vdpa.c | 4 +--
drivers/virtio/virtio_pci_modern_dev.c | 21 +++++++++++++
drivers/virtio/virtio_vdpa.c | 15 +++++++++
include/linux/vdpa.h | 25 +++++++++++++--
include/linux/virtio_pci_modern.h | 1 +
9 files changed, 109 insertions(+), 15 deletions(-)
--
2.25.1
Powered by blists - more mailing lists