xref: /openbmc/linux/drivers/vdpa/Kconfig (revision e31ac898)
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
34	help
35	  Support library for Mellanox VDPA drivers. Provides code that is
36	  common for all types of VDPA drivers. The following drivers are planned:
37	  net, block.
38
39config MLX5_VDPA_NET
40	tristate "vDPA driver for ConnectX devices"
41	select MLX5_VDPA
42	depends on MLX5_CORE
43	default n
44	help
45	  VDPA network driver for ConnectX6 and newer. Provides offloading
46	  of virtio net datapath such that descriptors put on the ring will
47	  be executed by the hardware. It also supports a variety of stateless
48	  offloads depending on the actual device used and firmware version.
49
50endif # VDPA
51