xref: /openbmc/linux/drivers/infiniband/Kconfig (revision 7587eb18)
1menuconfig 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_MEM
38	bool
39	depends on INFINIBAND_USER_ACCESS != n
40	default y
41
42config INFINIBAND_ON_DEMAND_PAGING
43	bool "InfiniBand on-demand paging support"
44	depends on INFINIBAND_USER_MEM
45	select MMU_NOTIFIER
46	default y
47	---help---
48	  On demand paging support for the InfiniBand subsystem.
49	  Together with driver support this allows registration of
50	  memory regions without pinning their pages, fetching the
51	  pages on demand instead.
52
53config INFINIBAND_ADDR_TRANS
54	bool
55	depends on INFINIBAND
56	default y
57
58config INFINIBAND_ADDR_TRANS_CONFIGFS
59	bool
60	depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m)
61	default y
62	---help---
63	  ConfigFS support for RDMA communication manager (CM).
64	  This allows the user to config the default GID type that the CM
65	  uses for each device, when initiaing new connections.
66
67source "drivers/infiniband/hw/mthca/Kconfig"
68source "drivers/infiniband/hw/qib/Kconfig"
69source "drivers/infiniband/hw/cxgb3/Kconfig"
70source "drivers/infiniband/hw/cxgb4/Kconfig"
71source "drivers/infiniband/hw/i40iw/Kconfig"
72source "drivers/infiniband/hw/mlx4/Kconfig"
73source "drivers/infiniband/hw/mlx5/Kconfig"
74source "drivers/infiniband/hw/nes/Kconfig"
75source "drivers/infiniband/hw/ocrdma/Kconfig"
76source "drivers/infiniband/hw/usnic/Kconfig"
77
78source "drivers/infiniband/ulp/ipoib/Kconfig"
79
80source "drivers/infiniband/ulp/srp/Kconfig"
81source "drivers/infiniband/ulp/srpt/Kconfig"
82
83source "drivers/infiniband/ulp/iser/Kconfig"
84source "drivers/infiniband/ulp/isert/Kconfig"
85
86source "drivers/infiniband/sw/rdmavt/Kconfig"
87
88source "drivers/infiniband/hw/hfi1/Kconfig"
89
90endif # INFINIBAND
91