xref: /openbmc/linux/drivers/vdpa/Kconfig (revision 0ea33321)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig 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
9if VDPA
10
11config 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
20config 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
27config 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
36config 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
44config 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
54endif # VDPA
55