aboutsummaryrefslogtreecommitdiff
path: root/drivers/vdpa/Kconfig
diff options
context:
space:
mode:
authorGravatar Jason Wang <jasowang@redhat.com> 2021-02-23 14:19:05 +0800
committerGravatar Michael S. Tsirkin <mst@redhat.com> 2021-05-03 04:55:51 -0400
commit64b9f64f80a6f4b7ea51bf0510119cb15e801dc6 (patch)
tree12ad1086a6510424b9024b19c0d6e4d79f7711b7 /drivers/vdpa/Kconfig
parentLinux 5.12 (diff)
downloadlinux-64b9f64f80a6f4b7ea51bf0510119cb15e801dc6.tar.gz
linux-64b9f64f80a6f4b7ea51bf0510119cb15e801dc6.tar.bz2
linux-64b9f64f80a6f4b7ea51bf0510119cb15e801dc6.zip
vdpa: introduce virtio pci driver
This patch introduce a vDPA driver for virtio-pci device. It bridges the virtio-pci control command to the vDPA bus. This will be used for features prototyping and testing. Note that get/restore virtqueue state is not supported which needs extension on the virtio specification. Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20210223061905.422659-4-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vdpa/Kconfig')
-rw-r--r--drivers/vdpa/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
index ffd1e098bfd2..a245809c99d0 100644
--- a/drivers/vdpa/Kconfig
+++ b/drivers/vdpa/Kconfig
@@ -52,4 +52,11 @@ config MLX5_VDPA_NET
be executed by the hardware. It also supports a variety of stateless
offloads depending on the actual device used and firmware version.
+config VP_VDPA
+ tristate "Virtio PCI bridge vDPA driver"
+ select VIRTIO_PCI_LIB
+ depends on PCI_MSI
+ help
+ This kernel module bridges virtio PCI device to vDPA bus.
+
endif # VDPA