Merge tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-microblaze.git] / drivers / vdpa / Kconfig
index ffd1e09..3d91982 100644 (file)
@@ -14,6 +14,7 @@ config VDPA_SIM
        depends on RUNTIME_TESTING_MENU && HAS_DMA
        select DMA_OPS
        select VHOST_RING
+       select IOMMU_IOVA
        help
          Enable this module to support vDPA device simulators. These devices
          are used for testing, prototyping and development of vDPA.
@@ -25,6 +26,23 @@ config VDPA_SIM_NET
        help
          vDPA networking device simulator which loops TX traffic back to RX.
 
+config VDPA_SIM_BLOCK
+       tristate "vDPA simulator for block device"
+       depends on VDPA_SIM
+       help
+         vDPA block device simulator which terminates IO request in a
+         memory buffer.
+
+config VDPA_USER
+       tristate "VDUSE (vDPA Device in Userspace) support"
+       depends on EVENTFD && MMU && HAS_DMA
+       select DMA_OPS
+       select VHOST_IOTLB
+       select IOMMU_IOVA
+       help
+         With VDUSE it is possible to emulate a vDPA Device
+         in a userspace program.
+
 config IFCVF
        tristate "Intel IFC VF vDPA driver"
        depends on PCI_MSI
@@ -45,6 +63,7 @@ config MLX5_VDPA
 config MLX5_VDPA_NET
        tristate "vDPA driver for ConnectX devices"
        select MLX5_VDPA
+       select VHOST_RING
        depends on MLX5_CORE
        help
          VDPA network driver for ConnectX6 and newer. Provides offloading
@@ -52,4 +71,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