Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
oulijun | 8793f77 | 2016-07-21 19:06:56 +0800 | [diff] [blame] | 2 | config INFINIBAND_HNS |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 3 | tristate "HNS RoCE Driver" |
oulijun | 8793f77 | 2016-07-21 19:06:56 +0800 | [diff] [blame] | 4 | depends on NET_VENDOR_HISILICON |
Wei Hu(Xavier) | 08805fd | 2017-08-30 17:22:59 +0800 | [diff] [blame] | 5 | depends on ARM64 || (COMPILE_TEST && 64BIT) |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 6 | depends on (HNS_DSAF && HNS_ENET) || HNS3 |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 7 | help |
oulijun | 8793f77 | 2016-07-21 19:06:56 +0800 | [diff] [blame] | 8 | This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine |
Wei Hu(Xavier) | 08805fd | 2017-08-30 17:22:59 +0800 | [diff] [blame] | 9 | is used in Hisilicon Hip06 and more further ICT SoC based on |
| 10 | platform device. |
oulijun | 8793f77 | 2016-07-21 19:06:56 +0800 | [diff] [blame] | 11 | |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 12 | To compile HIP06 or HIP08 driver as module, choose M here. |
| 13 | |
Wei Hu(Xavier) | 08805fd | 2017-08-30 17:22:59 +0800 | [diff] [blame] | 14 | config INFINIBAND_HNS_HIP06 |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 15 | bool "Hisilicon Hip06 Family RoCE support" |
Wei Hu(Xavier) | 08805fd | 2017-08-30 17:22:59 +0800 | [diff] [blame] | 16 | depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 17 | depends on INFINIBAND_HNS=m || (HNS_DSAF=y && HNS_ENET=y) |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 18 | help |
Wei Hu(Xavier) | 08805fd | 2017-08-30 17:22:59 +0800 | [diff] [blame] | 19 | RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and |
| 20 | Hip07 SoC. These RoCE engines are platform devices. |
| 21 | |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 22 | To compile this driver, choose Y here: if INFINIBAND_HNS is m, this |
| 23 | module will be called hns-roce-hw-v1 |
| 24 | |
Wei Hu(Xavier) | dd74282d | 2017-08-30 17:23:01 +0800 | [diff] [blame] | 25 | config INFINIBAND_HNS_HIP08 |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 26 | bool "Hisilicon Hip08 Family RoCE support" |
Wei Hu(Xavier) | dd74282d | 2017-08-30 17:23:01 +0800 | [diff] [blame] | 27 | depends on INFINIBAND_HNS && PCI && HNS3 |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 28 | depends on INFINIBAND_HNS=m || HNS3=y |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 29 | help |
Wei Hu(Xavier) | dd74282d | 2017-08-30 17:23:01 +0800 | [diff] [blame] | 30 | RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC. |
| 31 | The RoCE engine is a PCI device. |
Arnd Bergmann | d5b60e2 | 2019-10-07 23:18:08 +0200 | [diff] [blame] | 32 | |
| 33 | To compile this driver, choose Y here: if INFINIBAND_HNS is m, this |
| 34 | module will be called hns-roce-hw-v2. |