1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "InfiniBand support"
4 depends on HAS_IOMEM && HAS_DMA
7 depends on m || IPV6 != m
12 Core support for InfiniBand (IB). Make sure to also select
13 any protocols you wish to use as well as drivers for your
18 config INFINIBAND_USER_MAD
19 tristate "InfiniBand userspace MAD support"
22 Userspace InfiniBand Management Datagram (MAD) support. This
23 is the kernel side of the userspace MAD support, which allows
24 userspace processes to send and receive MADs. You will also
25 need libibumad from rdma-core
26 <https://github.com/linux-rdma/rdma-core>.
28 config INFINIBAND_USER_ACCESS
29 tristate "InfiniBand userspace access (verbs and CM)"
32 Userspace InfiniBand access support. This enables the
33 kernel side of userspace verbs and the userspace
34 communication manager (CM). This allows userspace processes
35 to set up connections and directly access InfiniBand
36 hardware for fast-path operations. You will also need
37 libibverbs, libibcm and a hardware driver library from
38 rdma-core <https://github.com/linux-rdma/rdma-core>.
40 config INFINIBAND_USER_MEM
42 depends on INFINIBAND_USER_ACCESS != n
44 select DMA_SHARED_BUFFER
47 config INFINIBAND_ON_DEMAND_PAGING
48 bool "InfiniBand on-demand paging support"
49 depends on INFINIBAND_USER_MEM
55 On demand paging support for the InfiniBand subsystem.
56 Together with driver support this allows registration of
57 memory regions without pinning their pages, fetching the
58 pages on demand instead.
60 config INFINIBAND_ADDR_TRANS
65 Support for RDMA communication manager (CM).
66 This allows for a generic connection abstraction over RDMA.
68 config INFINIBAND_ADDR_TRANS_CONFIGFS
70 depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m)
73 ConfigFS support for RDMA communication manager (CM).
74 This allows the user to config the default GID type that the CM
75 uses for each device, when initiaing new connections.
77 config INFINIBAND_VIRT_DMA
80 if INFINIBAND_USER_ACCESS || !INFINIBAND_USER_ACCESS
81 source "drivers/infiniband/hw/mthca/Kconfig"
82 source "drivers/infiniband/hw/qib/Kconfig"
83 source "drivers/infiniband/hw/cxgb4/Kconfig"
84 source "drivers/infiniband/hw/efa/Kconfig"
85 source "drivers/infiniband/hw/irdma/Kconfig"
86 source "drivers/infiniband/hw/mlx4/Kconfig"
87 source "drivers/infiniband/hw/mlx5/Kconfig"
88 source "drivers/infiniband/hw/ocrdma/Kconfig"
89 source "drivers/infiniband/hw/vmw_pvrdma/Kconfig"
90 source "drivers/infiniband/hw/usnic/Kconfig"
91 source "drivers/infiniband/hw/hns/Kconfig"
92 source "drivers/infiniband/hw/bnxt_re/Kconfig"
93 source "drivers/infiniband/hw/hfi1/Kconfig"
94 source "drivers/infiniband/hw/qedr/Kconfig"
95 source "drivers/infiniband/sw/rdmavt/Kconfig"
96 source "drivers/infiniband/sw/rxe/Kconfig"
97 source "drivers/infiniband/sw/siw/Kconfig"
100 source "drivers/infiniband/ulp/ipoib/Kconfig"
102 source "drivers/infiniband/ulp/srp/Kconfig"
103 source "drivers/infiniband/ulp/srpt/Kconfig"
105 source "drivers/infiniband/ulp/iser/Kconfig"
106 source "drivers/infiniband/ulp/isert/Kconfig"
107 source "drivers/infiniband/ulp/rtrs/Kconfig"
109 source "drivers/infiniband/ulp/opa_vnic/Kconfig"