Skip to content

Commit

Permalink
eni_vdpa: add vDPA driver for Alibaba ENI
Browse files Browse the repository at this point in the history
This patch adds a new vDPA driver for Alibaba ENI(Elastic Network
Interface) which is build upon virtio 0.9.5 specification.
And this driver doesn't support to run on BE host.

Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
  • Loading branch information
Wu Zongyong authored and intel-lab-lkp committed Sep 29, 2021
1 parent 1e0260f commit 86ed356
Show file tree
Hide file tree
Showing 4 changed files with 566 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/vdpa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,12 @@ config VP_VDPA
help
This kernel module bridges virtio PCI device to vDPA bus.

config ALIBABA_ENI_VDPA
tristate "vDPA driver for Alibaba ENI"
select VIRTIO_PCI_LEGACY_LIB
depends on PCI_MSI
help
VDPA driver for Alibaba ENI(Elastic Network Interface) which is build upon
virtio 0.9.5 specification.

endif # VDPA
1 change: 1 addition & 0 deletions drivers/vdpa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ obj-$(CONFIG_VDPA_USER) += vdpa_user/
obj-$(CONFIG_IFCVF) += ifcvf/
obj-$(CONFIG_MLX5_VDPA) += mlx5/
obj-$(CONFIG_VP_VDPA) += virtio_pci/
obj-$(CONFIG_ALIBABA_ENI_VDPA) += alibaba/
3 changes: 3 additions & 0 deletions drivers/vdpa/alibaba/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_ALIBABA_ENI_VDPA) += eni_vdpa.o

Loading

0 comments on commit 86ed356

Please sign in to comment.