6e82a0e228c285ac47486c91171d3437f4c3c7f9
[linux-2.6-microblaze.git] / drivers / vdpa / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig VDPA
3         tristate "vDPA drivers"
4         depends on NET
5         help
6           Enable this module to support vDPA device that uses a
7           datapath which complies with virtio specifications with
8           vendor specific control path.
9
10 if VDPA
11
12 config VDPA_SIM
13         tristate "vDPA device simulator core"
14         depends on RUNTIME_TESTING_MENU && HAS_DMA
15         select DMA_OPS
16         select VHOST_RING
17         select IOMMU_IOVA
18         help
19           Enable this module to support vDPA device simulators. These devices
20           are used for testing, prototyping and development of vDPA.
21
22 config VDPA_SIM_NET
23         tristate "vDPA simulator for networking device"
24         depends on VDPA_SIM
25         select GENERIC_NET_UTILS
26         help
27           vDPA networking device simulator which loops TX traffic back to RX.
28
29 config IFCVF
30         tristate "Intel IFC VF vDPA driver"
31         depends on PCI_MSI
32         help
33           This kernel module can drive Intel IFC VF NIC to offload
34           virtio dataplane traffic to hardware.
35           To compile this driver as a module, choose M here: the module will
36           be called ifcvf.
37
38 config MLX5_VDPA
39         bool
40         select VHOST_IOTLB
41         help
42           Support library for Mellanox VDPA drivers. Provides code that is
43           common for all types of VDPA drivers. The following drivers are planned:
44           net, block.
45
46 config MLX5_VDPA_NET
47         tristate "vDPA driver for ConnectX devices"
48         select MLX5_VDPA
49         depends on MLX5_CORE
50         help
51           VDPA network driver for ConnectX6 and newer. Provides offloading
52           of virtio net datapath such that descriptors put on the ring will
53           be executed by the hardware. It also supports a variety of stateless
54           offloads depending on the actual device used and firmware version.
55
56 config VP_VDPA
57         tristate "Virtio PCI bridge vDPA driver"
58         select VIRTIO_PCI_LIB
59         depends on PCI_MSI
60         help
61           This kernel module bridges virtio PCI device to vDPA bus.
62
63 endif # VDPA