Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. menuconfig INFINIBAND
  2. tristate "InfiniBand support"
  3. depends on HAS_IOMEM && HAS_DMA
  4. depends on NET
  5. depends on INET
  6. depends on m || IPV6 != m
  7. depends on !ALPHA
  8. select IRQ_POLL
  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. if INFINIBAND
  14. config INFINIBAND_USER_MAD
  15. tristate "InfiniBand userspace MAD support"
  16. depends on INFINIBAND
  17. ---help---
  18. Userspace InfiniBand Management Datagram (MAD) support. This
  19. is the kernel side of the userspace MAD support, which allows
  20. userspace processes to send and receive MADs. You will also
  21. need libibumad from rdma-core
  22. <https://github.com/linux-rdma/rdma-core>.
  23. config INFINIBAND_USER_ACCESS
  24. tristate "InfiniBand userspace access (verbs and CM)"
  25. ---help---
  26. Userspace InfiniBand access support. This enables the
  27. kernel side of userspace verbs and the userspace
  28. communication manager (CM). This allows userspace processes
  29. to set up connections and directly access InfiniBand
  30. hardware for fast-path operations. You will also need
  31. libibverbs, libibcm and a hardware driver library from
  32. rdma-core <https://github.com/linux-rdma/rdma-core>.
  33. config INFINIBAND_USER_ACCESS_UCM
  34. tristate "Userspace CM (UCM, DEPRECATED)"
  35. depends on BROKEN || COMPILE_TEST
  36. depends on INFINIBAND_USER_ACCESS
  37. help
  38. The UCM module has known security flaws, which no one is
  39. interested to fix. The user-space part of this code was
  40. dropped from the upstream a long time ago.
  41. This option is DEPRECATED and planned to be removed.
  42. config INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI
  43. bool "Allow experimental legacy verbs in new ioctl uAPI (EXPERIMENTAL)"
  44. depends on INFINIBAND_USER_ACCESS
  45. ---help---
  46. IOCTL based uAPI support for Infiniband is enabled by default for
  47. new verbs only. This allows userspace to invoke the IOCTL based uAPI
  48. for current legacy verbs too.
  49. config INFINIBAND_USER_MEM
  50. bool
  51. depends on INFINIBAND_USER_ACCESS != n
  52. depends on MMU
  53. default y
  54. config INFINIBAND_ON_DEMAND_PAGING
  55. bool "InfiniBand on-demand paging support"
  56. depends on INFINIBAND_USER_MEM
  57. select MMU_NOTIFIER
  58. default y
  59. ---help---
  60. On demand paging support for the InfiniBand subsystem.
  61. Together with driver support this allows registration of
  62. memory regions without pinning their pages, fetching the
  63. pages on demand instead.
  64. config INFINIBAND_ADDR_TRANS
  65. bool "RDMA/CM"
  66. depends on INFINIBAND
  67. default y
  68. ---help---
  69. Support for RDMA communication manager (CM).
  70. This allows for a generic connection abstraction over RDMA.
  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. source "drivers/infiniband/hw/mthca/Kconfig"
  80. source "drivers/infiniband/hw/qib/Kconfig"
  81. source "drivers/infiniband/hw/cxgb3/Kconfig"
  82. source "drivers/infiniband/hw/cxgb4/Kconfig"
  83. source "drivers/infiniband/hw/i40iw/Kconfig"
  84. source "drivers/infiniband/hw/mlx4/Kconfig"
  85. source "drivers/infiniband/hw/mlx5/Kconfig"
  86. source "drivers/infiniband/hw/nes/Kconfig"
  87. source "drivers/infiniband/hw/ocrdma/Kconfig"
  88. source "drivers/infiniband/hw/vmw_pvrdma/Kconfig"
  89. source "drivers/infiniband/hw/usnic/Kconfig"
  90. source "drivers/infiniband/hw/hns/Kconfig"
  91. source "drivers/infiniband/ulp/ipoib/Kconfig"
  92. source "drivers/infiniband/ulp/srp/Kconfig"
  93. source "drivers/infiniband/ulp/srpt/Kconfig"
  94. source "drivers/infiniband/ulp/iser/Kconfig"
  95. source "drivers/infiniband/ulp/isert/Kconfig"
  96. source "drivers/infiniband/ulp/opa_vnic/Kconfig"
  97. source "drivers/infiniband/sw/rdmavt/Kconfig"
  98. source "drivers/infiniband/sw/rxe/Kconfig"
  99. source "drivers/infiniband/hw/hfi1/Kconfig"
  100. source "drivers/infiniband/hw/qedr/Kconfig"
  101. source "drivers/infiniband/hw/bnxt_re/Kconfig"
  102. endif # INFINIBAND