blob: 18d10ebf900bfd2c5d8acc2a46aaf73de9b7559f [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
oulijun8793f772016-07-21 19:06:56 +08002config INFINIBAND_HNS
Arnd Bergmannd5b60e22019-10-07 23:18:08 +02003 tristate "HNS RoCE Driver"
oulijun8793f772016-07-21 19:06:56 +08004 depends on NET_VENDOR_HISILICON
Wei Hu(Xavier)08805fd2017-08-30 17:22:59 +08005 depends on ARM64 || (COMPILE_TEST && 64BIT)
Arnd Bergmannd5b60e22019-10-07 23:18:08 +02006 depends on (HNS_DSAF && HNS_ENET) || HNS3
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09007 help
oulijun8793f772016-07-21 19:06:56 +08008 This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
Wei Hu(Xavier)08805fd2017-08-30 17:22:59 +08009 is used in Hisilicon Hip06 and more further ICT SoC based on
10 platform device.
oulijun8793f772016-07-21 19:06:56 +080011
Arnd Bergmannd5b60e22019-10-07 23:18:08 +020012 To compile HIP06 or HIP08 driver as module, choose M here.
13
Wei Hu(Xavier)08805fd2017-08-30 17:22:59 +080014config INFINIBAND_HNS_HIP06
Arnd Bergmannd5b60e22019-10-07 23:18:08 +020015 bool "Hisilicon Hip06 Family RoCE support"
Wei Hu(Xavier)08805fd2017-08-30 17:22:59 +080016 depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET
Arnd Bergmannd5b60e22019-10-07 23:18:08 +020017 depends on INFINIBAND_HNS=m || (HNS_DSAF=y && HNS_ENET=y)
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090018 help
Wei Hu(Xavier)08805fd2017-08-30 17:22:59 +080019 RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
20 Hip07 SoC. These RoCE engines are platform devices.
21
Arnd Bergmannd5b60e22019-10-07 23:18:08 +020022 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)dd74282d2017-08-30 17:23:01 +080025config INFINIBAND_HNS_HIP08
Arnd Bergmannd5b60e22019-10-07 23:18:08 +020026 bool "Hisilicon Hip08 Family RoCE support"
Wei Hu(Xavier)dd74282d2017-08-30 17:23:01 +080027 depends on INFINIBAND_HNS && PCI && HNS3
Arnd Bergmannd5b60e22019-10-07 23:18:08 +020028 depends on INFINIBAND_HNS=m || HNS3=y
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090029 help
Wei Hu(Xavier)dd74282d2017-08-30 17:23:01 +080030 RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
31 The RoCE engine is a PCI device.
Arnd Bergmannd5b60e22019-10-07 23:18:08 +020032
33 To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
34 module will be called hns-roce-hw-v2.