[PATCH 0/4] Packed virtqueue state support for vDPA

From: Jason Wang
Date: Tue Jun 01 2021 - 04:45:24 EST


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.

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/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 +
8 files changed, 105 insertions(+), 11 deletions(-)

--
2.25.1