xref: /OK3568_Linux_fs/kernel/drivers/vdpa/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunmenuconfig VDPA
3*4882a593Smuzhiyun	tristate "vDPA drivers"
4*4882a593Smuzhiyun	help
5*4882a593Smuzhiyun	  Enable this module to support vDPA device that uses a
6*4882a593Smuzhiyun	  datapath which complies with virtio specifications with
7*4882a593Smuzhiyun	  vendor specific control path.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunif VDPA
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunconfig VDPA_SIM
12*4882a593Smuzhiyun	tristate "vDPA device simulator"
13*4882a593Smuzhiyun	depends on RUNTIME_TESTING_MENU && HAS_DMA
14*4882a593Smuzhiyun	select DMA_OPS
15*4882a593Smuzhiyun	select VHOST_RING
16*4882a593Smuzhiyun	select GENERIC_NET_UTILS
17*4882a593Smuzhiyun	default n
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  vDPA networking device simulator which loop TX traffic back
20*4882a593Smuzhiyun	  to RX. This device is used for testing, prototyping and
21*4882a593Smuzhiyun	  development of vDPA.
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunconfig IFCVF
24*4882a593Smuzhiyun	tristate "Intel IFC VF vDPA driver"
25*4882a593Smuzhiyun	depends on PCI_MSI
26*4882a593Smuzhiyun	default n
27*4882a593Smuzhiyun	help
28*4882a593Smuzhiyun	  This kernel module can drive Intel IFC VF NIC to offload
29*4882a593Smuzhiyun	  virtio dataplane traffic to hardware.
30*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module will
31*4882a593Smuzhiyun	  be called ifcvf.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig MLX5_VDPA
34*4882a593Smuzhiyun	bool
35*4882a593Smuzhiyun	select VHOST_IOTLB
36*4882a593Smuzhiyun	help
37*4882a593Smuzhiyun	  Support library for Mellanox VDPA drivers. Provides code that is
38*4882a593Smuzhiyun	  common for all types of VDPA drivers. The following drivers are planned:
39*4882a593Smuzhiyun	  net, block.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunconfig MLX5_VDPA_NET
42*4882a593Smuzhiyun	tristate "vDPA driver for ConnectX devices"
43*4882a593Smuzhiyun	select MLX5_VDPA
44*4882a593Smuzhiyun	depends on MLX5_CORE
45*4882a593Smuzhiyun	default n
46*4882a593Smuzhiyun	help
47*4882a593Smuzhiyun	  VDPA network driver for ConnectX6 and newer. Provides offloading
48*4882a593Smuzhiyun	  of virtio net datapath such that descriptors put on the ring will
49*4882a593Smuzhiyun	  be executed by the hardware. It also supports a variety of stateless
50*4882a593Smuzhiyun	  offloads depending on the actual device used and firmware version.
51*4882a593Smuzhiyun
52*4882a593Smuzhiyunendif # VDPA
53