xref: /linux/drivers/vdpa/Kconfig (revision 29b90f92ee64f4cae2d8ef83922286567da6c2c1)
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	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	help
26	  This kernel module can drive Intel IFC VF NIC to offload
27	  virtio dataplane traffic to hardware.
28	  To compile this driver as a module, choose M here: the module will
29	  be called ifcvf.
30
31config MLX5_VDPA
32	bool
33	select VHOST_IOTLB
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	help
44	  VDPA network driver for ConnectX6 and newer. Provides offloading
45	  of virtio net datapath such that descriptors put on the ring will
46	  be executed by the hardware. It also supports a variety of stateless
47	  offloads depending on the actual device used and firmware version.
48
49endif # VDPA
50