Merge branch 'printk-rework' into for-linus
[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         help
18           Enable this module to support vDPA device simulators. These devices
19           are used for testing, prototyping and development of vDPA.
20
21 config VDPA_SIM_NET
22         tristate "vDPA simulator for networking device"
23         depends on VDPA_SIM
24         select GENERIC_NET_UTILS
25         help
26           vDPA networking device simulator which loops TX traffic back to RX.
27
28 config IFCVF
29         tristate "Intel IFC VF vDPA driver"
30         depends on PCI_MSI
31         help
32           This kernel module can drive Intel IFC VF NIC to offload
33           virtio dataplane traffic to hardware.
34           To compile this driver as a module, choose M here: the module will
35           be called ifcvf.
36
37 config MLX5_VDPA
38         bool
39         select VHOST_IOTLB
40         help
41           Support library for Mellanox VDPA drivers. Provides code that is
42           common for all types of VDPA drivers. The following drivers are planned:
43           net, block.
44
45 config MLX5_VDPA_NET
46         tristate "vDPA driver for ConnectX devices"
47         select MLX5_VDPA
48         depends on MLX5_CORE
49         help
50           VDPA network driver for ConnectX6 and newer. Provides offloading
51           of virtio net datapath such that descriptors put on the ring will
52           be executed by the hardware. It also supports a variety of stateless
53           offloads depending on the actual device used and firmware version.
54
55 endif # VDPA