xref: /openbmc/linux/drivers/vdpa/Kconfig (revision e15a5365)
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	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
23config 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
33config MLX5_VDPA
34	bool
35	help
36	  Support library for Mellanox VDPA drivers. Provides code that is
37	  common for all types of VDPA drivers. The following drivers are planned:
38	  net, block.
39
40config MLX5_VDPA_NET
41	tristate "vDPA driver for ConnectX devices"
42	select MLX5_VDPA
43	depends on MLX5_CORE
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