blob: d160d2d1f3a3fbe1b18ddf5a8d26ec7d74e8df2f [file] [log] [blame]
Jan Engelhardt06cc8502007-05-23 14:21:22 -07001menuconfig INFINIBAND
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 tristate "InfiniBand support"
Geert Uytterhoevendb0acbc2017-11-19 19:58:30 +01003 depends on HAS_IOMEM && HAS_DMA
Roland Dreierb2cbae22011-05-20 11:46:11 -07004 depends on NET
Matan Barak2f85d242014-01-16 17:16:47 +02005 depends on INET
6 depends on m || IPV6 != m
Paul E. McKenneyadf90eb2017-11-27 09:04:22 -08007 depends on !ALPHA
Christoph Hellwig14d3a3b2015-12-11 11:53:03 -08008 select IRQ_POLL
Linus Torvalds1da177e2005-04-16 15:20:36 -07009 ---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
Jan Engelhardt06cc8502007-05-23 14:21:22 -070014if INFINIBAND
15
James Lentini17781cd2005-09-07 12:43:08 -070016config INFINIBAND_USER_MAD
17 tristate "InfiniBand userspace MAD support"
Roland Dreier2d927d62005-07-07 17:57:14 -070018 depends on INFINIBAND
19 ---help---
James Lentini17781cd2005-09-07 12:43:08 -070020 Userspace InfiniBand Management Datagram (MAD) support. This
21 is the kernel side of the userspace MAD support, which allows
Roland Dreier3cd96562006-09-22 15:22:46 -070022 userspace processes to send and receive MADs. You will also
Jason Gunthorpe46adb172018-02-02 14:35:29 -070023 need libibumad from rdma-core
24 <https://github.com/linux-rdma/rdma-core>.
James Lentini17781cd2005-09-07 12:43:08 -070025
26config INFINIBAND_USER_ACCESS
27 tristate "InfiniBand userspace access (verbs and CM)"
Roland Dreiera265e552010-02-24 16:51:20 -080028 select ANON_INODES
James Lentini17781cd2005-09-07 12:43:08 -070029 ---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
Jason Gunthorpe46adb172018-02-02 14:35:29 -070036 rdma-core <https://github.com/linux-rdma/rdma-core>.
Roland Dreier2d927d62005-07-07 17:57:14 -070037
Leon Romanovsky7a8690e2018-05-23 08:22:11 +030038config INFINIBAND_USER_ACCESS_UCM
39 bool "Userspace CM (UCM, DEPRECATED)"
Jason Gunthorpe486edfb2018-08-13 20:04:37 -060040 depends on BROKEN || COMPILE_TEST
Leon Romanovsky7a8690e2018-05-23 08:22:11 +030041 depends on INFINIBAND_USER_ACCESS
42 help
43 The UCM module has known security flaws, which no one is
44 interested to fix. The user-space part of this code was
45 dropped from the upstream a long time ago.
46
47 This option is DEPRECATED and planned to be removed.
48
Matan Barak185899e2018-03-19 15:02:40 +020049config INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI
50 bool "Allow experimental legacy verbs in new ioctl uAPI (EXPERIMENTAL)"
Matan Barak8eb19e82017-08-03 16:07:07 +030051 depends on INFINIBAND_USER_ACCESS
52 ---help---
Matan Barak185899e2018-03-19 15:02:40 +020053 IOCTL based uAPI support for Infiniband is enabled by default for
54 new verbs only. This allows userspace to invoke the IOCTL based uAPI
55 for current legacy verbs too.
Matan Barak8eb19e82017-08-03 16:07:07 +030056
Roland Dreierf7c6a7b2007-03-04 16:15:11 -080057config INFINIBAND_USER_MEM
58 bool
59 depends on INFINIBAND_USER_ACCESS != n
Arnd Bergmann9cc12ad2017-10-06 09:13:46 +020060 depends on MMU
Roland Dreierf7c6a7b2007-03-04 16:15:11 -080061 default y
62
Sagi Grimberg860f10a2014-12-11 17:04:16 +020063config INFINIBAND_ON_DEMAND_PAGING
64 bool "InfiniBand on-demand paging support"
65 depends on INFINIBAND_USER_MEM
Haggai Eran882214e2014-12-11 17:04:18 +020066 select MMU_NOTIFIER
Sagi Grimberg860f10a2014-12-11 17:04:16 +020067 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
Sean Hefty7025fcd2006-06-17 20:37:28 -070074config INFINIBAND_ADDR_TRANS
Greg Thelenf7cb7b82018-04-26 11:19:35 -070075 bool "RDMA/CM"
Matan Barak2f85d242014-01-16 17:16:47 +020076 depends on INFINIBAND
Sean Hefty7025fcd2006-06-17 20:37:28 -070077 default y
Greg Thelenf7cb7b82018-04-26 11:19:35 -070078 ---help---
79 Support for RDMA communication manager (CM).
80 This allows for a generic connection abstraction over RDMA.
Sean Hefty7025fcd2006-06-17 20:37:28 -070081
Matan Barak045959d2015-12-23 14:56:55 +020082config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070091source "drivers/infiniband/hw/mthca/Kconfig"
Ralph Campbellf9315512010-05-23 21:44:54 -070092source "drivers/infiniband/hw/qib/Kconfig"
Steve Wiseb038ced2007-02-12 16:16:18 -080093source "drivers/infiniband/hw/cxgb3/Kconfig"
Steve Wisecfdda9d2010-04-21 15:30:06 -070094source "drivers/infiniband/hw/cxgb4/Kconfig"
Faisal Latif6e4de862016-01-20 13:40:16 -060095source "drivers/infiniband/hw/i40iw/Kconfig"
Roland Dreier225c7b12007-05-08 18:00:38 -070096source "drivers/infiniband/hw/mlx4/Kconfig"
Eli Cohene126ba92013-07-07 17:25:49 +030097source "drivers/infiniband/hw/mlx5/Kconfig"
Glenn Streiff3c2d7742008-02-04 20:20:45 -080098source "drivers/infiniband/hw/nes/Kconfig"
Parav Panditfe2caef2012-03-21 04:09:06 +053099source "drivers/infiniband/hw/ocrdma/Kconfig"
Adit Ranadive29c8d9e2016-10-02 19:10:22 -0700100source "drivers/infiniband/hw/vmw_pvrdma/Kconfig"
Upinder Malhie3cf00d2013-09-10 03:38:16 +0000101source "drivers/infiniband/hw/usnic/Kconfig"
oulijun8793f772016-07-21 19:06:56 +0800102source "drivers/infiniband/hw/hns/Kconfig"
Roland Dreier225c7b12007-05-08 18:00:38 -0700103
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104source "drivers/infiniband/ulp/ipoib/Kconfig"
105
Roland Dreieraef9ec32005-11-02 14:07:13 -0800106source "drivers/infiniband/ulp/srp/Kconfig"
Bart Van Asschea42d9852011-10-14 01:30:46 +0000107source "drivers/infiniband/ulp/srpt/Kconfig"
Roland Dreieraef9ec32005-11-02 14:07:13 -0800108
Or Gerlitz3f1244a2006-05-11 10:03:30 +0300109source "drivers/infiniband/ulp/iser/Kconfig"
Nicholas Bellingerb8d26b32013-03-07 00:56:19 -0800110source "drivers/infiniband/ulp/isert/Kconfig"
Or Gerlitz3f1244a2006-05-11 10:03:30 +0300111
Vishwanathapura, Niranjana7d6f7282017-04-12 20:29:22 -0700112source "drivers/infiniband/ulp/opa_vnic/Kconfig"
Dennis Dalessandro01946212016-01-06 09:50:24 -0800113source "drivers/infiniband/sw/rdmavt/Kconfig"
Moni Shoua8700e3e2016-06-16 16:45:23 +0300114source "drivers/infiniband/sw/rxe/Kconfig"
Dennis Dalessandro01946212016-01-06 09:50:24 -0800115
Dennis Dalessandrof48ad612016-05-19 05:26:51 -0700116source "drivers/infiniband/hw/hfi1/Kconfig"
117
Ram Amrani2e0cbc42016-10-10 13:15:30 +0300118source "drivers/infiniband/hw/qedr/Kconfig"
119
Selvin Xavier592e8b32017-02-10 03:19:53 -0800120source "drivers/infiniband/hw/bnxt_re/Kconfig"
121
Jan Engelhardt06cc8502007-05-23 14:21:22 -0700122endif # INFINIBAND