blob: 6caf539091e55e63f71b5bdfcd923fa8c61148df [file] [log] [blame]
Jason Wang961e9c82020-03-26 22:01:21 +08001# SPDX-License-Identifier: GPL-2.0-only
Michael S. Tsirkin58ad1372020-04-12 04:36:55 -04002menuconfig VDPA
3 tristate "vDPA drivers"
Jason Wang961e9c82020-03-26 22:01:21 +08004 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.
Jason Wang2c53d0f2020-03-26 22:01:24 +08008
Michael S. Tsirkin58ad1372020-04-12 04:36:55 -04009if VDPA
Jason Wang2c53d0f2020-03-26 22:01:24 +080010
11config VDPA_SIM
12 tristate "vDPA device simulator"
Michael S. Tsirkin213e7722020-04-23 08:36:57 -040013 depends on RUNTIME_TESTING_MENU && HAS_DMA
Christoph Hellwig2f9237d2020-07-08 09:30:00 +020014 select DMA_OPS
Jason Wang2c53d0f2020-03-26 22:01:24 +080015 select VHOST_RING
Laurent Viviera312db62020-11-13 16:57:06 +010016 select GENERIC_NET_UTILS
Jason Wang2c53d0f2020-03-26 22:01:24 +080017 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
Zhu Lingshan5a2414b2020-03-26 22:01:25 +080023config IFCVF
Michael S. Tsirkin58ad1372020-04-12 04:36:55 -040024 tristate "Intel IFC VF vDPA driver"
Zhu Lingshan5a2414b2020-03-26 22:01:25 +080025 depends on PCI_MSI
Zhu Lingshan5a2414b2020-03-26 22:01:25 +080026 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
Eli Cohen29064bf2020-08-04 19:20:46 +030033config MLX5_VDPA
Eli Cohenaff90772020-10-07 09:40:11 +030034 bool
Randy Dunlap98701a22020-11-28 13:39:05 -080035 select VHOST_IOTLB
Eli Cohen29064bf2020-08-04 19:20:46 +030036 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
Eli Cohen1a86b372020-08-04 19:20:48 +030041config MLX5_VDPA_NET
42 tristate "vDPA driver for ConnectX devices"
Eli Cohenaff90772020-10-07 09:40:11 +030043 select MLX5_VDPA
44 depends on MLX5_CORE
Eli Cohen1a86b372020-08-04 19:20:48 +030045 default n
46 help
47 VDPA network driver for ConnectX6 and newer. Provides offloading
48 of virtio net datapath such that descriptors put on the ring will
49 be executed by the hardware. It also supports a variety of stateless
50 offloads depending on the actual device used and firmware version.
51
Michael S. Tsirkin58ad1372020-04-12 04:36:55 -040052endif # VDPA