xref: /linux/drivers/vdpa/Kconfig (revision 64b9f64f80a6f4b7ea51bf0510119cb15e801dc6)
1c9b9f5f8SMichael S. Tsirkin# SPDX-License-Identifier: GPL-2.0-only
258ad1372SMichael S. Tsirkinmenuconfig VDPA
358ad1372SMichael S. Tsirkin	tristate "vDPA drivers"
433b34750SParav Pandit	depends on NET
5c9b9f5f8SMichael S. Tsirkin	help
6c9b9f5f8SMichael S. Tsirkin	  Enable this module to support vDPA device that uses a
7c9b9f5f8SMichael S. Tsirkin	  datapath which complies with virtio specifications with
8c9b9f5f8SMichael S. Tsirkin	  vendor specific control path.
9c9b9f5f8SMichael S. Tsirkin
1058ad1372SMichael S. Tsirkinif VDPA
11c9b9f5f8SMichael S. Tsirkin
12c9b9f5f8SMichael S. Tsirkinconfig VDPA_SIM
13db1e8bb6SMax Gurtovoy	tristate "vDPA device simulator core"
14213e7721SMichael S. Tsirkin	depends on RUNTIME_TESTING_MENU && HAS_DMA
152f9237d4SChristoph Hellwig	select DMA_OPS
16c9b9f5f8SMichael S. Tsirkin	select VHOST_RING
17db1e8bb6SMax Gurtovoy	help
18db1e8bb6SMax Gurtovoy	  Enable this module to support vDPA device simulators. These devices
19db1e8bb6SMax Gurtovoy	  are used for testing, prototyping and development of vDPA.
20db1e8bb6SMax Gurtovoy
21db1e8bb6SMax Gurtovoyconfig VDPA_SIM_NET
22db1e8bb6SMax Gurtovoy	tristate "vDPA simulator for networking device"
23db1e8bb6SMax Gurtovoy	depends on VDPA_SIM
24a312db69SLaurent Vivier	select GENERIC_NET_UTILS
25c9b9f5f8SMichael S. Tsirkin	help
26db1e8bb6SMax Gurtovoy	  vDPA networking device simulator which loops TX traffic back to RX.
27c9b9f5f8SMichael S. Tsirkin
28c9b9f5f8SMichael S. Tsirkinconfig IFCVF
2958ad1372SMichael S. Tsirkin	tristate "Intel IFC VF vDPA driver"
30c9b9f5f8SMichael S. Tsirkin	depends on PCI_MSI
31c9b9f5f8SMichael S. Tsirkin	help
32c9b9f5f8SMichael S. Tsirkin	  This kernel module can drive Intel IFC VF NIC to offload
33c9b9f5f8SMichael S. Tsirkin	  virtio dataplane traffic to hardware.
34c9b9f5f8SMichael S. Tsirkin	  To compile this driver as a module, choose M here: the module will
35c9b9f5f8SMichael S. Tsirkin	  be called ifcvf.
36c9b9f5f8SMichael S. Tsirkin
3729064bfdSEli Cohenconfig MLX5_VDPA
38aff90770SEli Cohen	bool
3998701a2aSRandy Dunlap	select VHOST_IOTLB
4029064bfdSEli Cohen	help
4129064bfdSEli Cohen	  Support library for Mellanox VDPA drivers. Provides code that is
4229064bfdSEli Cohen	  common for all types of VDPA drivers. The following drivers are planned:
4329064bfdSEli Cohen	  net, block.
4429064bfdSEli Cohen
451a86b377SEli Cohenconfig MLX5_VDPA_NET
461a86b377SEli Cohen	tristate "vDPA driver for ConnectX devices"
47aff90770SEli Cohen	select MLX5_VDPA
48aff90770SEli Cohen	depends on MLX5_CORE
491a86b377SEli Cohen	help
501a86b377SEli Cohen	  VDPA network driver for ConnectX6 and newer. Provides offloading
511a86b377SEli Cohen	  of virtio net datapath such that descriptors put on the ring will
521a86b377SEli Cohen	  be executed by the hardware. It also supports a variety of stateless
531a86b377SEli Cohen	  offloads depending on the actual device used and firmware version.
541a86b377SEli Cohen
55*64b9f64fSJason Wangconfig VP_VDPA
56*64b9f64fSJason Wang	tristate "Virtio PCI bridge vDPA driver"
57*64b9f64fSJason Wang	select VIRTIO_PCI_LIB
58*64b9f64fSJason Wang	depends on PCI_MSI
59*64b9f64fSJason Wang	help
60*64b9f64fSJason Wang	  This kernel module bridges virtio PCI device to vDPA bus.
61*64b9f64fSJason Wang
6258ad1372SMichael S. Tsirkinendif # VDPA
63