Kconfig 4.0 KB
Newer Older
1
menuconfig INFINIBAND
L
Linus Torvalds 已提交
2
	tristate "InfiniBand support"
3
	depends on HAS_IOMEM && HAS_DMA
R
Roland Dreier 已提交
4
	depends on NET
5 6
	depends on INET
	depends on m || IPV6 != m
7
	depends on !ALPHA
8
	select IRQ_POLL
L
Linus Torvalds 已提交
9 10 11 12 13
	---help---
	  Core support for InfiniBand (IB).  Make sure to also select
	  any protocols you wish to use as well as drivers for your
	  InfiniBand hardware.

14 15
if INFINIBAND

16 17
config INFINIBAND_USER_MAD
	tristate "InfiniBand userspace MAD support"
18 19
	depends on INFINIBAND
	---help---
20 21
	  Userspace InfiniBand Management Datagram (MAD) support.  This
	  is the kernel side of the userspace MAD support, which allows
R
Roland Dreier 已提交
22
	  userspace processes to send and receive MADs. You will also
23 24
	  need libibumad from rdma-core
	  <https://github.com/linux-rdma/rdma-core>.
25 26 27

config INFINIBAND_USER_ACCESS
	tristate "InfiniBand userspace access (verbs and CM)"
28
	depends on MMU
29 30 31 32 33 34 35
	---help---
	  Userspace InfiniBand access support.  This enables the
	  kernel side of userspace verbs and the userspace
	  communication manager (CM).  This allows userspace processes
	  to set up connections and directly access InfiniBand
	  hardware for fast-path operations.  You will also need
	  libibverbs, libibcm and a hardware driver library from
36
	  rdma-core <https://github.com/linux-rdma/rdma-core>.
37

38
config INFINIBAND_USER_ACCESS_UCM
A
Arnd Bergmann 已提交
39
	tristate "Userspace CM (UCM, DEPRECATED)"
J
Jason Gunthorpe 已提交
40
	depends on BROKEN || COMPILE_TEST
41 42 43 44 45 46 47 48
	depends on INFINIBAND_USER_ACCESS
	help
	  The UCM module has known security flaws, which no one is
	  interested to fix. The user-space part of this code was
	  dropped from the upstream a long time ago.

	  This option is DEPRECATED and planned to be removed.

49 50
config INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI
	bool "Allow experimental legacy verbs in new ioctl uAPI  (EXPERIMENTAL)"
51 52
	depends on INFINIBAND_USER_ACCESS
	---help---
53 54 55
	  IOCTL based uAPI support for Infiniband is enabled by default for
	  new verbs only. This allows userspace to invoke the IOCTL based uAPI
	  for current legacy verbs too.
56

57 58 59
config INFINIBAND_USER_MEM
	bool
	depends on INFINIBAND_USER_ACCESS != n
60
	depends on MMU
61 62
	default y

63 64 65
config INFINIBAND_ON_DEMAND_PAGING
	bool "InfiniBand on-demand paging support"
	depends on INFINIBAND_USER_MEM
66
	select MMU_NOTIFIER
67 68 69 70 71 72 73
	default y
	---help---
	  On demand paging support for the InfiniBand subsystem.
	  Together with driver support this allows registration of
	  memory regions without pinning their pages, fetching the
	  pages on demand instead.

74
config INFINIBAND_ADDR_TRANS
75
	bool "RDMA/CM"
76
	depends on INFINIBAND
77
	default y
78 79 80
	---help---
	  Support for RDMA communication manager (CM).
	  This allows for a generic connection abstraction over RDMA.
81

M
Matan Barak 已提交
82 83 84 85 86 87 88 89 90
config INFINIBAND_ADDR_TRANS_CONFIGFS
	bool
	depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m)
	default y
	---help---
	  ConfigFS support for RDMA communication manager (CM).
	  This allows the user to config the default GID type that the CM
	  uses for each device, when initiaing new connections.

91
if INFINIBAND_USER_ACCESS || !INFINIBAND_USER_ACCESS
L
Linus Torvalds 已提交
92
source "drivers/infiniband/hw/mthca/Kconfig"
93
source "drivers/infiniband/hw/qib/Kconfig"
94
source "drivers/infiniband/hw/cxgb3/Kconfig"
95
source "drivers/infiniband/hw/cxgb4/Kconfig"
96
source "drivers/infiniband/hw/efa/Kconfig"
97
source "drivers/infiniband/hw/i40iw/Kconfig"
98
source "drivers/infiniband/hw/mlx4/Kconfig"
99
source "drivers/infiniband/hw/mlx5/Kconfig"
100
source "drivers/infiniband/hw/nes/Kconfig"
101
source "drivers/infiniband/hw/ocrdma/Kconfig"
A
Adit Ranadive 已提交
102
source "drivers/infiniband/hw/vmw_pvrdma/Kconfig"
103
source "drivers/infiniband/hw/usnic/Kconfig"
104
source "drivers/infiniband/hw/hns/Kconfig"
105 106 107 108 109 110
source "drivers/infiniband/hw/bnxt_re/Kconfig"
source "drivers/infiniband/hw/hfi1/Kconfig"
source "drivers/infiniband/hw/qedr/Kconfig"
source "drivers/infiniband/sw/rdmavt/Kconfig"
source "drivers/infiniband/sw/rxe/Kconfig"
endif
111

L
Linus Torvalds 已提交
112 113
source "drivers/infiniband/ulp/ipoib/Kconfig"

114
source "drivers/infiniband/ulp/srp/Kconfig"
115
source "drivers/infiniband/ulp/srpt/Kconfig"
116

O
Or Gerlitz 已提交
117
source "drivers/infiniband/ulp/iser/Kconfig"
118
source "drivers/infiniband/ulp/isert/Kconfig"
O
Or Gerlitz 已提交
119

120
source "drivers/infiniband/ulp/opa_vnic/Kconfig"
121

122
endif # INFINIBAND