Jan Engelhardt | 06cc850 | 2007-05-23 14:21:22 -0700 | [diff] [blame] | 1 | menuconfig INFINIBAND |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | tristate "InfiniBand support" |
Geert Uytterhoeven | db0acbc | 2017-11-19 19:58:30 +0100 | [diff] [blame] | 3 | depends on HAS_IOMEM && HAS_DMA |
Roland Dreier | b2cbae2 | 2011-05-20 11:46:11 -0700 | [diff] [blame] | 4 | depends on NET |
Matan Barak | 2f85d24 | 2014-01-16 17:16:47 +0200 | [diff] [blame] | 5 | depends on INET |
| 6 | depends on m || IPV6 != m |
Paul E. McKenney | adf90eb | 2017-11-27 09:04:22 -0800 | [diff] [blame] | 7 | depends on !ALPHA |
Christoph Hellwig | 14d3a3b | 2015-12-11 11:53:03 -0800 | [diff] [blame] | 8 | select IRQ_POLL |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Jan Engelhardt | 06cc850 | 2007-05-23 14:21:22 -0700 | [diff] [blame] | 14 | if INFINIBAND |
| 15 | |
James Lentini | 17781cd | 2005-09-07 12:43:08 -0700 | [diff] [blame] | 16 | config INFINIBAND_USER_MAD |
| 17 | tristate "InfiniBand userspace MAD support" |
Roland Dreier | 2d927d6 | 2005-07-07 17:57:14 -0700 | [diff] [blame] | 18 | depends on INFINIBAND |
| 19 | ---help--- |
James Lentini | 17781cd | 2005-09-07 12:43:08 -0700 | [diff] [blame] | 20 | Userspace InfiniBand Management Datagram (MAD) support. This |
| 21 | is the kernel side of the userspace MAD support, which allows |
Roland Dreier | 3cd9656 | 2006-09-22 15:22:46 -0700 | [diff] [blame] | 22 | userspace processes to send and receive MADs. You will also |
Jason Gunthorpe | 46adb17 | 2018-02-02 14:35:29 -0700 | [diff] [blame] | 23 | need libibumad from rdma-core |
| 24 | <https://github.com/linux-rdma/rdma-core>. |
James Lentini | 17781cd | 2005-09-07 12:43:08 -0700 | [diff] [blame] | 25 | |
| 26 | config INFINIBAND_USER_ACCESS |
| 27 | tristate "InfiniBand userspace access (verbs and CM)" |
Roland Dreier | a265e55 | 2010-02-24 16:51:20 -0800 | [diff] [blame] | 28 | select ANON_INODES |
James Lentini | 17781cd | 2005-09-07 12:43:08 -0700 | [diff] [blame] | 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 |
Jason Gunthorpe | 46adb17 | 2018-02-02 14:35:29 -0700 | [diff] [blame] | 36 | rdma-core <https://github.com/linux-rdma/rdma-core>. |
Roland Dreier | 2d927d6 | 2005-07-07 17:57:14 -0700 | [diff] [blame] | 37 | |
Matan Barak | 185899e | 2018-03-19 15:02:40 +0200 | [diff] [blame] | 38 | config INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI |
| 39 | bool "Allow experimental legacy verbs in new ioctl uAPI (EXPERIMENTAL)" |
Matan Barak | 8eb19e8 | 2017-08-03 16:07:07 +0300 | [diff] [blame] | 40 | depends on INFINIBAND_USER_ACCESS |
| 41 | ---help--- |
Matan Barak | 185899e | 2018-03-19 15:02:40 +0200 | [diff] [blame] | 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. |
Matan Barak | 8eb19e8 | 2017-08-03 16:07:07 +0300 | [diff] [blame] | 45 | |
Roland Dreier | f7c6a7b | 2007-03-04 16:15:11 -0800 | [diff] [blame] | 46 | config INFINIBAND_USER_MEM |
| 47 | bool |
| 48 | depends on INFINIBAND_USER_ACCESS != n |
Arnd Bergmann | 9cc12ad | 2017-10-06 09:13:46 +0200 | [diff] [blame] | 49 | depends on MMU |
Roland Dreier | f7c6a7b | 2007-03-04 16:15:11 -0800 | [diff] [blame] | 50 | default y |
| 51 | |
Sagi Grimberg | 860f10a | 2014-12-11 17:04:16 +0200 | [diff] [blame] | 52 | config INFINIBAND_ON_DEMAND_PAGING |
| 53 | bool "InfiniBand on-demand paging support" |
| 54 | depends on INFINIBAND_USER_MEM |
Haggai Eran | 882214e | 2014-12-11 17:04:18 +0200 | [diff] [blame] | 55 | select MMU_NOTIFIER |
Sagi Grimberg | 860f10a | 2014-12-11 17:04:16 +0200 | [diff] [blame] | 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 | |
Sean Hefty | 7025fcd | 2006-06-17 20:37:28 -0700 | [diff] [blame] | 63 | config INFINIBAND_ADDR_TRANS |
Greg Thelen | f7cb7b8 | 2018-04-26 11:19:35 -0700 | [diff] [blame] | 64 | bool "RDMA/CM" |
Matan Barak | 2f85d24 | 2014-01-16 17:16:47 +0200 | [diff] [blame] | 65 | depends on INFINIBAND |
Sean Hefty | 7025fcd | 2006-06-17 20:37:28 -0700 | [diff] [blame] | 66 | default y |
Greg Thelen | f7cb7b8 | 2018-04-26 11:19:35 -0700 | [diff] [blame] | 67 | ---help--- |
| 68 | Support for RDMA communication manager (CM). |
| 69 | This allows for a generic connection abstraction over RDMA. |
Sean Hefty | 7025fcd | 2006-06-17 20:37:28 -0700 | [diff] [blame] | 70 | |
Matan Barak | 045959d | 2015-12-23 14:56:55 +0200 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | source "drivers/infiniband/hw/mthca/Kconfig" |
Ralph Campbell | f931551 | 2010-05-23 21:44:54 -0700 | [diff] [blame] | 81 | source "drivers/infiniband/hw/qib/Kconfig" |
Steve Wise | b038ced | 2007-02-12 16:16:18 -0800 | [diff] [blame] | 82 | source "drivers/infiniband/hw/cxgb3/Kconfig" |
Steve Wise | cfdda9d | 2010-04-21 15:30:06 -0700 | [diff] [blame] | 83 | source "drivers/infiniband/hw/cxgb4/Kconfig" |
Faisal Latif | 6e4de86 | 2016-01-20 13:40:16 -0600 | [diff] [blame] | 84 | source "drivers/infiniband/hw/i40iw/Kconfig" |
Roland Dreier | 225c7b1 | 2007-05-08 18:00:38 -0700 | [diff] [blame] | 85 | source "drivers/infiniband/hw/mlx4/Kconfig" |
Eli Cohen | e126ba9 | 2013-07-07 17:25:49 +0300 | [diff] [blame] | 86 | source "drivers/infiniband/hw/mlx5/Kconfig" |
Glenn Streiff | 3c2d774 | 2008-02-04 20:20:45 -0800 | [diff] [blame] | 87 | source "drivers/infiniband/hw/nes/Kconfig" |
Parav Pandit | fe2caef | 2012-03-21 04:09:06 +0530 | [diff] [blame] | 88 | source "drivers/infiniband/hw/ocrdma/Kconfig" |
Adit Ranadive | 29c8d9e | 2016-10-02 19:10:22 -0700 | [diff] [blame] | 89 | source "drivers/infiniband/hw/vmw_pvrdma/Kconfig" |
Upinder Malhi | e3cf00d | 2013-09-10 03:38:16 +0000 | [diff] [blame] | 90 | source "drivers/infiniband/hw/usnic/Kconfig" |
oulijun | 8793f77 | 2016-07-21 19:06:56 +0800 | [diff] [blame] | 91 | source "drivers/infiniband/hw/hns/Kconfig" |
Roland Dreier | 225c7b1 | 2007-05-08 18:00:38 -0700 | [diff] [blame] | 92 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 93 | source "drivers/infiniband/ulp/ipoib/Kconfig" |
| 94 | |
Roland Dreier | aef9ec3 | 2005-11-02 14:07:13 -0800 | [diff] [blame] | 95 | source "drivers/infiniband/ulp/srp/Kconfig" |
Bart Van Assche | a42d985 | 2011-10-14 01:30:46 +0000 | [diff] [blame] | 96 | source "drivers/infiniband/ulp/srpt/Kconfig" |
Roland Dreier | aef9ec3 | 2005-11-02 14:07:13 -0800 | [diff] [blame] | 97 | |
Or Gerlitz | 3f1244a | 2006-05-11 10:03:30 +0300 | [diff] [blame] | 98 | source "drivers/infiniband/ulp/iser/Kconfig" |
Nicholas Bellinger | b8d26b3 | 2013-03-07 00:56:19 -0800 | [diff] [blame] | 99 | source "drivers/infiniband/ulp/isert/Kconfig" |
Or Gerlitz | 3f1244a | 2006-05-11 10:03:30 +0300 | [diff] [blame] | 100 | |
Vishwanathapura, Niranjana | 7d6f728 | 2017-04-12 20:29:22 -0700 | [diff] [blame] | 101 | source "drivers/infiniband/ulp/opa_vnic/Kconfig" |
Dennis Dalessandro | 0194621 | 2016-01-06 09:50:24 -0800 | [diff] [blame] | 102 | source "drivers/infiniband/sw/rdmavt/Kconfig" |
Moni Shoua | 8700e3e | 2016-06-16 16:45:23 +0300 | [diff] [blame] | 103 | source "drivers/infiniband/sw/rxe/Kconfig" |
Dennis Dalessandro | 0194621 | 2016-01-06 09:50:24 -0800 | [diff] [blame] | 104 | |
Dennis Dalessandro | f48ad61 | 2016-05-19 05:26:51 -0700 | [diff] [blame] | 105 | source "drivers/infiniband/hw/hfi1/Kconfig" |
| 106 | |
Ram Amrani | 2e0cbc4 | 2016-10-10 13:15:30 +0300 | [diff] [blame] | 107 | source "drivers/infiniband/hw/qedr/Kconfig" |
| 108 | |
Selvin Xavier | 592e8b3 | 2017-02-10 03:19:53 -0800 | [diff] [blame] | 109 | source "drivers/infiniband/hw/bnxt_re/Kconfig" |
| 110 | |
Jan Engelhardt | 06cc850 | 2007-05-23 14:21:22 -0700 | [diff] [blame] | 111 | endif # INFINIBAND |