xref: /OK3568_Linux_fs/kernel/drivers/ntb/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunmenuconfig NTB
3*4882a593Smuzhiyun	tristate "Non-Transparent Bridge support"
4*4882a593Smuzhiyun	depends on PCI
5*4882a593Smuzhiyun	help
6*4882a593Smuzhiyun	 The PCI-E Non-transparent bridge hardware is a point-to-point PCI-E bus
7*4882a593Smuzhiyun	 connecting 2 systems.  When configured, writes to the device's PCI
8*4882a593Smuzhiyun	 mapped memory will be mirrored to a buffer on the remote system.  The
9*4882a593Smuzhiyun	 ntb Linux driver uses this point-to-point communication as a method to
10*4882a593Smuzhiyun	 transfer data from one system to the other.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	 If unsure, say N.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunif NTB
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunconfig NTB_MSI
17*4882a593Smuzhiyun	bool "MSI Interrupt Support"
18*4882a593Smuzhiyun	depends on PCI_MSI
19*4882a593Smuzhiyun	help
20*4882a593Smuzhiyun	 Support using MSI interrupt forwarding instead of (or in addition to)
21*4882a593Smuzhiyun	 hardware doorbells. MSI interrupts typically offer lower latency
22*4882a593Smuzhiyun	 than doorbells and more MSI interrupts can be made available to
23*4882a593Smuzhiyun	 clients. However this requires an extra memory window and support
24*4882a593Smuzhiyun	 in the hardware driver for creating the MSI interrupts.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	 If unsure, say N.
27*4882a593Smuzhiyunsource "drivers/ntb/hw/Kconfig"
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunsource "drivers/ntb/test/Kconfig"
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunconfig NTB_TRANSPORT
32*4882a593Smuzhiyun	tristate "NTB Transport Client"
33*4882a593Smuzhiyun	help
34*4882a593Smuzhiyun	 This is a transport driver that enables connected systems to exchange
35*4882a593Smuzhiyun	 messages over the ntb hardware.  The transport exposes a queue pair api
36*4882a593Smuzhiyun	 to client drivers.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun	 If unsure, say N.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyunendif # NTB
41