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