blob: 27b3c39e586afbfc3b04787006b4585ac91aa3f7 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001menuconfig INFINIBAND
2 tristate "InfiniBand support"
3 depends on PCI || BROKEN
4 depends on HAS_IOMEM
5 depends on NET
6 depends on INET
7 depends on m || IPV6 != m
8 select IRQ_POLL
9 ---help---
10 Core support for InfiniBand (IB). Make sure to also select
11 any protocols you wish to use as well as drivers for your
12 InfiniBand hardware.
13
14if INFINIBAND
15
16config INFINIBAND_USER_MAD
17 tristate "InfiniBand userspace MAD support"
18 depends on INFINIBAND
19 ---help---
20 Userspace InfiniBand Management Datagram (MAD) support. This
21 is the kernel side of the userspace MAD support, which allows
22 userspace processes to send and receive MADs. You will also
23 need libibumad from <http://www.openfabrics.org/downloads/management/>.
24
25config INFINIBAND_USER_ACCESS
26 tristate "InfiniBand userspace access (verbs and CM)"
27 select ANON_INODES
28 ---help---
29 Userspace InfiniBand access support. This enables the
30 kernel side of userspace verbs and the userspace
31 communication manager (CM). This allows userspace processes
32 to set up connections and directly access InfiniBand
33 hardware for fast-path operations. You will also need
34 libibverbs, libibcm and a hardware driver library from
35 <http://www.openfabrics.org/git/>.
36
37config INFINIBAND_USER_ACCESS_UCM
38 bool "Userspace CM (UCM, DEPRECATED)"
39 depends on BROKEN
40 depends on INFINIBAND_USER_ACCESS
41 help
42 The UCM module has known security flaws, which no one is
43 interested to fix. The user-space part of this code was
44 dropped from the upstream a long time ago.
45
46 This option is DEPRECATED and planned to be removed.
47
48
49config INFINIBAND_EXP_USER_ACCESS
50 bool "Allow experimental support for Infiniband ABI"
51 depends on INFINIBAND_USER_ACCESS
52 ---help---
53 IOCTL based ABI support for Infiniband. This allows userspace
54 to invoke the experimental IOCTL based ABI.
55 These commands are parsed via per-device parsing tree and
56 enables per-device features.
57
58config INFINIBAND_USER_MEM
59 bool
60 depends on INFINIBAND_USER_ACCESS != n
61 default y
62
63config INFINIBAND_ON_DEMAND_PAGING
64 bool "InfiniBand on-demand paging support"
65 depends on INFINIBAND_USER_MEM
66 select MMU_NOTIFIER
67 default y
68 ---help---
69 On demand paging support for the InfiniBand subsystem.
70 Together with driver support this allows registration of
71 memory regions without pinning their pages, fetching the
72 pages on demand instead.
73
74config INFINIBAND_ADDR_TRANS
75 bool "RDMA/CM"
76 depends on INFINIBAND
77 default y
78 ---help---
79 Support for RDMA communication manager (CM).
80 This allows for a generic connection abstraction over RDMA.
81
82config INFINIBAND_ADDR_TRANS_CONFIGFS
83 bool
84 depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m)
85 default y
86 ---help---
87 ConfigFS support for RDMA communication manager (CM).
88 This allows the user to config the default GID type that the CM
89 uses for each device, when initiaing new connections.
90
91source "drivers/infiniband/hw/mthca/Kconfig"
92source "drivers/infiniband/hw/qib/Kconfig"
93source "drivers/infiniband/hw/cxgb3/Kconfig"
94source "drivers/infiniband/hw/cxgb4/Kconfig"
95source "drivers/infiniband/hw/i40iw/Kconfig"
96source "drivers/infiniband/hw/mlx4/Kconfig"
97source "drivers/infiniband/hw/mlx5/Kconfig"
98source "drivers/infiniband/hw/nes/Kconfig"
99source "drivers/infiniband/hw/ocrdma/Kconfig"
100source "drivers/infiniband/hw/vmw_pvrdma/Kconfig"
101source "drivers/infiniband/hw/usnic/Kconfig"
102source "drivers/infiniband/hw/hns/Kconfig"
103
104source "drivers/infiniband/ulp/ipoib/Kconfig"
105
106source "drivers/infiniband/ulp/srp/Kconfig"
107source "drivers/infiniband/ulp/srpt/Kconfig"
108
109source "drivers/infiniband/ulp/iser/Kconfig"
110source "drivers/infiniband/ulp/isert/Kconfig"
111
112source "drivers/infiniband/ulp/opa_vnic/Kconfig"
113source "drivers/infiniband/sw/rdmavt/Kconfig"
114source "drivers/infiniband/sw/rxe/Kconfig"
115
116source "drivers/infiniband/hw/hfi1/Kconfig"
117
118source "drivers/infiniband/hw/qedr/Kconfig"
119
120source "drivers/infiniband/hw/bnxt_re/Kconfig"
121
122endif # INFINIBAND