1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 206cc8508SJan Engelhardtmenuconfig INFINIBAND 31da177e4SLinus Torvalds tristate "InfiniBand support" 4db0acbc4SGeert Uytterhoeven depends on HAS_IOMEM && HAS_DMA 5b2cbae2cSRoland Dreier depends on NET 62f85d24eSMatan Barak depends on INET 72f85d24eSMatan Barak depends on m || IPV6 != m 8adf90eb4SPaul E. McKenney depends on !ALPHA 914d3a3b2SChristoph Hellwig select IRQ_POLL 10f8fc8cd9SYamin Friedman select DIMLIB 11a7f7f624SMasahiro Yamada help 121da177e4SLinus Torvalds Core support for InfiniBand (IB). Make sure to also select 131da177e4SLinus Torvalds any protocols you wish to use as well as drivers for your 141da177e4SLinus Torvalds InfiniBand hardware. 151da177e4SLinus Torvalds 1606cc8508SJan Engelhardtif INFINIBAND 1706cc8508SJan Engelhardt 1817781cd6SJames Lentiniconfig INFINIBAND_USER_MAD 1917781cd6SJames Lentini tristate "InfiniBand userspace MAD support" 202d927d69SRoland Dreier depends on INFINIBAND 21a7f7f624SMasahiro Yamada help 2217781cd6SJames Lentini Userspace InfiniBand Management Datagram (MAD) support. This 2317781cd6SJames Lentini is the kernel side of the userspace MAD support, which allows 2417781cd6SJames Lentini userspace processes to send and receive MADs. You will also 2546adb179SJason Gunthorpe need libibumad from rdma-core 2646adb179SJason Gunthorpe <https://github.com/linux-rdma/rdma-core>. 2717781cd6SJames Lentini 2817781cd6SJames Lentiniconfig INFINIBAND_USER_ACCESS 2917781cd6SJames Lentini tristate "InfiniBand userspace access (verbs and CM)" 30914e5d7dSJason Gunthorpe depends on MMU 31a7f7f624SMasahiro Yamada help 3217781cd6SJames Lentini Userspace InfiniBand access support. This enables the 3317781cd6SJames Lentini kernel side of userspace verbs and the userspace 3417781cd6SJames Lentini communication manager (CM). This allows userspace processes 3517781cd6SJames Lentini to set up connections and directly access InfiniBand 3617781cd6SJames Lentini hardware for fast-path operations. You will also need 3717781cd6SJames Lentini libibverbs, libibcm and a hardware driver library from 3846adb179SJason Gunthorpe rdma-core <https://github.com/linux-rdma/rdma-core>. 392d927d69SRoland Dreier 40f7c6a7b5SRoland Dreierconfig INFINIBAND_USER_MEM 41f7c6a7b5SRoland Dreier bool 42f7c6a7b5SRoland Dreier depends on INFINIBAND_USER_ACCESS != n 439cc12ad6SArnd Bergmann depends on MMU 44f7c6a7b5SRoland Dreier default y 45f7c6a7b5SRoland Dreier 46860f10a7SSagi Grimbergconfig INFINIBAND_ON_DEMAND_PAGING 47860f10a7SSagi Grimberg bool "InfiniBand on-demand paging support" 48860f10a7SSagi Grimberg depends on INFINIBAND_USER_MEM 49882214e2SHaggai Eran select MMU_NOTIFIER 507cc2e18fSJason Gunthorpe select INTERVAL_TREE 5136f30e48SYishai Hadas select HMM_MIRROR 52860f10a7SSagi Grimberg default y 53a7f7f624SMasahiro Yamada help 54860f10a7SSagi Grimberg On demand paging support for the InfiniBand subsystem. 55860f10a7SSagi Grimberg Together with driver support this allows registration of 56860f10a7SSagi Grimberg memory regions without pinning their pages, fetching the 57860f10a7SSagi Grimberg pages on demand instead. 58860f10a7SSagi Grimberg 597025fcd3SSean Heftyconfig INFINIBAND_ADDR_TRANS 60f7cb7b85SGreg Thelen bool "RDMA/CM" 612f85d24eSMatan Barak depends on INFINIBAND 627025fcd3SSean Hefty default y 63a7f7f624SMasahiro Yamada help 64f7cb7b85SGreg Thelen Support for RDMA communication manager (CM). 65f7cb7b85SGreg Thelen This allows for a generic connection abstraction over RDMA. 667025fcd3SSean Hefty 67045959dbSMatan Barakconfig INFINIBAND_ADDR_TRANS_CONFIGFS 68045959dbSMatan Barak bool 69045959dbSMatan Barak depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m) 70045959dbSMatan Barak default y 71a7f7f624SMasahiro Yamada help 72045959dbSMatan Barak ConfigFS support for RDMA communication manager (CM). 73045959dbSMatan Barak This allows the user to config the default GID type that the CM 74045959dbSMatan Barak uses for each device, when initiaing new connections. 75045959dbSMatan Barak 766fa8f1afSShamir Rabinovitchif INFINIBAND_USER_ACCESS || !INFINIBAND_USER_ACCESS 771da177e4SLinus Torvaldssource "drivers/infiniband/hw/mthca/Kconfig" 78f931551bSRalph Campbellsource "drivers/infiniband/hw/qib/Kconfig" 79cfdda9d7SSteve Wisesource "drivers/infiniband/hw/cxgb4/Kconfig" 80f23afd75SGal Pressmansource "drivers/infiniband/hw/efa/Kconfig" 816e4de866SFaisal Latifsource "drivers/infiniband/hw/i40iw/Kconfig" 82225c7b1fSRoland Dreiersource "drivers/infiniband/hw/mlx4/Kconfig" 83e126ba97SEli Cohensource "drivers/infiniband/hw/mlx5/Kconfig" 84fe2caefcSParav Panditsource "drivers/infiniband/hw/ocrdma/Kconfig" 8529c8d9ebSAdit Ranadivesource "drivers/infiniband/hw/vmw_pvrdma/Kconfig" 86e3cf00d0SUpinder Malhisource "drivers/infiniband/hw/usnic/Kconfig" 878793f779Soulijunsource "drivers/infiniband/hw/hns/Kconfig" 886fa8f1afSShamir Rabinovitchsource "drivers/infiniband/hw/bnxt_re/Kconfig" 896fa8f1afSShamir Rabinovitchsource "drivers/infiniband/hw/hfi1/Kconfig" 906fa8f1afSShamir Rabinovitchsource "drivers/infiniband/hw/qedr/Kconfig" 916fa8f1afSShamir Rabinovitchsource "drivers/infiniband/sw/rdmavt/Kconfig" 926fa8f1afSShamir Rabinovitchsource "drivers/infiniband/sw/rxe/Kconfig" 93c0cf5bddSBernard Metzlersource "drivers/infiniband/sw/siw/Kconfig" 946fa8f1afSShamir Rabinovitchendif 95225c7b1fSRoland Dreier 961da177e4SLinus Torvaldssource "drivers/infiniband/ulp/ipoib/Kconfig" 971da177e4SLinus Torvalds 98aef9ec39SRoland Dreiersource "drivers/infiniband/ulp/srp/Kconfig" 99a42d985bSBart Van Asschesource "drivers/infiniband/ulp/srpt/Kconfig" 100aef9ec39SRoland Dreier 1013f1244a2SOr Gerlitzsource "drivers/infiniband/ulp/iser/Kconfig" 102b8d26b3bSNicholas Bellingersource "drivers/infiniband/ulp/isert/Kconfig" 103c013fbc1SJack Wangsource "drivers/infiniband/ulp/rtrs/Kconfig" 1043f1244a2SOr Gerlitz 1057d6f728cSVishwanathapura, Niranjanasource "drivers/infiniband/ulp/opa_vnic/Kconfig" 106592e8b32SSelvin Xavier 10706cc8508SJan Engelhardtendif # INFINIBAND 108