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