Skip to content

Packed virtqueue state support for vDPA

Jason Wang kvm lkml netdev virtualization 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/24 patches 5 repliesIn review
  2. v2 posting 1/24 patches 7 repliesSuperseded
  3. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- unbreak mlx5_vdpa build

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vdpa: support packed virtqueue for set/get_vq_state()drivers/vdpa/ifcvf/ifcvf_main.c drivers/vdpa/mlx5/net/mlx5_vnet.c drivers/vdpa/vdpa_sim/vdpa_sim.c +2 more+33 -122 replies
2/4virtio-pci library: introduce vp_modern_get_driver_features()drivers/virtio/virtio_pci_modern_dev.c include/linux/virtio_pci_modern.h+22 -01 reply
3/4vp_vdpa: allow set vq state to initial state after resetdrivers/vdpa/virtio_pci/vp_vdpa.c+39 -31 reply
4/4virtio/vdpa: clear the virtqueue state during probedrivers/virtio/virtio_vdpa.c+15 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchEli Cohen
1/4R-b R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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(-)
Signature · 1 line
2.25.1