Merge tag 'mlx5-updates-2018-05-17' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / drivers / infiniband / Kconfig
1 menuconfig INFINIBAND
2         tristate "InfiniBand support"
3         depends on HAS_IOMEM && HAS_DMA
4         depends on NET
5         depends on INET
6         depends on m || IPV6 != m
7         depends on !ALPHA
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
14 if INFINIBAND
15
16 config 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 rdma-core
24           <https://github.com/linux-rdma/rdma-core>.
25
26 config INFINIBAND_USER_ACCESS
27         tristate "InfiniBand userspace access (verbs and CM)"
28         select ANON_INODES
29         ---help---
30           Userspace InfiniBand access support.  This enables the
31           kernel side of userspace verbs and the userspace
32           communication manager (CM).  This allows userspace processes
33           to set up connections and directly access InfiniBand
34           hardware for fast-path operations.  You will also need
35           libibverbs, libibcm and a hardware driver library from
36           rdma-core <https://github.com/linux-rdma/rdma-core>.
37
38 config INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI
39         bool "Allow experimental legacy verbs in new ioctl uAPI  (EXPERIMENTAL)"
40         depends on INFINIBAND_USER_ACCESS
41         ---help---
42           IOCTL based uAPI support for Infiniband is enabled by default for
43           new verbs only. This allows userspace to invoke the IOCTL based uAPI
44           for current legacy verbs too.
45
46 config INFINIBAND_USER_MEM
47         bool
48         depends on INFINIBAND_USER_ACCESS != n
49         depends on MMU
50         default y
51
52 config INFINIBAND_ON_DEMAND_PAGING
53         bool "InfiniBand on-demand paging support"
54         depends on INFINIBAND_USER_MEM
55         select MMU_NOTIFIER
56         default y
57         ---help---
58           On demand paging support for the InfiniBand subsystem.
59           Together with driver support this allows registration of
60           memory regions without pinning their pages, fetching the
61           pages on demand instead.
62
63 config INFINIBAND_ADDR_TRANS
64         bool "RDMA/CM"
65         depends on INFINIBAND
66         default y
67         ---help---
68           Support for RDMA communication manager (CM).
69           This allows for a generic connection abstraction over RDMA.
70
71 config INFINIBAND_ADDR_TRANS_CONFIGFS
72         bool
73         depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m)
74         default y
75         ---help---
76           ConfigFS support for RDMA communication manager (CM).
77           This allows the user to config the default GID type that the CM
78           uses for each device, when initiaing new connections.
79
80 source "drivers/infiniband/hw/mthca/Kconfig"
81 source "drivers/infiniband/hw/qib/Kconfig"
82 source "drivers/infiniband/hw/cxgb3/Kconfig"
83 source "drivers/infiniband/hw/cxgb4/Kconfig"
84 source "drivers/infiniband/hw/i40iw/Kconfig"
85 source "drivers/infiniband/hw/mlx4/Kconfig"
86 source "drivers/infiniband/hw/mlx5/Kconfig"
87 source "drivers/infiniband/hw/nes/Kconfig"
88 source "drivers/infiniband/hw/ocrdma/Kconfig"
89 source "drivers/infiniband/hw/vmw_pvrdma/Kconfig"
90 source "drivers/infiniband/hw/usnic/Kconfig"
91 source "drivers/infiniband/hw/hns/Kconfig"
92
93 source "drivers/infiniband/ulp/ipoib/Kconfig"
94
95 source "drivers/infiniband/ulp/srp/Kconfig"
96 source "drivers/infiniband/ulp/srpt/Kconfig"
97
98 source "drivers/infiniband/ulp/iser/Kconfig"
99 source "drivers/infiniband/ulp/isert/Kconfig"
100
101 source "drivers/infiniband/ulp/opa_vnic/Kconfig"
102 source "drivers/infiniband/sw/rdmavt/Kconfig"
103 source "drivers/infiniband/sw/rxe/Kconfig"
104
105 source "drivers/infiniband/hw/hfi1/Kconfig"
106
107 source "drivers/infiniband/hw/qedr/Kconfig"
108
109 source "drivers/infiniband/hw/bnxt_re/Kconfig"
110
111 endif # INFINIBAND