vDPA driver for Alibaba ENI
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest9 patches 7 repliesIn review
- v68 patches 12 repliesSuperseded
- v58 patches 6 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 7 patches | 7 replies | Superseded | |
| v3 | 7 patches | 8 replies | Superseded | |
| v2 | 5 patches | 22 replies | Superseded | |
| v1 | 6 patches | 29 replies | Superseded |
Changes in v7 from the cover letter
- set default min vq size to 1 intead of 0
- enable eni vdpa driver only on X86 hosts
- fix some typos
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | virtio-pci: introduce legacy device moduledrivers/ drivers/ drivers/ +4 more | +310 | 0 replies | |
| 2/9 | vdpa: fix typoinclude/ | +1 | 0 replies | |
| 3/9 | vp_vdpa: add vq irq offloading supportdrivers/ | +12 | 0 replies | |
| 4/9 | vdpa: add new callback get_vq_num_min in vdpa_config_opsinclude/ | +4 | 0 replies | |
| 5/9 | vdpa: min vq num of vdpa device cannot be greater than max vq numdrivers/ | +8 | 0 replies | |
| 6/9 | virtio_vdpa: setup correct vq size with callbacks get_vq_num_{max,min}drivers/ | +11 | 0 replies | |
| 7/9 | vdpa: add new attribute VDPA_ATTR_DEV_MIN_VQ_SIZEdrivers/ include/ | +6 | 0 replies | |
| 8/9 | eni_vdpa: add vDPA driver for Alibaba ENIdrivers/ drivers/ drivers/ +1 more | +565 | 0 replies | |
| 9/9 | eni_vdpa: alibaba: fix Kconfig typodrivers/ | +1 | 1 reply |
Reviews trailers per patch
6 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Jason Wang | Stefano Garzarella |
|---|---|---|
| 1/9 | A-b | |
| 2/9 | A-b | |
| 3/9 | A-b | |
| 4/9 | A-b | |
| 5/9 | A-b | |
| 6/9 | ||
| 7/9 | ||
| 8/9 | ||
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/9] vDPA driver for Alibaba ENI
This series implements the vDPA driver for Alibaba ENI (Elastic Network Interface) which is built based on virtio-pci 0.9.5 specification.
Changes since V6:
- set default min vq size to 1 intead of 0
- enable eni vdpa driver only on X86 hosts
- fix some typos
Changes since V5:
- remove unused codes
Changes since V4:
- check return values of get_vq_num_{max,min} when probing devices
- disable the driver on BE host via Kconfig
- add missing commit message
Changes since V3:
- validate VIRTIO_NET_F_MRG_RXBUF when negotiate features
- present F_ORDER_PLATFORM in get_features
- remove endian check since ENI always use litter endian
Changes since V2:
- add new attribute VDPA_ATTR_DEV_MIN_VQ_SIZE instead VDPA_ATTR_DEV_F_VERSION_1 to guide users to choose correct virtqueue size as suggested by Jason Wang
- present ACCESS_PLATFORM in get_features callback as suggested by Jason Wang
- disable this driver on Big Endian host as suggested by Jason Wang
- fix a typo
Changes since V1:
- add new vdpa attribute VDPA_ATTR_DEV_F_VERSION_1 to indicate whether the vdpa device is legacy
- implement dedicated driver for Alibaba ENI instead a legacy virtio-pci driver as suggested by Jason Wang
- some bugs fixed
Wu Zongyong (9):
virtio-pci: introduce legacy device module
vdpa: fix typo
vp_vdpa: add vq irq offloading support
vdpa: add new callback get_vq_num_min in vdpa_config_ops
vdpa: min vq num of vdpa device cannot be greater than max vq num
virtio_vdpa: setup correct vq size with callbacks get_vq_num_{max,min}
vdpa: add new attribute VDPA_ATTR_DEV_MIN_VQ_SIZE
eni_vdpa: add vDPA driver for Alibaba ENI
eni_vdpa: alibaba: fix Kconfig typo
drivers/vdpa/Kconfig | 8 + drivers/vdpa/Makefile | 1 + drivers/vdpa/alibaba/Makefile | 3 + drivers/vdpa/alibaba/eni_vdpa.c | 553 +++++++++++++++++++++++++ drivers/vdpa/vdpa.c | 13 + drivers/vdpa/virtio_pci/vp_vdpa.c | 12 + drivers/virtio/Kconfig | 10 + drivers/virtio/Makefile | 1 + drivers/virtio/virtio_pci_common.c | 10 +- drivers/virtio/virtio_pci_common.h | 9 +- drivers/virtio/virtio_pci_legacy.c | 101 ++--- drivers/virtio/virtio_pci_legacy_dev.c | 220 ++++++++++ drivers/virtio/virtio_vdpa.c | 16 +- include/linux/vdpa.h | 6 +- include/linux/virtio_pci_legacy.h | 42 ++ include/uapi/linux/vdpa.h | 1 + 16 files changed, 917 insertions(+), 89 deletions(-) create mode 100644 drivers/vdpa/alibaba/Makefile create mode 100644 drivers/vdpa/alibaba/eni_vdpa.c create mode 100644 drivers/virtio/virtio_pci_legacy_dev.c create mode 100644 include/linux/virtio_pci_legacy.h
Signature · 1 line
2.31.1