Commit | Line | Data |
---|---|---|
06cc8508 | 1 | menuconfig INFINIBAND |
1da177e4 | 2 | tristate "InfiniBand support" |
db0acbc4 | 3 | depends on HAS_IOMEM && HAS_DMA |
b2cbae2c | 4 | depends on NET |
2f85d24e MB |
5 | depends on INET |
6 | depends on m || IPV6 != m | |
adf90eb4 | 7 | depends on !ALPHA |
14d3a3b2 | 8 | select IRQ_POLL |
1da177e4 LT |
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 | ||
06cc8508 JE |
14 | if INFINIBAND |
15 | ||
17781cd6 JL |
16 | config INFINIBAND_USER_MAD |
17 | tristate "InfiniBand userspace MAD support" | |
2d927d69 RD |
18 | depends on INFINIBAND |
19 | ---help--- | |
17781cd6 JL |
20 | Userspace InfiniBand Management Datagram (MAD) support. This |
21 | is the kernel side of the userspace MAD support, which allows | |
3cd96564 | 22 | userspace processes to send and receive MADs. You will also |
46adb179 JG |
23 | need libibumad from rdma-core |
24 | <https://github.com/linux-rdma/rdma-core>. | |
17781cd6 JL |
25 | |
26 | config INFINIBAND_USER_ACCESS | |
27 | tristate "InfiniBand userspace access (verbs and CM)" | |
a265e558 | 28 | select ANON_INODES |
914e5d7d | 29 | depends on MMU |
17781cd6 JL |
30 | ---help--- |
31 | Userspace InfiniBand access support. This enables the | |
32 | kernel side of userspace verbs and the userspace | |
33 | communication manager (CM). This allows userspace processes | |
34 | to set up connections and directly access InfiniBand | |
35 | hardware for fast-path operations. You will also need | |
36 | libibverbs, libibcm and a hardware driver library from | |
46adb179 | 37 | rdma-core <https://github.com/linux-rdma/rdma-core>. |
2d927d69 | 38 | |
7a8690ed | 39 | config INFINIBAND_USER_ACCESS_UCM |
845b397a | 40 | tristate "Userspace CM (UCM, DEPRECATED)" |
486edfb1 | 41 | depends on BROKEN || COMPILE_TEST |
7a8690ed LR |
42 | depends on INFINIBAND_USER_ACCESS |
43 | help | |
44 | The UCM module has known security flaws, which no one is | |
45 | interested to fix. The user-space part of this code was | |
46 | dropped from the upstream a long time ago. | |
47 | ||
48 | This option is DEPRECATED and planned to be removed. | |
49 | ||
185899ee MB |
50 | config INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI |
51 | bool "Allow experimental legacy verbs in new ioctl uAPI (EXPERIMENTAL)" | |
8eb19e8e MB |
52 | depends on INFINIBAND_USER_ACCESS |
53 | ---help--- | |
185899ee MB |
54 | IOCTL based uAPI support for Infiniband is enabled by default for |
55 | new verbs only. This allows userspace to invoke the IOCTL based uAPI | |
56 | for current legacy verbs too. | |
8eb19e8e | 57 | |
f7c6a7b5 RD |
58 | config INFINIBAND_USER_MEM |
59 | bool | |
60 | depends on INFINIBAND_USER_ACCESS != n | |
9cc12ad6 | 61 | depends on MMU |
f7c6a7b5 RD |
62 | default y |
63 | ||
860f10a7 SG |
64 | config INFINIBAND_ON_DEMAND_PAGING |
65 | bool "InfiniBand on-demand paging support" | |
66 | depends on INFINIBAND_USER_MEM | |
882214e2 | 67 | select MMU_NOTIFIER |
860f10a7 SG |
68 | default y |
69 | ---help--- | |
70 | On demand paging support for the InfiniBand subsystem. | |
71 | Together with driver support this allows registration of | |
72 | memory regions without pinning their pages, fetching the | |
73 | pages on demand instead. | |
74 | ||
7025fcd3 | 75 | config INFINIBAND_ADDR_TRANS |
f7cb7b85 | 76 | bool "RDMA/CM" |
2f85d24e | 77 | depends on INFINIBAND |
7025fcd3 | 78 | default y |
f7cb7b85 GT |
79 | ---help--- |
80 | Support for RDMA communication manager (CM). | |
81 | This allows for a generic connection abstraction over RDMA. | |
7025fcd3 | 82 | |
045959db MB |
83 | config INFINIBAND_ADDR_TRANS_CONFIGFS |
84 | bool | |
85 | depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m) | |
86 | default y | |
87 | ---help--- | |
88 | ConfigFS support for RDMA communication manager (CM). | |
89 | This allows the user to config the default GID type that the CM | |
90 | uses for each device, when initiaing new connections. | |
91 | ||
1da177e4 | 92 | source "drivers/infiniband/hw/mthca/Kconfig" |
f931551b | 93 | source "drivers/infiniband/hw/qib/Kconfig" |
b038ced7 | 94 | source "drivers/infiniband/hw/cxgb3/Kconfig" |
cfdda9d7 | 95 | source "drivers/infiniband/hw/cxgb4/Kconfig" |
6e4de866 | 96 | source "drivers/infiniband/hw/i40iw/Kconfig" |
225c7b1f | 97 | source "drivers/infiniband/hw/mlx4/Kconfig" |
e126ba97 | 98 | source "drivers/infiniband/hw/mlx5/Kconfig" |
3c2d774c | 99 | source "drivers/infiniband/hw/nes/Kconfig" |
fe2caefc | 100 | source "drivers/infiniband/hw/ocrdma/Kconfig" |
29c8d9eb | 101 | source "drivers/infiniband/hw/vmw_pvrdma/Kconfig" |
e3cf00d0 | 102 | source "drivers/infiniband/hw/usnic/Kconfig" |
8793f779 | 103 | source "drivers/infiniband/hw/hns/Kconfig" |
225c7b1f | 104 | |
1da177e4 LT |
105 | source "drivers/infiniband/ulp/ipoib/Kconfig" |
106 | ||
aef9ec39 | 107 | source "drivers/infiniband/ulp/srp/Kconfig" |
a42d985b | 108 | source "drivers/infiniband/ulp/srpt/Kconfig" |
aef9ec39 | 109 | |
3f1244a2 | 110 | source "drivers/infiniband/ulp/iser/Kconfig" |
b8d26b3b | 111 | source "drivers/infiniband/ulp/isert/Kconfig" |
3f1244a2 | 112 | |
7d6f728c | 113 | source "drivers/infiniband/ulp/opa_vnic/Kconfig" |
0194621b | 114 | source "drivers/infiniband/sw/rdmavt/Kconfig" |
8700e3e7 | 115 | source "drivers/infiniband/sw/rxe/Kconfig" |
0194621b | 116 | |
f48ad614 DD |
117 | source "drivers/infiniband/hw/hfi1/Kconfig" |
118 | ||
2e0cbc4d RA |
119 | source "drivers/infiniband/hw/qedr/Kconfig" |
120 | ||
592e8b32 SX |
121 | source "drivers/infiniband/hw/bnxt_re/Kconfig" |
122 | ||
06cc8508 | 123 | endif # INFINIBAND |