[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1631621507.git.wuzongyong@linux.alibaba.com>
Date: Tue, 14 Sep 2021 20:24:47 +0800
From: Wu Zongyong <wuzongyong@...ux.alibaba.com>
To: wuzongyong@...ux.alibaba.com, jasowang@...hat.com,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, mst@...hat.com
Cc: wei.yang1@...ux.alibaba.com
Subject: [PATCH v2 0/5] vDPA driver for Alibaba ENI
This series implements the vDPA driver for Alibaba ENI(Elastic Network
Interface) which is build based on virtio-pci 0.9.5 specification.
A new vdpa attribute VDPA_ATTR_DEV_F_VERSION_1 is introduced to guide
users to choose right virtqueue size if the vdpa device is legacy.
Change From 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 (5):
virtio-pci: introduce legacy device module
vdpa: fix typo
vp_vdpa: add vq irq offloading support
vdpa: add new vdpa attribute VDPA_ATTR_DEV_F_VERSION_1
eni_vdpa: add vDPA driver for Alibaba ENI
drivers/vdpa/Kconfig | 8 +
drivers/vdpa/Makefile | 1 +
drivers/vdpa/alibaba/Makefile | 3 +
drivers/vdpa/alibaba/eni_vdpa.c | 537 +++++++++++++++++++++++++
drivers/vdpa/vdpa.c | 6 +
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 | 7 +-
include/linux/vdpa.h | 2 +-
include/linux/virtio_pci_legacy.h | 44 ++
include/uapi/linux/vdpa.h | 1 +
16 files changed, 887 insertions(+), 85 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
--
2.31.1
Powered by blists - more mailing lists