Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. select ANON_INODES
  26. ---help---
  27. Userspace InfiniBand access support. This enables the
  28. kernel side of userspace verbs and the userspace
  29. communication manager (CM). This allows userspace processes
  30. to set up connections and directly access InfiniBand
  31. hardware for fast-path operations. You will also need
  32. libibverbs, libibcm and a hardware driver library from
  33. rdma-core <https://github.com/linux-rdma/rdma-core>.
  34. config INFINIBAND_EXP_LEGACY_VERBS_NEW_UAPI
  35. bool "Allow experimental legacy verbs in new ioctl uAPI (EXPERIMENTAL)"
  36. depends on INFINIBAND_USER_ACCESS
  37. ---help---
  38. IOCTL based uAPI support for Infiniband is enabled by default for
  39. new verbs only. This allows userspace to invoke the IOCTL based uAPI
  40. for current legacy verbs too.
  41. config INFINIBAND_USER_MEM
  42. bool
  43. depends on INFINIBAND_USER_ACCESS != n
  44. depends on MMU
  45. default y
  46. config INFINIBAND_ON_DEMAND_PAGING
  47. bool "InfiniBand on-demand paging support"
  48. depends on INFINIBAND_USER_MEM
  49. select MMU_NOTIFIER
  50. default y
  51. ---help---
  52. On demand paging support for the InfiniBand subsystem.
  53. Together with driver support this allows registration of
  54. memory regions without pinning their pages, fetching the
  55. pages on demand instead.
  56. config INFINIBAND_ADDR_TRANS
  57. bool "RDMA/CM"
  58. depends on INFINIBAND
  59. default y
  60. ---help---
  61. Support for RDMA communication manager (CM).
  62. This allows for a generic connection abstraction over RDMA.
  63. config INFINIBAND_ADDR_TRANS_CONFIGFS
  64. bool
  65. depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m)
  66. default y
  67. ---help---
  68. ConfigFS support for RDMA communication manager (CM).
  69. This allows the user to config the default GID type that the CM
  70. uses for each device, when initiaing new connections.
  71. source "drivers/infiniband/hw/mthca/Kconfig"
  72. source "drivers/infiniband/hw/qib/Kconfig"
  73. source "drivers/infiniband/hw/cxgb3/Kconfig"
  74. source "drivers/infiniband/hw/cxgb4/Kconfig"
  75. source "drivers/infiniband/hw/i40iw/Kconfig"
  76. source "drivers/infiniband/hw/mlx4/Kconfig"
  77. source "drivers/infiniband/hw/mlx5/Kconfig"
  78. source "drivers/infiniband/hw/nes/Kconfig"
  79. source "drivers/infiniband/hw/ocrdma/Kconfig"
  80. source "drivers/infiniband/hw/vmw_pvrdma/Kconfig"
  81. source "drivers/infiniband/hw/usnic/Kconfig"
  82. source "drivers/infiniband/hw/hns/Kconfig"
  83. source "drivers/infiniband/ulp/ipoib/Kconfig"
  84. source "drivers/infiniband/ulp/srp/Kconfig"
  85. source "drivers/infiniband/ulp/srpt/Kconfig"
  86. source "drivers/infiniband/ulp/iser/Kconfig"
  87. source "drivers/infiniband/ulp/isert/Kconfig"
  88. source "drivers/infiniband/ulp/opa_vnic/Kconfig"
  89. source "drivers/infiniband/sw/rdmavt/Kconfig"
  90. source "drivers/infiniband/sw/rxe/Kconfig"
  91. source "drivers/infiniband/hw/hfi1/Kconfig"
  92. source "drivers/infiniband/hw/qedr/Kconfig"
  93. source "drivers/infiniband/hw/bnxt_re/Kconfig"
  94. endif # INFINIBAND