Skip to content

virtio-pci: introduce modern device module

Jason Wang linux-next lkml virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/23 patches 7 repliesIn review
  2. v4 posting 1/22 patches 3 repliesSuperseded

Changes in v4 from the cover letter

- rebase to vhost.git

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio: don't prompt CONFIG_VIRTIO_PCI_MODERNdrivers/virtio/Kconfig drivers/virtio/Makefile+7 -65 replies
2/3vdpa: set the virtqueue num during registerdrivers/vdpa/ifcvf/ifcvf_main.c drivers/vdpa/mlx5/net/mlx5_vnet.c drivers/vdpa/vdpa.c +3 more+21 -200 replies
3/3vdpa: introduce virtio pci driverdrivers/vdpa/Kconfig drivers/vdpa/Makefile drivers/vdpa/virtio_pci/Makefile +1 more+468 -01 reply

Reviews trailers per patch

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

PatchStefano GarzarellaArnd BergmannGuenter Roeck
1/3A-b A-b
2/3R-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH V4 0/3] virtio-pci: introduce modern device module

Hi all:

This series tries to implement a vDPA driver for virtio-pci device which will bridge between vDPA bus and virtio-pci device.

This could be used for future feature prototyping and testing.

Please review

Changes since V4:
- include the patch to let VIRTIO_PCI_LIB to be auto selected
- style fixes in the Kconfig for vp-vdpa driver
- fix the err value returned during vp-vdpa driver probing

Changes since V3:
- rebase to vhost.git

Changes since V2:

- tweak config prompt
- switch from 'cb' to 'config_cb' for vp_vdpa config interrupt
- use a macro for vp_vdpa msix name length

Changes since V1:

- don't try to use devres for virtio-pci core
- tweak the commit log
- split the patches furtherly to ease the reviewing

Changes since RFC:

- Split common codes from virito-pci and share it with vDPA driver
- Use dynamic id in order to be less confusing with virtio-pci driver
- No feature whitelist, supporting any features (mq, config etc)

Jason Wang (3):
virtio: don't prompt CONFIG_VIRTIO_PCI_MODERN
vdpa: set the virtqueue num during register
vdpa: introduce virtio pci driver

 drivers/vdpa/Kconfig                 |   7 +
 drivers/vdpa/Makefile                |   1 +
 drivers/vdpa/ifcvf/ifcvf_main.c      |   5 +-
 drivers/vdpa/mlx5/net/mlx5_vnet.c    |   4 +-
 drivers/vdpa/vdpa.c                  |  18 +-
 drivers/vdpa/vdpa_sim/vdpa_sim.c     |   2 +-
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c |   2 +-
 drivers/vdpa/virtio_pci/Makefile     |   2 +
 drivers/vdpa/virtio_pci/vp_vdpa.c    | 458 +++++++++++++++++++++++++++
 drivers/virtio/Kconfig               |  11 +-
 drivers/virtio/Makefile              |   2 +-
 include/linux/vdpa.h                 |  10 +-
 12 files changed, 496 insertions(+), 26 deletions(-)
 create mode 100644 drivers/vdpa/virtio_pci/Makefile
 create mode 100644 drivers/vdpa/virtio_pci/vp_vdpa.c
Signature · 6 lines
2.25.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization