Jason Wang | 961e9c8 | 2020-03-26 22:01:21 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Michael S. Tsirkin | 58ad137 | 2020-04-12 04:36:55 -0400 | [diff] [blame] | 2 | menuconfig VDPA |
| 3 | tristate "vDPA drivers" |
Jason Wang | 961e9c8 | 2020-03-26 22:01:21 +0800 | [diff] [blame] | 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. |
Jason Wang | 2c53d0f | 2020-03-26 22:01:24 +0800 | [diff] [blame] | 8 | |
Michael S. Tsirkin | 58ad137 | 2020-04-12 04:36:55 -0400 | [diff] [blame] | 9 | if VDPA |
Jason Wang | 2c53d0f | 2020-03-26 22:01:24 +0800 | [diff] [blame] | 10 | |
| 11 | config VDPA_SIM |
| 12 | tristate "vDPA device simulator" |
Michael S. Tsirkin | 213e772 | 2020-04-23 08:36:57 -0400 | [diff] [blame] | 13 | depends on RUNTIME_TESTING_MENU && HAS_DMA |
Christoph Hellwig | 2f9237d | 2020-07-08 09:30:00 +0200 | [diff] [blame] | 14 | select DMA_OPS |
Jason Wang | 2c53d0f | 2020-03-26 22:01:24 +0800 | [diff] [blame] | 15 | select VHOST_RING |
Laurent Vivier | a312db6 | 2020-11-13 16:57:06 +0100 | [diff] [blame] | 16 | select GENERIC_NET_UTILS |
Jason Wang | 2c53d0f | 2020-03-26 22:01:24 +0800 | [diff] [blame] | 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 | |
Zhu Lingshan | 5a2414b | 2020-03-26 22:01:25 +0800 | [diff] [blame] | 23 | config IFCVF |
Michael S. Tsirkin | 58ad137 | 2020-04-12 04:36:55 -0400 | [diff] [blame] | 24 | tristate "Intel IFC VF vDPA driver" |
Zhu Lingshan | 5a2414b | 2020-03-26 22:01:25 +0800 | [diff] [blame] | 25 | depends on PCI_MSI |
Zhu Lingshan | 5a2414b | 2020-03-26 22:01:25 +0800 | [diff] [blame] | 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 | |
Eli Cohen | 29064bf | 2020-08-04 19:20:46 +0300 | [diff] [blame] | 33 | config MLX5_VDPA |
Eli Cohen | aff9077 | 2020-10-07 09:40:11 +0300 | [diff] [blame] | 34 | bool |
Randy Dunlap | 98701a2 | 2020-11-28 13:39:05 -0800 | [diff] [blame] | 35 | select VHOST_IOTLB |
Eli Cohen | 29064bf | 2020-08-04 19:20:46 +0300 | [diff] [blame] | 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 | |
Eli Cohen | 1a86b37 | 2020-08-04 19:20:48 +0300 | [diff] [blame] | 41 | config MLX5_VDPA_NET |
| 42 | tristate "vDPA driver for ConnectX devices" |
Eli Cohen | aff9077 | 2020-10-07 09:40:11 +0300 | [diff] [blame] | 43 | select MLX5_VDPA |
| 44 | depends on MLX5_CORE |
Eli Cohen | 1a86b37 | 2020-08-04 19:20:48 +0300 | [diff] [blame] | 45 | 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. Tsirkin | 58ad137 | 2020-04-12 04:36:55 -0400 | [diff] [blame] | 52 | endif # VDPA |