blob: 2137adfbd8c3493de15458504039f2e28b63b624 [file] [log] [blame]
Jan Engelhardt06cc8502007-05-23 14:21:22 -07001menuconfig INFINIBAND
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 tristate "InfiniBand support"
Jan Engelhardt06cc8502007-05-23 14:21:22 -07003 depends on PCI || BROKEN
4 depends on HAS_IOMEM
Roland Dreierb2cbae22011-05-20 11:46:11 -07005 depends on NET
Matan Barak2f85d242014-01-16 17:16:47 +02006 depends on INET
7 depends on m || IPV6 != m
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
Justin P. Mattock631dd1a2010-10-18 11:03:14 +020023 need libibumad from <http://www.openfabrics.org/downloads/management/>.
James Lentini17781cd2005-09-07 12:43:08 -070024
25config INFINIBAND_USER_ACCESS
26 tristate "InfiniBand userspace access (verbs and CM)"
Roland Dreiera265e552010-02-24 16:51:20 -080027 select ANON_INODES
James Lentini17781cd2005-09-07 12:43:08 -070028 ---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
Justin P. Mattock631dd1a2010-10-18 11:03:14 +020035 <http://www.openfabrics.org/git/>.
Roland Dreier2d927d62005-07-07 17:57:14 -070036
Roland Dreierf7c6a7b2007-03-04 16:15:11 -080037config INFINIBAND_USER_MEM
38 bool
39 depends on INFINIBAND_USER_ACCESS != n
40 default y
41
Sagi Grimberg860f10a2014-12-11 17:04:16 +020042config INFINIBAND_ON_DEMAND_PAGING
43 bool "InfiniBand on-demand paging support"
44 depends on INFINIBAND_USER_MEM
Haggai Eran882214e2014-12-11 17:04:18 +020045 select MMU_NOTIFIER
Sagi Grimberg860f10a2014-12-11 17:04:16 +020046 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
Sean Hefty7025fcd2006-06-17 20:37:28 -070053config INFINIBAND_ADDR_TRANS
54 bool
Matan Barak2f85d242014-01-16 17:16:47 +020055 depends on INFINIBAND
Sean Hefty7025fcd2006-06-17 20:37:28 -070056 default y
57
Matan Barak045959d2015-12-23 14:56:55 +020058config 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070067source "drivers/infiniband/hw/mthca/Kconfig"
Ralph Campbellf9315512010-05-23 21:44:54 -070068source "drivers/infiniband/hw/qib/Kconfig"
Steve Wiseb038ced2007-02-12 16:16:18 -080069source "drivers/infiniband/hw/cxgb3/Kconfig"
Steve Wisecfdda9d2010-04-21 15:30:06 -070070source "drivers/infiniband/hw/cxgb4/Kconfig"
Faisal Latif6e4de862016-01-20 13:40:16 -060071source "drivers/infiniband/hw/i40iw/Kconfig"
Roland Dreier225c7b12007-05-08 18:00:38 -070072source "drivers/infiniband/hw/mlx4/Kconfig"
Eli Cohene126ba92013-07-07 17:25:49 +030073source "drivers/infiniband/hw/mlx5/Kconfig"
Glenn Streiff3c2d7742008-02-04 20:20:45 -080074source "drivers/infiniband/hw/nes/Kconfig"
Parav Panditfe2caef2012-03-21 04:09:06 +053075source "drivers/infiniband/hw/ocrdma/Kconfig"
Upinder Malhie3cf00d2013-09-10 03:38:16 +000076source "drivers/infiniband/hw/usnic/Kconfig"
Roland Dreier225c7b12007-05-08 18:00:38 -070077
Linus Torvalds1da177e2005-04-16 15:20:36 -070078source "drivers/infiniband/ulp/ipoib/Kconfig"
79
Roland Dreieraef9ec32005-11-02 14:07:13 -080080source "drivers/infiniband/ulp/srp/Kconfig"
Bart Van Asschea42d9852011-10-14 01:30:46 +000081source "drivers/infiniband/ulp/srpt/Kconfig"
Roland Dreieraef9ec32005-11-02 14:07:13 -080082
Or Gerlitz3f1244a2006-05-11 10:03:30 +030083source "drivers/infiniband/ulp/iser/Kconfig"
Nicholas Bellingerb8d26b32013-03-07 00:56:19 -080084source "drivers/infiniband/ulp/isert/Kconfig"
Or Gerlitz3f1244a2006-05-11 10:03:30 +030085
Dennis Dalessandro01946212016-01-06 09:50:24 -080086source "drivers/infiniband/sw/rdmavt/Kconfig"
87
Dennis Dalessandrof48ad612016-05-19 05:26:51 -070088source "drivers/infiniband/hw/hfi1/Kconfig"
89
Jan Engelhardt06cc8502007-05-23 14:21:22 -070090endif # INFINIBAND