xref: /openbmc/linux/drivers/vdpa/Kconfig (revision f97769fd)
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"
13	depends on RUNTIME_TESTING_MENU && HAS_DMA
14	select DMA_OPS
15	select VHOST_RING
16	default n
17	help
18	  vDPA networking device simulator which loop TX traffic back
19	  to RX. This device is used for testing, prototyping and
20	  development of vDPA.
21
22config IFCVF
23	tristate "Intel IFC VF vDPA driver"
24	depends on PCI_MSI
25	default n
26	help
27	  This kernel module can drive Intel IFC VF NIC to offload
28	  virtio dataplane traffic to hardware.
29	  To compile this driver as a module, choose M here: the module will
30	  be called ifcvf.
31
32config MLX5_VDPA
33	bool "MLX5 VDPA support library for ConnectX devices"
34	depends on MLX5_CORE
35	default n
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
41config MLX5_VDPA_NET
42	tristate "vDPA driver for ConnectX devices"
43	depends on MLX5_VDPA
44	default n
45	help
46	  VDPA network driver for ConnectX6 and newer. Provides offloading
47	  of virtio net datapath such that descriptors put on the ring will
48	  be executed by the hardware. It also supports a variety of stateless
49	  offloads depending on the actual device used and firmware version.
50
51endif # VDPA
52